<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083485#M1357337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gilberto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with the submit....and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is when the user clicks refresh then he has to het the green back button twice to come to the screen. if the user hits it refresh 3 time he has to hit the green back button 4 times and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2009 13:52:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-31T13:52:45Z</dc:date>
    <item>
      <title>Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083481#M1357333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to add a refresh buttom to a classical interactive report.&lt;/P&gt;&lt;P&gt;I have done with the below code and it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'REFRESH'.&lt;/P&gt;&lt;P&gt;      SUBMIT zsgnr002&lt;/P&gt;&lt;P&gt;     WITH s_wadat     IN s_wadat&lt;/P&gt;&lt;P&gt;     WITH s_edatu     IN s_edatu&lt;/P&gt;&lt;P&gt;     WITH s_vbeln     IN s_vbeln&lt;/P&gt;&lt;P&gt;     WITH s_vstel     IN s_vstel&lt;/P&gt;&lt;P&gt;     WITH p_reject    EQ p_reject .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when the users executes the reprort he gets the output as required. But when he hits the green arrow back it dosent take him to the selection screen. Instead it takes to the main SAP screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANy suggestion&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 14:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083481#M1357333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T14:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083482#M1357334</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT USER-COMMAND.
CASE sy-ucomm.

WHEN 'REFRESH'.
SUBMIT zsgnr002
WITH s_wadat IN s_wadat
WITH s_edatu IN s_edatu
WITH s_vbeln IN s_vbeln
WITH s_vstel IN s_vstel
WITH p_reject EQ p_reject  
AND RETURN "ADD THIS.

ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 14:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083482#M1357334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T14:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083483#M1357335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try scheduling background JOB when user click refresh. This way you will still remain on selection screen and report will run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use JOB_OPEN, JOB_SUBMIT &amp;amp; JOB_CLOSE function modules.&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;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 15:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083483#M1357335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083484#M1357336</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 use 'Return' with your syntax .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;SUBMIT REPORT01 &lt;/P&gt;&lt;P&gt;       VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;       USING SELECTION-SET 'VARIANT1' &lt;/P&gt;&lt;P&gt;       USING SELECTION-SETS OF PROGRAM 'REPORT00' &lt;/P&gt;&lt;P&gt;       AND RETURN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 15:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083484#M1357336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083485#M1357337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gilberto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with the submit....and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is when the user clicks refresh then he has to het the green back button twice to come to the screen. if the user hits it refresh 3 time he has to hit the green back button 4 times and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 13:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083485#M1357337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T13:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083486#M1357338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This Works...&lt;/P&gt;&lt;P&gt;back button must be of type Exit-command&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: pa_1 TYPE char255.

AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'BCK'.
 LEAVE LIST-PROCESSING AND RETURN TO SCREEN 0.
    WHEN 'REFRESH'.

      SUBMIT ykesavtbc
      WITH pa_1 = 'A'.
  ENDCASE.


START-OF-SELECTION.

  SET PF-STATUS 'ABC'.
  WRITE pa_1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 14:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083486#M1357338</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-08-31T14:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083487#M1357339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please be clear with your Subject Line next time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 15:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083487#M1357339</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-08-31T15:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083488#M1357340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the requirement is to go back to the selection screen, you should try the LEAVE statement &amp;amp; its variations. SUBMIT and RETURN creates a new internal session and might result in an error, if the user goes back and forth too many times between the list &amp;amp; the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 16:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083488#M1357340</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2009-08-31T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Submit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083489#M1357341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with job scheduling option. I think that is more easier than submit....and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 05:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-issue/m-p/6083489#M1357341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T05:27:54Z</dc:date>
    </item>
  </channel>
</rss>

