<?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 Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755522#M903480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I have created a module pool screen, the flow logic is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE billet_stage_init.&lt;/P&gt;&lt;P&gt;  LOOP AT   it_billet_stage&lt;/P&gt;&lt;P&gt;       INTO wa_billet_stage&lt;/P&gt;&lt;P&gt;       WITH CONTROL billet_stage&lt;/P&gt;&lt;P&gt;       CURSOR billet_stage-current_line.&lt;/P&gt;&lt;P&gt;    MODULE billet_stage_move.&lt;/P&gt;&lt;P&gt;    MODULE billet_stage_get_lines.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  MODULE status_0200 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE exit_screen AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;MODULE GRADING.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHAIN.&lt;/P&gt;&lt;P&gt;    FIELD : yorder-zheat,&lt;/P&gt;&lt;P&gt;            yorder-zshift,&lt;/P&gt;&lt;P&gt;            yorder-ZPROPOSED_DATE,&lt;/P&gt;&lt;P&gt;            zbillet_data-TOT_BILLET_NOS_I.&lt;/P&gt;&lt;P&gt;    MODULE  check_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_billet_stage.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD yorder-aufnr.&lt;/P&gt;&lt;P&gt;      FIELD yorder-zbal_qty.&lt;/P&gt;&lt;P&gt;      FIELD yorder-zqty.&lt;/P&gt;&lt;P&gt;      FIELD yorder-kdauf.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I am debugging the cursor is not going into   &lt;STRONG&gt;MODULE GRADING.&lt;/STRONG&gt;  Can anybody say what might be the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 13:38:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T13:38:33Z</dc:date>
    <item>
      <title>Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755522#M903480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I have created a module pool screen, the flow logic is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE billet_stage_init.&lt;/P&gt;&lt;P&gt;  LOOP AT   it_billet_stage&lt;/P&gt;&lt;P&gt;       INTO wa_billet_stage&lt;/P&gt;&lt;P&gt;       WITH CONTROL billet_stage&lt;/P&gt;&lt;P&gt;       CURSOR billet_stage-current_line.&lt;/P&gt;&lt;P&gt;    MODULE billet_stage_move.&lt;/P&gt;&lt;P&gt;    MODULE billet_stage_get_lines.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  MODULE status_0200 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE exit_screen AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;MODULE GRADING.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHAIN.&lt;/P&gt;&lt;P&gt;    FIELD : yorder-zheat,&lt;/P&gt;&lt;P&gt;            yorder-zshift,&lt;/P&gt;&lt;P&gt;            yorder-ZPROPOSED_DATE,&lt;/P&gt;&lt;P&gt;            zbillet_data-TOT_BILLET_NOS_I.&lt;/P&gt;&lt;P&gt;    MODULE  check_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_billet_stage.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD yorder-aufnr.&lt;/P&gt;&lt;P&gt;      FIELD yorder-zbal_qty.&lt;/P&gt;&lt;P&gt;      FIELD yorder-zqty.&lt;/P&gt;&lt;P&gt;      FIELD yorder-kdauf.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I am debugging the cursor is not going into   &lt;STRONG&gt;MODULE GRADING.&lt;/STRONG&gt;  Can anybody say what might be the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755522#M903480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755523#M903481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MODULE exit_screen AT EXIT-COMMAND because of this it is comming out of program. Implement your logic MODULE GRADING.&lt;/P&gt;&lt;P&gt; before it MODULE exit_screen AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still  it will  not work then just write &lt;/P&gt;&lt;P&gt;MODULE exit_screen and inside it write code as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;When 'EXIT'.&lt;/P&gt;&lt;P&gt;Leave to screen 0.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755523#M903481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755524#M903482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the button you used to execute the screen is a type of "E"xit, it will go to the EXIT exit_screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755524#M903482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755525#M903483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried by keeping the   &lt;STRONG&gt;MODULE GRADING.&lt;/STRONG&gt; above &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE exit_screen AT EXIT-COMMAND&lt;/STRONG&gt;  even though it is not going into it. I even commented &lt;STRONG&gt;MODULE exit_screen AT EXIT-COMMAND&lt;/STRONG&gt; and tried it is not working, Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755525#M903483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755526#M903484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you have some code in the module-endmodule of the module GRADING and the code is active?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 14:10:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755526#M903484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T14:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755527#M903485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, can u rearrange the PAI code as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;  FIELD : yorder-zheat,&lt;/P&gt;&lt;P&gt;  	  yorder-zshift,&lt;/P&gt;&lt;P&gt;	  yorder-ZPROPOSED_DATE,&lt;/P&gt;&lt;P&gt;	  zbillet_data-TOT_BILLET_NOS_I.&lt;/P&gt;&lt;P&gt;  MODULE check_value.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_billet_stage.&lt;/P&gt;&lt;P&gt;  CHAIN.&lt;/P&gt;&lt;P&gt;	FIELD yorder-aufnr.&lt;/P&gt;&lt;P&gt;	FIELD yorder-zbal_qty.&lt;/P&gt;&lt;P&gt;	FIELD yorder-zqty.&lt;/P&gt;&lt;P&gt;  	FIELD yorder-kdauf.&lt;/P&gt;&lt;P&gt;  ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE GRADING.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE user_command_0100 .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MODULE exit_screen AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your code i dint find the module user_command, what about it?&lt;/P&gt;&lt;P&gt;and also check the relevant Include of module GRADING is active?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;murashali...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 14:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755527#M903485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755528#M903486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;First of all, it is not clear from your problem description that how you are going into debugging. I mean what are you doing to trigger PAI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are pressing a button with &lt;STRONG&gt;function type 'E'&lt;/STRONG&gt; (and looks like thats the problem), then system first looks for a PAI module with AT EXIT-COMMAND. This is how the system is designed and works. EXIT and CANCEL are such functions in the standard toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, it finds the module EXIT_SCREEN and if there is code for coming out of the program in this module, it comes out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rearranging other PAI modules aboe EXIT_SCREEN will not help as for function codes of function type 'E', system goes first to the AT EXIT-COMMAND module as it wants to come out of the program without doing any further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please elaborate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 19:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3755528#M903486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T19:24:35Z</dc:date>
    </item>
  </channel>
</rss>

