<?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: Back button issue in module pool program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649597#M2014943</link>
    <description>&lt;P&gt;When you leave the Z-transaction, Abap will continue with the code following the CALL TRANSACTION (like for a CALL SCREEN) so in your case the flow continue after the ENDCASE, by default you don't change screen in the caller program.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;If you want to leave the calling screen too, add a LEAVE TO SCREEN 0 after the CALL TRANSACTION (ot set 0 in the next screen attribute of the dynpro definition)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; wrote, try to debug your program.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 13:41:54 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2023-04-19T13:41:54Z</dc:date>
    <item>
      <title>Back button issue in module pool program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649594#M2014940</link>
      <description>&lt;P&gt;We have created a module pool program with 4 buttons. 2 out of 4 buttons when clicking on the button will navigate to custom tcodes and it is working fine, but when I click the back button from the custom tcodes it does not return to the 1st screen of the module pool, instead I have to click twice to come back to the first screen. &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt; CASE SY-UCOMM.&lt;BR /&gt;    WHEN 'EXIT' OR 'BAC' OR 'CANCEL' OR 'BACK'.&lt;BR /&gt;      LEAVE TO SCREEN 0.&lt;BR /&gt;    WHEN 'CLE'.&lt;BR /&gt;      CLEAR: wa_str-ebeln, wa_str-ebelp.&lt;BR /&gt;    WHEN 'REP'.&lt;BR /&gt;      CALL TRANSACTION 'ZMAT_DE'.&lt;BR /&gt;    WHEN 'UPD'.&lt;BR /&gt;      CALL TRANSACTION 'ZMAT_UPLOAD'.&lt;BR /&gt;    WHEN 'SUB'.&lt;BR /&gt;      SELECT SINGLE ebeln&lt;BR /&gt;                    ebelp FROM ekpo INTO it_str2 WHERE ebeln = wa_str-ebeln AND ebelp = wa_str-ebelp.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 10:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649594#M2014940</guid>
      <dc:creator>pritam_baboo49</dc:creator>
      <dc:date>2023-04-19T10:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Back button issue in module pool program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649595#M2014941</link>
      <description>&lt;P&gt;Please, do a debug and tell us where the code goes after clicking. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 13:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649595#M2014941</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-04-19T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Back button issue in module pool program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649596#M2014942</link>
      <description>&lt;P&gt;Is the same happening with standard code also? &lt;/P&gt;&lt;P&gt;replace standard tcode with custom tcode and see.&lt;/P&gt;&lt;P&gt;if standard tcode is working fine, that means in custom tcode, see what written in standard tcode vs custom tcode for back button and replace accordingly. &lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 13:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649596#M2014942</guid>
      <dc:creator>former_member13114</dc:creator>
      <dc:date>2023-04-19T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Back button issue in module pool program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649597#M2014943</link>
      <description>&lt;P&gt;When you leave the Z-transaction, Abap will continue with the code following the CALL TRANSACTION (like for a CALL SCREEN) so in your case the flow continue after the ENDCASE, by default you don't change screen in the caller program.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;If you want to leave the calling screen too, add a LEAVE TO SCREEN 0 after the CALL TRANSACTION (ot set 0 in the next screen attribute of the dynpro definition)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; wrote, try to debug your program.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 13:41:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649597#M2014943</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-04-19T13:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Back button issue in module pool program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649598#M2014944</link>
      <description>&lt;P&gt;Please try by adding a LEAVE TO SCREEN 0 after the CALL TRANSACTION. Best can be analyzed by debugging.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 17:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-button-issue-in-module-pool-program/m-p/12649598#M2014944</guid>
      <dc:creator>Harish_Vatsa</dc:creator>
      <dc:date>2023-04-19T17:45:27Z</dc:date>
    </item>
  </channel>
</rss>

