<?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: Pushbutton - Function Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740626#M900354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A tricky solution: make a small table control with one column  in which your two pushbutton will be there.&lt;/P&gt;&lt;P&gt;then you will come to know the button on which, user has clicked by the FM - DYNP_GET_STEPL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can write your code to perform requied thing accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yogesh Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2008 21:19:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-28T21:19:16Z</dc:date>
    <item>
      <title>Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740625#M900353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a situation where I had no choice(Enhancment QQMA0001 - Screen 0140) but to assign two PUSHBUTTON's same function code and need to points to different screens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to have a way to see which one is clicked and then call correspoding screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 20:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740625#M900353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T20:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740626#M900354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A tricky solution: make a small table control with one column  in which your two pushbutton will be there.&lt;/P&gt;&lt;P&gt;then you will come to know the button on which, user has clicked by the FM - DYNP_GET_STEPL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can write your code to perform requied thing accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yogesh Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 21:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740626#M900354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T21:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740627#M900355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this function code captured in your code or SAP standard code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide more details, ma be we can help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 21:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740627#M900355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T21:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740628#M900356</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;SAP had defined only 3-4 Function codes to be used in the Enhancement object , which I had already Used . Now due to business needs I need to create more screens which will be called based on this New Push buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inshort I cannot create any custom Function codes to the Push button as SAP says Z??? is not allowed function code in the program (msg V0104)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 16:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740628#M900356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T16:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740629#M900357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSELECTIONSCREEN001.&lt;/P&gt;&lt;P&gt;tables:mara,&lt;/P&gt;&lt;P&gt;       marc,&lt;/P&gt;&lt;P&gt;       mard,&lt;/P&gt;&lt;P&gt;       sscrfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_mara occurs 0,&lt;/P&gt;&lt;P&gt;      matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;      meins like mara-meins,&lt;/P&gt;&lt;P&gt;      mtart like mara-mtart,&lt;/P&gt;&lt;P&gt;      pstat like mara-pstat,&lt;/P&gt;&lt;P&gt;      ernam like mara-ernam,&lt;/P&gt;&lt;P&gt;      end of it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 100  as subscreen.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;select-options:matno for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 200 as subscreen.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b2 with frame title text-002.&lt;/P&gt;&lt;P&gt;select-options:industry  for mara-meins.&lt;/P&gt;&lt;P&gt;selection-screen end of block b2.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 300 as subscreen.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b3 with frame title text-003.&lt;/P&gt;&lt;P&gt;select-options:mattype for mara-mtart.&lt;/P&gt;&lt;P&gt;selection-screen end of block b3.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: FUNCTION KEY 1,&lt;/P&gt;&lt;P&gt;                  FUNCTION KEY 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF TABBED BLOCK SUB FOR 15 LINES,&lt;/P&gt;&lt;P&gt;                  END OF BLOCK SUB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SSCRFIELDS-FUNCTXT_01 = '@0D@'.&lt;/P&gt;&lt;P&gt;  SSCRFIELDS-FUNCTXT_02 = '@0E@'.&lt;/P&gt;&lt;P&gt;  SUB-PROG = SY-REPID.&lt;/P&gt;&lt;P&gt;  SUB-DYNNR = 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  CASE SY-DYNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 100.&lt;/P&gt;&lt;P&gt;      IF SSCRFIELDS-UCOMM = 'FC01'.&lt;/P&gt;&lt;P&gt;        SUB-DYNNR = 300.&lt;/P&gt;&lt;P&gt;      ELSEIF SSCRFIELDS-UCOMM = 'FC02'.&lt;/P&gt;&lt;P&gt;        SUB-DYNNR = 200.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 200.&lt;/P&gt;&lt;P&gt;      IF SSCRFIELDS-UCOMM = 'FC01'.&lt;/P&gt;&lt;P&gt;        SUB-DYNNR = 100.&lt;/P&gt;&lt;P&gt;      ELSEIF SSCRFIELDS-UCOMM = 'FC02'.&lt;/P&gt;&lt;P&gt;        SUB-DYNNR = 300.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 300.&lt;/P&gt;&lt;P&gt;      IF SSCRFIELDS-UCOMM = 'FC01'.&lt;/P&gt;&lt;P&gt;        SUB-DYNNR = 200.&lt;/P&gt;&lt;P&gt;      ELSEIF SSCRFIELDS-UCOMM = 'FC02'.&lt;/P&gt;&lt;P&gt;        SUB-DYNNR = 100.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select matnr&lt;/P&gt;&lt;P&gt;         meins&lt;/P&gt;&lt;P&gt;         mtart&lt;/P&gt;&lt;P&gt;         pstat&lt;/P&gt;&lt;P&gt;         ernam&lt;/P&gt;&lt;P&gt;         from mara&lt;/P&gt;&lt;P&gt;         into table it_mara&lt;/P&gt;&lt;P&gt;         up to 100 rows&lt;/P&gt;&lt;P&gt;         where matnr in matno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         loop at it_mara.&lt;/P&gt;&lt;P&gt;         write:/ it_mara-matnr,&lt;/P&gt;&lt;P&gt;                  it_mara-meins,&lt;/P&gt;&lt;P&gt;                  it_mara-mtart,&lt;/P&gt;&lt;P&gt;                  it_mara-pstat,&lt;/P&gt;&lt;P&gt;                  it_mara-ernam.&lt;/P&gt;&lt;P&gt;         endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 16:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740629#M900357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T16:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740630#M900358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are all these 3-4 function codes defined on the same screen...just a thought if flagging can help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barjinder...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 16:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740630#M900358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T16:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740631#M900359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I had already used Functional code namely +US2, &lt;EM&gt;U01,&lt;/EM&gt;U03,U02, +US1, defined in LIQS0TPC)include) of SAPLIQS0. Now need to add one more push button for specific Job to be performed, will will open a new Dialog screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 19:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740631#M900359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T19:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740632#M900360</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; If you can find any differentiator between the two functionalities, you can do it by setting the flag, like if flag = 'X' do this else do this.&lt;/P&gt;&lt;P&gt; If you can set the flag in your code(i don't know your code) and then check for the value of this flag during the exection of the function code, you can do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barjinder Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 18:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740632#M900360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T18:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton - Function Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740633#M900361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help. But the solution to this problem lies in Pm Config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Says, we need to assign more than one custom screen we need to assign 091 as the screen area and enter the screen no for each screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config point is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant Maintenance and service processing &lt;DEL&gt;&amp;gt;Maintenance &amp;amp; Service Processing&lt;/DEL&gt;&amp;gt;Maintenance &amp;amp;  Service Notifications --&amp;gt;Notification Creation &lt;DEL&gt;&amp;gt;NotificationTypes&lt;/DEL&gt;Set screen templates for notification types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to for any MOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakhbir Singh on Jul 21, 2008 12:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 16:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-function-code/m-p/3740633#M900361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T16:46:14Z</dc:date>
    </item>
  </channel>
</rss>

