Tutorial Viewer Généralités 1 2 3 Visualiser des fichiers rtf avec des variables 4 5 6 7 Continuer
GuiXT Viewer can be used to display textfiles in rtf format.
You can use GuiXT variables to display R/3 values within the rtf file and thus create a completely new screen for your R/3 transaction.

At first sight it is rather difficult to find all the relevant data for the selected customer. For example, you have to scroll through the address table to find telephone and fax number at the bottom of the table. It would be convenient to have all the data nicely formatted at one glance.

This can be done by using GuiXT viewer to  insert a rtf or html file as a template and displaying the data via GuiXT variables.

SAP R/3 screen FO37 to display customer data
vte03-fd03-02.gif (16147 bytes)

Here the customer data are displayed by a rtf file. You can freely choose fonts and font sizes and format your text. This makes your R/3 screen better legible.

vte03-fd03-05-rtf.gif (7670 bytes)

You first delete all the original screenelements and replace them by a rtf file as a template. Your GuiXT script looks as follows:

vte03-fd03-04-script.gif (2994 bytes)

The corresponding rtf file customer.rtf.

You use GuiXT variables with fieldnames and/or coordinates. The variables will be replaced at runtime by the input values of the current screen.

Look at your GuiXT screen elements window to find the position of the input values you want to display.

vte03-fd03-05-rtf-file.gif (3013 bytes)

If you prefer to keep the original R/3 screen and to display customer data in an additional window you can use the view command with the "-floating" option. The rtf file is then displayed in a separate window which can be closed and moved as any other window on the screen.

vte03-fd03-06-rtf-float.gif (18521 bytes)

The GuiXt script with the "-floating" option is rather simple:

vte03-fd03-04-scriptfloat.gif (2744 bytes)

 Continue