As our first example we want to offer the user a pushbutton that displays a given list. The normal steps used to display the list (e.g. calling up transaction SA38, entering a given report-name, pressing F8, entering a given selection, pressing F8) are defined by means of an InputScript which is then started (whenever we want) by means of a pushbutton all its own. | ||||
If desired, you can also:
These three extras are explained in later tutorials. Here we set out the simplest case. | ||||
Layout of the procedure
Switch on the Recording-Function in GuiXT
Perform all steps manually
Display recorded script
Save the recorded script under a name of your choice e.g. “matlist1.txt”. In the GuiXT script on the screen in which you wish to offer the user the new button. Now add the instruction Pushbutton (2,1) “Materials Plant London” process=”matlist1.txt” Should you wish to add the pushbutton to the initial screen of the SAP-Systems, you must make room, e.g. by slightly shifting the navigation menu, thus: pos X[IMAGE_CONTAINER] X[IMAGE_CONTAINER]+(0,30)
By simply clicking the new button the user can display the required list
By clicking “e Tip: Explanations on how to work with InputScripts are to be found in our Documentation under InputScripts. | ||||