<?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 Getting the function code of the standard screen button. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715092#M629622</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 have created an infotype. the requirement of this infotype is that it should only take inputs when it comes through transaction PA40, otherwise it should open in display mode only in PA30. i have inserted code in the flow logic of the infotype that the fields of the infotype be enabled when sy-tcode is PA40 otherwise it will display message that infotype data cannot be maintained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the problem is that, when i go to PA30, it is showing the same message even when i click on display button. how can i check which button on PA30 screen has been pressed so that i can write code in my infotype for that button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hamza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2007 16:18:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-16T16:18:12Z</dc:date>
    <item>
      <title>Getting the function code of the standard screen button.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715092#M629622</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 have created an infotype. the requirement of this infotype is that it should only take inputs when it comes through transaction PA40, otherwise it should open in display mode only in PA30. i have inserted code in the flow logic of the infotype that the fields of the infotype be enabled when sy-tcode is PA40 otherwise it will display message that infotype data cannot be maintained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the problem is that, when i go to PA30, it is showing the same message even when i click on display button. how can i check which button on PA30 screen has been pressed so that i can write code in my infotype for that button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hamza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 16:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715092#M629622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T16:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the function code of the standard screen button.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715093#M629623</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;U can check the function for the button maintained in Sy-ucomm or&lt;/P&gt;&lt;P&gt;Fcode .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 16:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715093#M629623</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2007-08-16T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the function code of the standard screen button.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715094#M629624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to keep proper condition so that the message will not applicable to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get function code then use SHDB Transaction and see the what function code is triggering&lt;/P&gt;&lt;P&gt;else see the table RSMPTEXTS -&amp;gt; pass program and screen number,you will see list of function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now keep more condition in order to rectify issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tcode = tcode.&lt;/P&gt;&lt;P&gt;if sy-ucomm = fcode.&lt;/P&gt;&lt;P&gt;if sy-repid = program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here give message..&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 16:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-function-code-of-the-standard-screen-button/m-p/2715094#M629624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T16:32:20Z</dc:date>
    </item>
  </channel>
</rss>

