Giving Some Life to SAP Menu Screen SCN

9
Getting Started Newsletters Store Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of Business University Alliances Events & Webinars Innovation Login Register Welcome, Guest Search the Community Activity Communications Actions Browse More documents in SAP GUI created by joan mas on Nov 12, 2013 7:48 AM, last modified by joan mas on Nov 25, 2013 7:46 AM Time ago, I decided to look for a way to add some life and additional functionalities to my personal boring menu screen... Wait! This not another document on how change background colours or image on the right upper... And after some work, I wanted to share with you the results and how-to. Let’s have a look at the differences: Block 1: added pushbuttons in toolbar to exit SAP and navigate to SPRO in a new session. Block 2: added gifs in application bar with different functionalities: navigate to Accuweather and to Google Maps, execute: MS Word, SAP general menu and SAP logistics menu, send an email by outlook and navigate to Google and to SCN. Block 3: added gifs in menu area with different functionalities: navigate to gmail, to SAP Giving some life to SAP menu screen Share Share Register Register Login to follow, like, comment, share and bookmark content. Login Login Actions Actions Incoming Links Incoming Links Giving some life to SAP menu screen Part II Version 1 Giving some life to SAP menu screen | SCN 05/12/13 http://scn.sap.com/docs/DOC-48796 1 / 9

Transcript of Giving Some Life to SAP Menu Screen SCN

  • Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Industries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Login RegisterWelcome, Guest Search the Community

    Activity Communications Actions

    Browse

    More documents in SAP GUI

    created by joan mas on Nov 12, 2013 7:48 AM, last modified by joan mas on Nov 25, 2013 7:46 AM

    Time ago, I decided to look for a way to add some life and additional functionalities to mypersonal boring menu screen... Wait!This not another document on how change background colours or image on the right upper...

    And after some work, I wanted to share with you the results and how-to.

    Lets have a look at the differences: Block 1: added pushbuttons in toolbar to exit SAP and navigate to SPRO in a new session. Block 2: added gifs in application bar with different functionalities: navigate to Accuweatherand to Google Maps, execute:MS Word, SAP general menu and SAP logistics menu, send an email by outlook andnavigate to Google and to SCN. Block 3: added gifs in menu area with different functionalities: navigate to gmail, to SAP

    Giving some life to SAP menu screenShareShare

    RegisterRegister

    Login to follow, like, comment, share andbookmark content.

    LoginLogin

    ActionsActions

    Incoming LinksIncoming Links

    Giving some life to SAP menu screen Part II

    Version 1

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 1 / 9

  • business workplace, to SPRO,to Google and to SAP help portal, execute: SAP logistics menu, SAP financial menu, SAPworkbench menu, SAP systems menu and SAP general menu. Block 4 and Block 5: added a specific icon by client and descriptive text displayed in titlebar on status bar to distinguish visually the client and transaction were working with. This willhelp to avoid committing mistakes when working with different clients and sessions in a smartway. Icon is only displayed in status bar. Of course youll be able to add/remove pushbuttons, gifs and icons and adjust functionalitiesas you like after reading this document. Interested? Great, that means youll keep reading this document... Steps 1-Create the following directory: C:\guixt\scripts. This is where our scripts will be stored bydefault. A script is a file that contains sentences to execute things. We dont need to haveprogramming skills for this script. 2- Open notepad editor, copy & paste the script at the end of the document and save it as saplsmtr_navigation.0100.txt in C:\guixt\scripts and close it. 3-Icon and gifs. Download from http://ge.tt/1ngALYy to C:\guixt\scripts (download available fornext 30 days). Alternatively you can create/use your own (change name of them in script ifneeded). 4- Activate GuiXT in our laptop & desktop. By doing so, script will be executed when creatinga new session or after new login. This script is run locally in our laptop/desktop. 5- Test & Enjoy Activating/Deactivating GuiXT We need to use GuiXT, software developed by Synactive and available for free, with limitedfunctionality. To use it, we need to activate it locally in our desktop/laptop. To activate/deactivate, just click on customize local layout icon and click on Activate:

    Once activated, minimize Guixt screen and at the bottom of our screen, a GuiXT iconbecomes available

    Now we click on GuiXT icon and select Edit, Profile and tic on No language key in scriptname in further options block. In that way, the scripts we create are non language dependant.We click on Ok button and minimize GuiXT screen.

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 2 / 9

  • Log out from SAP. Next time you log in, you should notice changes in your screen...Butbefore, lets keep reading. Understanding this script You can comment any sentence by setting at the beginning of it these two symbols \\ and itwont be executed. The script is divided into blocks that correspond with the blocks shown in the screenshot atthe beginning of the document for better understanding. Block 1: sentences executed here are similar of those executed in command field. Block 2: sentences with start means that when clicking on a image (gif) system will startexecute something (navigation on internet, execution of an executable...) when sentencestarts with Input, is similar to using command field but thru an image. You need to adjust the sentence mailto and set proper TO email. Block 3: same as Block 2. Sentence POS will shift SAP menu downwards 2 lines. Block 4 & 5: according to client number, we use a specific icon and a text that contains twosystem variables (_client and _transaction). You need to replace client number by yours. Its not the goal of this document explain in detail syntax of the sentences in the script. Youcan find in Internet GuiXT documentation on syntax and keywords for further details. Logon and test it Log on and your screen should have a new look. Try different functionalities. If you want toknow which functionally has every image, just click on GuiXT button and read the script wevecopied and once done, minimize GuiXT screen (if you close it by mistake, youll have tologout and login). If no GuiXT is displayed, check directory and script names and if GuiXT is activated. Errors If GuiXT icon is red

    it means that there is an error in our script. If this happens, we click on GuiXT icon and aGuiXT window will open, containing our script and showing the error. We click on Edit, Scriptand notepad opens the script for us to modify.

    Once we correct the sentence, we can save (file, save) and exit editor (file, exit) and finally

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 3 / 9

  • minimize GuiXT screen. We open a new session to check the results (GuiXT icon in this newsession should not be red, otherwise theres still an issue and we have to repeat the processof editing the script and looking for the issue). This process (clicking in the GuiXT icon andedit & save & exit notepad) can also be used to update the script on the fly and see theresults immediately. Remember to close editor (not GuiXT! If you close it, youll need to logoutand logon) if youre modifying on the fly to avoid having several scripts opened simultaneouslywith the risk of overwriting the script depending on the order youll close them. Graphics In block 1, SAP icons can be found with tcode RSTXICON (select Icons as Abap list and usevalues in column code. In the script the value must be between @s). In block 2 and 3 we can use images with extension bmp, gif or jpg. Size of gifs used in block2 must be 18x18, while for block 3, they can we bigger, I used 34x34. In block 4 we must use images with extension ico. Size I used is 32x32. Gifs and icons come from free to use websites or created by myself. Finally To avoid someone updating the script, once it works fine, we can hide GuiXT icon. To do it,we click on GuiXT icon and select Edit,Profile:

    And in start window, select Hidden instead of normal.

    If you need GuiXT icon back, execute guixt.exe visible in C:\ProgramFiles\SAP\FrontEnd\SAPgui. It will be visible till you log off. If you want it visible permanently,update the profile and in start window area set normal. Stop using GuiXT If you decide to stop using GuiXT, deactivate Sap GuiXT as we saw at the beginning of thedocument. If you dont want to use a script, rename or delete it. Script. Copy & paste below sentences and change client number and mailto email asexplained in step 2 //// Start script//

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 4 / 9

  • // Block 1 pushbutton (toolbar) "@VB@bye bye" "/nend"pushbutton (toolbar) "@OJ@SPRO" "/ospro" // Block 2 in tool bar gif size 18x18 image (toolbar) "C:\GuiXT\Scripts\jscn_18x18_1.gif" Start="http://scn.sap.com/welcome\"image (toolbar) "C:\GuiXT\Scripts\google18x18.gif" Start="http:\\www.google.com\"image (toolbar) "c:\guixt\scripts\mail_18x18_1.gif" start="mailto: [email protected]?subject=Some issues in system &V[_client]&body=Hello, "image (toolbar) "C:\GuiXT\Scripts\menu18x18_log.gif" "Input=OK:/ns000_lo"image (toolbar) "C:\GuiXT\Scripts\menu18x18.gif" "Input=OK:/ns000"image (toolbar) "C:\GuiXT\Scripts\word18x18.gif" Start="C:\Program Files\MicrosoftOffice\Office12\winword.exe"image (toolbar) "C:\GuiXT\Scripts\maps18x18.gif" Start="http:\\maps.google.com\"image (toolbar) "C:\GuiXT\Scripts\weather18x18.gif" Start="http://www.accuweather.com/" // Block 3 in Menu Area gif size 34x34 Images horizontal pos X[image_container] X[image_container]+(2,0) image (0.1,0.1) (1,3) "C:\GuiXT\Scripts\gmail234x34.gif" Start="http:\\www.gmail.com\"image (0.1,5.1) (1,8) "C:\GuiXT\Scripts\sms34x34.gif" "Input=OK:sbwp"image (0.1,10.1) (1,13) "C:\GuiXT\Scripts\custo34x34.gif" "Input=OK:spro"image (0.1,15.1) (1,18) "C:\GuiXT\Scripts\google34x34.gif" Start="http:\\www.google.com\"image (0.1,20.1) (1,23) "C:\GuiXT\Scripts\sap34x34.gif" Start="http:\\help.sap.com\"image (0.1,25.1) (1,28) "C:\GuiXT\Scripts\Logistics34x34.gif" "Input=OK:s000_lo"image (0.1,30.1) (1,33) "C:\GuiXT\Scripts\Finance34x34.gif" "Input=OK:s000_fi"image (0.1,35.1) (1,38) "C:\GuiXT\Scripts\Workbench34X34.gif" "Input=OK:s001"image (0.1,40.1) (1,43) "C:\GuiXT\Scripts\System34x34.gif" "Input=OK:s002"image (0.1,45.1) (1,48) "C:\GuiXT\Scripts\General34x34.gif" "Input=OK:s000" // Block 3.A in Menu Area gif size 18x18 Images vertical //pos X[image_container] X[image_container]+(0,5)//image (0,0) "C:\GuiXT\Scripts\gmail18x18Alt.gif" Start="http:\\www.gmail.com\"//image (1,0) "C:\GuiXT\Scripts\sms18x18Alt.gif" "Input=OK:sbwp"//image (2,0) "C:\GuiXT\Scripts\custo18x18Alt.gif" "Input=OK:spro"//image (3,0) "C:\GuiXT\Scripts\google18x18Alt.gif" Start="http:\\www.google.com\"//image (4,0) "C:\GuiXT\Scripts\sap18x18Alt.gif" Start="http:\\help.sap.com\"//image (5,0) "C:\GuiXT\Scripts\Logistics18x18Alt.gif" "Input=OK:s000_lo"//image (6,0) "C:\GuiXT\Scripts\Finance18x18Alt.gif" "Input=OK:s000_fi"//image (7,0) "C:\GuiXT\Scripts\Workbench18X18Alt.gif" "Input=OK:s001"//image (8,0) "C:\GuiXT\Scripts\System18x18Alt.gif" "Input=OK:s002"//image (9,0) "C:\GuiXT\Scripts\General18x18Alt.gif" "Input=OK:s000" // Block 4 & 5 SET V[var1] "&" if Q[client=500]Icon "C:\guixt\scripts\social_aim.ico"TitlePrefix "Client IDES &[_client]:&V[var1]V[_transaction]"endif // Adjust yourself for rest of your clients by removing // and using client and proper icon name // if Q[client=xxx]// Icon "C:\GuiXT\Scripts\social_evernote.ico"// TitlePrefix "Client IDES &[_client]:&V[var1]V[_transaction]"// endif // if Q[client=xxx]// Icon "C:\GuiXT\Scripts\social_twitter_bird.ico"// TitlePrefix "Client IDES &[_client]:&V[var1]V[_transaction]"// endif

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 5 / 9

  • Average User Rating

    (8 ratings)

    2LikeLike 2LikeLike

    // if Q[client=xxx]// Icon "C:\GuiXT\Scripts\social_apple.ico"// TitlePrefix "Client IDES &[_client]:&V[var1]V[_transaction]"// endif // End script A variant You might prefer not having menu shifted downwards. We can set icons vertically on left sideand shift menu rightwards. In that case, I recommend reduce size from 34x34 to 18x18 orless.

    The only thing that we have to do is modify our script, commenting (//) block 3 and un-commenting block 3.A. Last comment Youll notice that when creating a new session, added gifs in application bar shift leftwards.Opening a menu or executing a tcode in command field will set them to their original place. Enjoy! Regards,JM

    404 Views Tags: sap, menu, script, guixt

    ShareShare TweetTweet 2

    21 Comments

    Like (0)

    Narendra Konnipati Nov 12, 2013 12:13 PM

    Hi JM, You are doing wonderful job ,especially in this case.Actually,a long time back ,I have activated Guixtafter activation I got one screen shot ad I really dont know what to do with that screen shot but now atleast I learned some thing with your post. I have small doubt in this case,If we want to modify the sap screen shot ,do we need sap licence inthis case ? I will try once again this in my system. Thansk,Naren

    joan mas Nov 12, 2013 12:44 PM (in response to Narendra Konnipati)

    Thanks Narendra for your comments. No, we don't need to buy any license in this case. Sentences used in the script are fullyavailable. Regards,JM

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 6 / 9

  • Like (0)

    Like (0)

    ' MoazzaM ' Nov 12, 2013 12:31 PM

    Great work and I liked the way you have presented this. Thank you for sharing this knowledge. Thank$

    Like (1)

    joan mas Nov 12, 2013 12:45 PM (in response to ' MoazzaM ')

    Thanks MoazzaM for your comments. Regards,JM

    Like (0)

    Suman Sardar Nov 12, 2013 3:38 PM

    Nice to know such thing.Thanks for sharing.

    Like (0)

    joan mas Nov 12, 2013 5:39 PM (in response to Suman Sardar)

    Welcomed Regards,JM

    Like (0)

    Srinu S Nov 12, 2013 7:13 PM

    Very nice blog.

    Like (0)

    joan mas Nov 13, 2013 7:45 AM (in response to Srinu S)

    Thanks, Regards,JM

    Like (0)

    OD Manikandan Nov 13, 2013 8:12 AM

    Very nice, Hearty congrats and Thanks for teaching us. Regards,OD

    Like (0)

    joan mas Nov 13, 2013 1:09 PM (in response to OD Manikandan)

    Thanks, Regards,Jm

    Like (0)

    * Ammarah * Nov 13, 2013 9:19 AM

    joan mas, very nice. The best part of it is the subject i.e. giving life to SAP Menu Screen

    Like (0)

    joan mas Nov 13, 2013 1:09 PM (in response to * Ammarah *)

    Thanks Ammarah, Regards,JM

    Like (0)

    SAP User Nov 13, 2013 3:51 PM

    Thank you. It is very nice.I have one question. Can i show the system along with client? I have 3 systems (DV,QAT, QAC etc)using same client. It would be better if i can show system also along with cleint. ThanksVenkat

    SAP User Nov 13, 2013 4:04 PM (in response to SAP User)

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 7 / 9

  • Like (0)

    Never mind. I found the variable. In this way you need not hard code any thing. TitlePrefix "Client &V[_database] : &[_client]:&V[var1]V[_transaction]"

    Like (0)

    joan mas Nov 14, 2013 7:29 AM (in response to SAP User)

    Hi Sap User, great! Happy to see you've beginning to adjust it to your needs. Regards,JM

    Like (0)

    Anwer Suleman Nov 14, 2013 5:40 AM

    Nice Work, Also the explanation and presentation was very clear. Keep up the good work. Love tosee some more.

    Like (0)

    Anwer Suleman Nov 14, 2013 5:41 AM

    Very Nice I must Insist. Again !.

    Like (0)

    joan mas Nov 14, 2013 7:30 AM (in response to Anwer Suleman)

    Thanks Anwer for your comments, Regards,JM

    Like (0)

    Jyoti Prakash Nov 25, 2013 7:49 AM

    Document moved to SCN space for SAP GUI from http://scn.sap.com/community/erp/sd Best Wishes, JP

    Like (0)

    Daniel Mead Nov 25, 2013 8:25 PM

    I can get any piece of this to work? Running Windows 7 64-bit and SAP GUI 7.30 core patch 6 Hotfix2. Just taking baby steps, trying to get the first par to work. Activated GuiXt /Start script// Block 1 pushbutton (toolbar) "@VB@bye bye" "/nend"pushbutton (toolbar) "@OJ@SPRO" "/ospro" Block 2 in tool bar gif size 18x18 image (toolbar) "C:\GuiXT\Scripts\jscn_18x18_1.gif" Start="http://scn.sap.com/welcome\"image (toolbar) "C:\GuiXT\Scripts\google18x18.gif" Start="http:\\www.google.com\"image (toolbar) "c:\guixt\scripts\mail_18x18_1.gif" start=" mailto:[email protected]?subject=Some issues in system&V[_client]&body=Hello, "image (toolbar) "C:\GuiXT\Scripts\menu18x18_log.gif" "Input=OK:/ns000_lo"image (toolbar) "C:\GuiXT\Scripts\menu18x18.gif" "Input=OK:/ns000"image (toolbar) "C:\GuiXT\Scripts\word18x18.gif" Start="C:\Program Files (x86)\MicrosoftOffice\Office14\winword.exe"image (toolbar) "C:\GuiXT\Scripts\maps18x18.gif" Start="http:\\maps.google.com\"image (toolbar) "C:\GuiXT\Scripts\weather18x18.gif" Start="http://www.accuweather.com/"

    Like (0)

    joan mas Nov 25, 2013 8:35 PM (in response to Daniel Mead)

    Hi Daniel, reason to write this document is to share with others. You can use any part of it. It should work with your configuration. Regards,JM

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 8 / 9

  • Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

    Giving some life to SAP menu screen | SCN 05/12/13

    http://scn.sap.com/docs/DOC-48796 9 / 9

    ActionsGiving some life to SAP menu screenIncoming LinksComments