Viewer Tutorial General topics 1 2 R/3 actions from HTML 3 4 5 6 7 Continue

GuiXT Viewer enables communication between html files and R/3.
You can put values into R/3 inputfields, call up actions (e.g. go to next transaction screen) and so on.

With one mouse click on the Glasgow building you can put the appropriate values into R/3 inputfields Business entity and Building.
This is done with a special hyperlink URL SAP://, as shown below.

SAP R/3 screen FO37 with html display

The images within your html file are linked to R/3 via URL SAP://. You simply name the inputfields and fill in the required values.

This is easily done with a development tool such as Frontpage (used here), Frontpage Express, etc.

Tip: If you add an alternative text with inputfields and values, this is shown on mouseover in your html display and thus makes the action transparent for the user.

MS Frontpage Image Properties window

 
html code:

<tr>
<td><a href="
SAP://Business%20entity:1;Building:3;OK"><img src="glasgow.jpg"
alt="SAP://Business entity:1;Building:3;OK" border="0" width="103" height="108"></a></td>
<td><a href="
SAP://Business%20entity:1;Building:4;OK"><img src="manchester.jpg"
alt="SAP://Business entity:1;Building:4;OK" border="0" width="99" height="106"></a></td>
</tr>

GuiXT script:

view (0,27) (15,90) "real estate table.html"

You can completely replace your R/3 screen by an html file. In this example we have created an html file with frames. Top left you see the navigation frame allowing you to select the required city. This is useful if your company operates from or deals with a large number of geographic sites.

The images in the main frame are related to R/3 in the same way as in the example above. Data input is done exclusively by mouse click.

SAP R/3 screen FO37 with html display replacing the original screen elements

The GuiXT script is child's play: You delete the three input fields that are no longer needed, set a default value for input field company code and display file real estate.html with the view command.

del F[Building]
del F[Business entity]
del F[Company code]

default F[Company code] "1000"

view
(0,0) (40,80) "real estate table.html"

 Continue