<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: problem with menu painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308521#M1224086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in standard transaction i have to add this button,can u give me an idea in detail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2009 11:27:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-10T11:27:12Z</dc:date>
    <item>
      <title>problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308519#M1224084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Every Body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one screen ,in that Screen in Application Tool bar i need  to add one more Pushbutton.&lt;/P&gt;&lt;P&gt;IF i am clicking on that push button i have to go specific transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right know what i am doing is when i got initial screen,i am checking system status,there i am able to find GUI Status if i am double clicking that GUI,it shows menupainter.here how can i add pushbutton and then i have to assign specific transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body help me to know exactly how it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308519#M1224084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T11:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308520#M1224085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add button and handle it using user command in grid display&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308520#M1224085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308521#M1224086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in standard transaction i have to add this button,can u give me an idea in detail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308521#M1224086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T11:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308522#M1224087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In tcode SE41&lt;/P&gt;&lt;P&gt;goto application toolbar and give the Fcodes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In AT USER_COMMAND.&lt;/P&gt;&lt;P&gt;when FCODE.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION&amp;lt;transname&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308522#M1224087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308523#M1224088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se41 --&amp;gt; menu painter and click on application toolbar..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  --&amp;gt; add the tool bar which you need ---&amp;gt;the capital letter words are nothing but Function codes , and ---&amp;gt;small letter ones are text which appear in application tool bar...&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;Example:---                                                                        &lt;/P&gt;&lt;P&gt;Application Toolbar            Gui Status for screen 3000                                                                                &lt;/P&gt;&lt;P&gt;Items  1 -  7            SAVE       PREV       NEXT       UNDO       OTHER    SE16&lt;/P&gt;&lt;P&gt;                              Save       Previo     Next R     Undo R     Other            databrow&lt;/P&gt;&lt;P&gt;                                                                                code in PAI:--&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'PREV'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 1010.&lt;/P&gt;&lt;P&gt;    WHEN 'SE16'.&lt;/P&gt;&lt;P&gt;      call transaction SE16.&lt;/P&gt;&lt;P&gt;    when  others.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308523#M1224088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T11:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308524#M1224089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't assign transaction to certain button. Instead you have to assing &lt;EM&gt;function code&lt;/EM&gt; to certain &lt;EM&gt;function key&lt;/EM&gt; , then use that &lt;EM&gt;function key&lt;/EM&gt; to create your button. Each time you press your button in PAI module of your screen you will have to check if system variable &lt;STRONG&gt;sy-ucomm&lt;/STRONG&gt; contains your &lt;EM&gt;function code&lt;/EM&gt; . If so then you call the trasnaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create the above do the following:&lt;/P&gt;&lt;P&gt;- In menu painter expand node &lt;EM&gt;Function keys&lt;/EM&gt;. Here, for any of the function key i.e. F5 type &lt;EM&gt;function code&lt;/EM&gt; of your choice i.e. &lt;STRONG&gt;MY_FCODE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;- Double click it and maintain its attributes like icon, text etc&lt;/P&gt;&lt;P&gt;- Now as you defined function key, assing it to some button. To do this, expand node &lt;EM&gt;Application toolbar&lt;/EM&gt; and type your function code to any of the item. Function key will be copied to this button.&lt;/P&gt;&lt;P&gt;- Activate your status&lt;/P&gt;&lt;P&gt;- In screen flow logic use PAI to handle your action on the screen&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS AFTER INPUT.
   MODULE my_pai_module.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;- In program create respective &lt;STRONG&gt;my_pai_module&lt;/STRONG&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE my_pain_module INPUT.
    if sy-ucomm = 'MY_FCODE'.       "here you simply check wheter you press your button
       CALL TRANSACTION ...
    endif.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sy-ucomm&lt;/STRONG&gt; is usally replaced with &lt;STRONG&gt;ok_code&lt;/STRONG&gt; data object (and "invisible" screen field) in order to avoid missing data when calling sequence of screens. For more information refer [this|http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dbaa1335c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 11:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308524#M1224089</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-03-10T11:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308525#M1224090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot assign some buttons in the standard transaction unless you have the access key...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Standard transaction cannot be editted.. If you are not allowed to use access key, you can search if there exists any USER EXIT or BADI available for that Transaction...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can continue adding your required things..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 12:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308525#M1224090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T12:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308526#M1224091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt; Create your own Menu  from Transaction SE41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then write the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)REPORT  &lt;STRONG&gt;ZSAR_MENU_CALL_T&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2) SET PF-STATUS 'ZSTANDARD'.&lt;/P&gt;&lt;P&gt; WRITE: /'TEST'.&lt;/P&gt;&lt;P&gt; AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm .&lt;/P&gt;&lt;P&gt;    WHEN 'TR'.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'VA01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SE41, give the program name that is at line 1. before doing so just create the program in SE38 and activate it. you have nothing to do more than that.&lt;/P&gt;&lt;P&gt;in SE41 ,give the name of status specified in line 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; just expand the Application Toolbar node  put &lt;STRONG&gt;TR&lt;/STRONG&gt; in any one cell and double click it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write function text, info text and reaction = display and give a function key as u wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write the above code in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u get the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sarbajit Majumdar on Mar 12, 2009 9:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 14:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308526#M1224091</guid>
      <dc:creator>sarbajitm</dc:creator>
      <dc:date>2009-03-10T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308527#M1224092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhar,&lt;/P&gt;&lt;P&gt;are you still watching the thread? have not got your answer? If you get your answer then please mark the thread as &lt;STRONG&gt;answerd&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarbajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 06:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308527#M1224092</guid>
      <dc:creator>sarbajitm</dc:creator>
      <dc:date>2009-03-16T06:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem with menu painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308528#M1224093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhar,&lt;/P&gt;&lt;P&gt;are you still watching the thread? have not got your answer? If you get your answer then please mark the thread as &lt;STRONG&gt;answered&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 13:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-menu-painter/m-p/5308528#M1224093</guid>
      <dc:creator>sarbajitm</dc:creator>
      <dc:date>2009-03-18T13:20:46Z</dc:date>
    </item>
  </channel>
</rss>

