<?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: Rare 'bug' with SUBMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532263#M1656798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Then, I run the report, and press F8 to excecute (rb_1 marked). Selection-screen of Z_SUBREP1 appears.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Based on your code snippet, it won't display the selection screen of the Z_SUBREP1. You need to have VIA SELECTION-SCREEN addition in the SUBMIT.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Moreover, I tried the same steps on ECC 6 and it works just fine. I didn't find the same behavior, what you had noticed.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Naimesh Patel&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi Naimesh:&lt;/P&gt;&lt;P&gt;In my case, I use SUBMIT only without VIA SELECTION-SCREEN, and selection screen of the Z_SUBREP1 appears... I gonna try with VIA SELECTION-SCREEN, if bug continues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2012 17:01:36 GMT</pubDate>
    <dc:creator>former_member591546</dc:creator>
    <dc:date>2012-01-31T17:01:36Z</dc:date>
    <item>
      <title>Rare 'bug' with SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532261#M1656796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, i've an issue, but first of all, I want to clarify that this issue is resolved. But I'm intrigued... and want to share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an report (main). This report call another in START-OF SELECTION event, using SUBMIT. Very simply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT z_main_rep LINE-SIZE 132 LINE-COUNT 65 NO STANDARD PAGE HEADING.

PARAMETERS: rb_1 TYPE c RADIOBUTTON GROUP gr1,
            rb_2 TYPE c RADIOBUTTON GROUP gr1,
            rb_3 TYPE c RADIOBUTTON GROUP gr1.

START-OF-SELECTION.

  IF rb_1 IS NOT INITIAL.
    SUBMIT z_subrep1 AND RETURN.
  ELSEIF rb_2 IS NOT INITIAL.
    SUBMIT z_subrep2 AND RETURN.
  ELSE.
    SUBMIT z_subrep3 AND RETURN.
  ENDIF.

END-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This's all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I run the report, and press F8 to excecute (rb_1 marked). Selection-screen of Z_SUBREP1 appears. I fill parameters, and the I save the variant. Now begins the issue. If I press "SAVE VARIANT" again, report is executed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've solved it changing SUBMITs by CALL TRANSACTIONs in main program ("Report transaction"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF rb_1 IS NOT INITIAL.
    CALL TRANSACTION 'Z_TR_SUBREP1'.
  ELSEIF rb_2 IS NOT INITIAL.
    CALL TRANSACTION 'Z_TR_SUBREP2'.
  ELSE.
    CALL TRANSACTION 'Z_TR_SUBREP3'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rare, no? Why does this happen? I've debugged, but UCOMM from SAVE VARIANT (fcode SPOS) is handled by standard code...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 15:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532261#M1656796</guid>
      <dc:creator>former_member591546</dc:creator>
      <dc:date>2012-01-31T15:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rare 'bug' with SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532262#M1656797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I run the report, and press F8 to excecute (rb_1 marked). Selection-screen of Z_SUBREP1 appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Based on your code snippet, it won't display the selection screen of the Z_SUBREP1. You need to have VIA SELECTION-SCREEN addition in the SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I tried the same steps on ECC 6 and it works just fine. I didn't find the same behavior, what you had noticed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 16:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532262#M1656797</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2012-01-31T16:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rare 'bug' with SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532263#M1656798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Then, I run the report, and press F8 to excecute (rb_1 marked). Selection-screen of Z_SUBREP1 appears.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Based on your code snippet, it won't display the selection screen of the Z_SUBREP1. You need to have VIA SELECTION-SCREEN addition in the SUBMIT.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Moreover, I tried the same steps on ECC 6 and it works just fine. I didn't find the same behavior, what you had noticed.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Naimesh Patel&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi Naimesh:&lt;/P&gt;&lt;P&gt;In my case, I use SUBMIT only without VIA SELECTION-SCREEN, and selection screen of the Z_SUBREP1 appears... I gonna try with VIA SELECTION-SCREEN, if bug continues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 17:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532263#M1656798</guid>
      <dc:creator>former_member591546</dc:creator>
      <dc:date>2012-01-31T17:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rare 'bug' with SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532264#M1656799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I find the cause! Naimesh, your answer helps me too much. In my case, without VIA SELECTION SCREEN, SUBMIT stops in selection creen because some parameters are obligatories! Then, excecute command is triggered. With VIA SELECTION SCREEN, it works correctly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's no bug! haha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Naimesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 17:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532264#M1656799</guid>
      <dc:creator>former_member591546</dc:creator>
      <dc:date>2012-01-31T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rare 'bug' with SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532265#M1656800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, thanks for sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 17:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rare-bug-with-submit/m-p/8532265#M1656800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-31T17:50:11Z</dc:date>
    </item>
  </channel>
</rss>

