Gehören sie zu den frühen Anwendern vom neuen SAP S4 HANA und haben in Ihrem SAPGUI das Belize-Theme eingestellt (Standard in S4 HANA). Dann werden sie vielleicht die Drucktasten (mit oder Icone) in der Toolbar vermissen?
In der neuesten GuiXT Version (2018 Q3 3) ist es möglich, gewisse Drucktasten und auch Iconen wieder darzustellen.
Über folgende Scripte haben wir 5 Iconen wieder hergestellt:
Session.txt
ProcessingOption defaultScript="Buttons_Fiori.txt"
Buttons_Fiori.txt
if not Q[Popup] if V[_sapgui_fiori=X] // Enter Taste Pushbutton (Toolbar) "@0V\QWeiter@" "/00" group="A+" -noFunctionKey // Speichern Button if P[/11] del P[/11] endif Getfieldattribute P[/11] protected="protected" buttontext="BUTTONTEXT" buttontooltip="BUTTONTOOLTIP" if Q[ok] and not V[protected=X] if not V[BUTTONTOOLTIP] Set V[BUTTONTOOLTIP] "&V[BUTTONTEXT]" endif Pushbutton (Toolbar) "@2L\Q&V[BUTTONTOOLTIP]@" "/11" "F11" group="A+" else Pushbutton (Toolbar) "@2L@" "/11" "F11" group="A+" -disabled endif // Zurück if P[/3] del P[/3] endif Getfieldattribute P[/3] protected="protected" buttontext="BUTTONTEXT" buttontooltip="BUTTONTOOLTIP" if Q[ok] and not V[protected=X] if not V[BUTTONTOOLTIP] Set V[BUTTONTOOLTIP] "&V[BUTTONTEXT]" endif Pushbutton (Toolbar) "@23\Q&V[BUTTONTOOLTIP]@" "/3" "F3" group="A+" else Pushbutton (Toolbar) "@23@" "/3" "F3" group="A+" -disabled endif // Beenden if P[/15] del P[/15] endif Getfieldattribute P[/15] protected="protected" buttontext="BUTTONTEXT" buttontooltip="BUTTONTOOLTIP" if Q[ok] and not V[protected=X] if not V[BUTTONTOOLTIP] Set V[BUTTONTOOLTIP] "&V[BUTTONTEXT]" endif Pushbutton (Toolbar) "@2N\Q&V[BUTTONTOOLTIP]@" "/15" "F15" group="A+" else Pushbutton (Toolbar) "@2N@" "/15" "F15" group="A+" -disabled endif // Abbrechen if P[/12] del P[/12] endif Getfieldattribute P[/12] protected="protected" buttontext="BUTTONTEXT" buttontooltip="BUTTONTOOLTIP" if not V[BUTTONTOOLTIP] Set V[BUTTONTOOLTIP] "&V[BUTTONTEXT]" endif if Q[ok] and not V[protected=X] Pushbutton (Toolbar) "@2O\Q&V[BUTTONTOOLTIP]@" "/12" "F12" group="A+" else Pushbutton (Toolbar) "@2O@" "/12" "F12" group="A+" -disabled endif // Ausführen if P[/8] del P[/8] endif Getfieldattribute P[/8] protected="protected" buttontext="BUTTONTEXT" buttontooltip="BUTTONTOOLTIP" // Nur bei explizitem Ausführen und nicht bei sonstigen F8 if not V[BUTTONTOOLTIP] Set V[BUTTONTOOLTIP] "&V[BUTTONTEXT]" endif if ( V[BUTTONTOOLTIP=Ausführen] or V[BUTTONTOOLTIP=Exécuter] or V[BUTTONTOOLTIP=Eguire] ) and not V[_guiprogram=SAPLSMTR_NAVIGATION] if Q[ok] and not V[protected=X] Pushbutton (Toolbar) "@15\Q&V[BUTTONTOOLTIP]@" "/8" "F8" group="A+" else Pushbutton (Toolbar) "@15@" "/8" "F8" group="A+" -disabled endif endif endif // Fiori Modus endif // Kein Pop-Up Falls sie mehr Informationen zu den Möglichkeiten bezüglich Drucktasten im Belize-Theme erfahren möchten, empfehle ich Ihnen den folgenden Tipp & Trick der Synactive GmbH zu lesen. Zu finden unter www.synactive.com ->Support->Dokumentation->Tipps&Tricks->Screenlayout->Optimize the toolbar in fiori theme