| Purpose | With PushButton you can create your own pushbuttons within an SAP screen or within the toolbar. You can make both the menu functions and the navigation to other transactions directly accessible with your own pushbuttons. | ||||||||||||||
|
Examples
Further examples |
PushButton (10,50) "Split Screen Editor" "SCMP" You create a pushbutton at row 10, column 50 with text Split Screen Editor. Clicking on the button invokes the internal code SCMP which then starts the Split Screen Editor. |
||||||||||||||
| Internal codes | How do I
find the internal codes? Choose the desired function in the transaction menu and press F1 while the mouse cursor points to this function. Now the SAP system displays the internal function code in a pop-up window |
||||||||||||||
| Format |
|
||||||||||||||
| Icon and quickinfo | You can
also display an icon and a quickinfo. Use the following SAP notation: PushButton (position) "@id\Qquickinfo@text" Here
id
is the short name of an SAP icon,
quickinfo
is the quickinfo string
and text
is the pushbutton text. You will find a list of all SAP icons in transaction
ICON, and a list of all icon short names in the ABAP program <ICON> (Transaction
SE38, enter the program name <ICON> and press the Display button).
Example: PushButton
(10,50)
"@3G\QInvoke
the Split Screen Editor@ |
||||||||||||||
| Options |
|
||||||||||||||
| Hints |
|
||||||||||||||
| Tips & Tricks | |||||||||||||||
| Components | GuiXT |