<?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: How to find function code for Dynamic generated program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305391#M1834231</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;I tried with ABAP memory concept (Import and Export) by sharing memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 09:33:04 GMT</pubDate>
    <dc:creator>Aditya</dc:creator>
    <dc:date>2014-04-25T09:33:04Z</dc:date>
    <item>
      <title>How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305379#M1834219</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;I have created a dynamic program for getting different selection screens depending on inputs . I am finding a flaw that, pressing 'BACK' buttn is leading some other action which was coded by me,&amp;nbsp; instead of going back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SY-UCOMM is also not working as it is dynamic program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me for getting previous screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the inputs.Thank u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 12:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305379#M1834219</guid>
      <dc:creator>Aditya</dc:creator>
      <dc:date>2014-04-23T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305380#M1834220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is an all new dynamic program then when it's called there is a new LUW. Does the dynamic program processes the sy-ucomm or do you try to do it with the caller program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 13:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305380#M1834220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T13:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305381#M1834221</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;Can you please elaborate the issue.&lt;/P&gt;&lt;P&gt;Is it the issue with the selection screen which is dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 13:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305381#M1834221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-23T13:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305382#M1834222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In my first selection screen, if I give 'VBAK', then in second screen I wil get 'VBELN' as select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Parallely, If I give 'MARA' in the first screen, then in second screen I wil get 'MATNR' as select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. So, here , In second screen , if I press back(F3) then it is going for other code which was already coded by me ( eg:&amp;nbsp; downloading to flatfile).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. My problem is , it need to go back to first screen whenever I press 'BACK' button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The second screen is dynamically coded using fieldsymbols. I also tried to pass static break-point to second screen , it is capturing 'ONLI(i.e F8)' but not 'BACK' function code.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aditya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 04:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305382#M1834222</guid>
      <dc:creator>Aditya</dc:creator>
      <dc:date>2014-04-24T04:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305383#M1834223</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;can you check SSCRFIELDS-UCOMM instead of SY-UCOMM there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: SSCRFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code line is needed for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 04:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305383#M1834223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T04:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305384#M1834224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you please post your code.Then i can help you,Because recently i faced the same Problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change ucomm code for BACK.Once Try with 'BCAK' or any.I hope it will trigger the User command.It worked for me at that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 05:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305384#M1834224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T05:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305385#M1834225</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;I think Klaus, is right you have to use &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SSCRFIELDS-UCOMM&lt;/SPAN&gt; to catch the event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddhesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 05:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305385#M1834225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T05:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305386#M1834226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per ur instructions, I replaced SY-UCOMM with SSCRFIELDS.&lt;/P&gt;&lt;P&gt;But no change in my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following screen shot is a program which is coded dynamically using fieldsymbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I press BACK here for the following code selectionscreen, I am getting someother action which was coded by me. But not going back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Twist is, SSCRFIELDS-UCOMM or SY-UCOMM is getting captured for 'F8', but not 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, I have explained my issue clearly. Please let me know, if any deep clarifications needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/439456" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 06:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305386#M1834226</guid>
      <dc:creator>Aditya</dc:creator>
      <dc:date>2014-04-24T06:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305387#M1834227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried by as per ur instructions. But no change in my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the code shot @ &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="21085" data-externalid="" data-presence="null" data-userid="352584" data-username="klaus.babl" href="https://answers.sap.com/people/klaus.babl"&gt;Klaus Babl&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 06:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305387#M1834227</guid>
      <dc:creator>Aditya</dc:creator>
      <dc:date>2014-04-24T06:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305388#M1834228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are still very vague. If that program is coded dynamically then where is pf-status 'ZDYN'?&lt;/P&gt;&lt;P&gt;I'll try to give an idea of what I think you are describing:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;you have a normal report with a selection screen.&lt;/LI&gt;&lt;LI&gt;at event start-of-selection you generate a second report with it's selection screen using maybe the "insert report" instruction&lt;OL&gt;&lt;LI&gt;subsequently it generates the report and call it with submit&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;user executes report, presses F8, second selection screen shows up and user presses "esc" to return to first selection screen&lt;/LI&gt;&lt;LI&gt;program returns to event start-of-selection of first report after submit where you have, of course, no acess to sy-ucomm of second report.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305388#M1834228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305389#M1834229</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;First Find the function code of the BACK button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SYSTEM -&amp;gt; STATUS and double click on GUI STATUS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305389#M1834229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T08:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305390#M1834230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my suggestion based on my assumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot get the "esc" ok_code in events at selection-screen or start-of-selection. It is an "at exit-command" event.&lt;/P&gt;&lt;P&gt;You could set a flag parameter id in start-of-selection of second program so you would know the second report was executed and not canceled.&lt;/P&gt;&lt;P&gt;If user returns to first program and this flag is not set then you know user pressed "esc" or a similar cancel ok_code was invoked.&lt;/P&gt;&lt;P&gt;Now in start-of-selection of first report you can cancel processing without outputting any result leaving user in first original screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305390#M1834230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to find function code for Dynamic generated program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305391#M1834231</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;I tried with ABAP memory concept (Import and Export) by sharing memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-function-code-for-dynamic-generated-program/m-p/10305391#M1834231</guid>
      <dc:creator>Aditya</dc:creator>
      <dc:date>2014-04-25T09:33:04Z</dc:date>
    </item>
  </channel>
</rss>

