<?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: SUBMIT? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130079#M447687</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;Check the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;rep&amp;gt; [AND RETURN] [VIA SELECTION-SCREEN]&lt;/P&gt;&lt;P&gt;                          [USING SELECTION-SET &amp;lt;var&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH &amp;lt;sel&amp;gt; &amp;lt;criterion&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH FREE SELECTIONS &amp;lt;freesel&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH SELECTION-TABLE &amp;lt;rspar&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [LINE-SIZE &amp;lt;width&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [LINE-COUNT &amp;lt;length&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls the program &amp;lt;rep&amp;gt;.  If you omit the AND RETURN addition, the current program is terminated.  Otherwise, the data from the current program is retained, and processing returns to the calling program when &amp;lt;rep&amp;gt; has finished running.  The other additions control the selection screen and set attributes of the default list in the called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2007 19:29:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-11T19:29:12Z</dc:date>
    <item>
      <title>SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130072#M447680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a Basic Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- When the user press the F3 or EXIT or BACK, the user has to go back to the selection screen and the Parameters shuld b blank, How to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I hv written like,&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;SUBMIT sy-repid via selection-screen.&lt;/P&gt;&lt;P&gt;when 'PF03'.&lt;/P&gt;&lt;P&gt;SUBMIT sy-repid via selection-screen.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but NOT working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130072#M447680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130073#M447681</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Case sy-ucomm.
when 'EXIT'.
SUBMIT (sy-repid) via selection-screen and return.
when 'PF03'.
SUBMIT (sy-repid) via selection-screen and return.
endcase.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130073#M447681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130074#M447682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ARe you outputing a list display?  Like is there WRITE statements in your program?  If so, there is no need to code the F3 back and exit buttoms.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of the values on the screen when hitting back from the list display use the statement FREE MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: p_check type c.

start-of-selection.

  write:/ p_check.
  Free Memory.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130074#M447682</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-11T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130075#M447683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it works if you use the 'RETURN' in your code.&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;submit sy-repid via selection-screen and return&lt;/P&gt;&lt;P&gt;when 'PF03'.&lt;/P&gt;&lt;P&gt;submit sy-repid via selection-screen and return.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130075#M447683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130076#M447684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, It did not worked out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the earlier programmer used the GET and SET PARA IDs! Does makes any difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130076#M447684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130077#M447685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest using something like&lt;/P&gt;&lt;P&gt;    leave to transaction sy-tcode instead of SUBMIT sy-repid.&lt;/P&gt;&lt;P&gt;Each time you SUBMIT it opens another internal session &amp;amp; if the User keeps going back &amp;amp; forth, it might even lead to maxing out the no of internal sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130077#M447685</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-11T19:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130078#M447686</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;Please try this with open and close brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Case sy-ucomm.
when 'EXIT'.
SUBMIT (sy-repid) via selection-screen and return.
when 'PF03'.
SUBMIT (sy-repid) via selection-screen and return.
endcase.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130078#M447686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130079#M447687</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;Check the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;rep&amp;gt; [AND RETURN] [VIA SELECTION-SCREEN]&lt;/P&gt;&lt;P&gt;                          [USING SELECTION-SET &amp;lt;var&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH &amp;lt;sel&amp;gt; &amp;lt;criterion&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH FREE SELECTIONS &amp;lt;freesel&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH SELECTION-TABLE &amp;lt;rspar&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [LINE-SIZE &amp;lt;width&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [LINE-COUNT &amp;lt;length&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls the program &amp;lt;rep&amp;gt;.  If you omit the AND RETURN addition, the current program is terminated.  Otherwise, the data from the current program is retained, and processing returns to the calling program when &amp;lt;rep&amp;gt; has finished running.  The other additions control the selection screen and set attributes of the default list in the called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130079#M447687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130080#M447688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am displaying basic report by using the WRITE statements. &lt;/P&gt;&lt;P&gt;Yes, I am getting back by F3 or exit or back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is p_check? I mean, I need to define a parameter for this purpose or Just u hv given example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use directly FREE MEMORY statement, just after start-of-selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130080#M447688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130081#M447689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an example,  after writing your list display, simply use the FREE MEMORY  statement.  That's it.  No need to re-call the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130081#M447689</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-11T19:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130082#M447690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Rich, Its worked out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ to all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130082#M447690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130083#M447691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea for Drop Down for a FISCAL YEAR parameter in Selection Screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I hv many years number, Its cumbersome to use VRM Type pools and its corresponding FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Is there any alternative idea? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2130083#M447691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:44:19Z</dc:date>
    </item>
  </channel>
</rss>

