Task description

Solution

Sample code, images Restrictions, R/3 Release, Sapgui version, GuiXT version
21 Displaying dynamic internet information 

When you display www pages within SAP screens (Viewer component), you can also insert variables into the the URL: either SAP field values or your own entry fields or InputScript variables. For example, you can display the current shipment status, based on an external tracking number:

Sap Guixt sample021.01 Displaying dynamic internet information 

The following sample script demonstrates the technique: 

Box (2,0) (17,84) “Display Shipping State”
InputField (3,1) “Tracking Number” (3,20) size=20 name=”TrackingNumber”

if V[TrackingNumber]
  View (5,1) (16,82) 
“http://www.us.chronopost.com/web/en/tracking/suivi_inter.jsp?listeNumeros=&V[TrackingNumber]“
endif

 Last update: March 30, 2004 Viewer

InputAssistant

Displaying dynamic internet information