<?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 and return in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704809#M626558</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;Itried with the above logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on submit to the standard program RFBIBL00, the session of error records has to be created in SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On bypassing the output screen this session is not created in SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2007 06:30:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-15T06:30:58Z</dc:date>
    <item>
      <title>Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704803#M626552</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;i am calling the std program RFBIBl00 in my report thru submit. when the RFBIBL00 is called the execution halts at the output screen. I need to bypass the screen and come to my calling program execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to handle it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your ideas are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704803#M626552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704804#M626553</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;You can use SUMBIT AND RETURN to return to the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the documentation for SUBMIT keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what AND RETURN does&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;The AND RETURN addition determines the object accessed by the runtime environment after program access is completed: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the AND RETURN addition, the internal session of the program accessed replaces the internal session of the calling program in the same position in the call sequence. Once program access is completed, the system returns to before the position from which the calling program was started. &lt;/P&gt;&lt;P&gt;As of Release 6.10, the content of the system field sy-calld at SUBMIT is copied by the calling program without AND RETURN. Before 6.10, the system entered the value "X", which was incorrect when the program was accessed from the first program in a call sequence. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition AND RETURN starts the executable program in a new internal session. The session for the calling program is retained. Once program access is completed, program execution for the calling program continues after the SUBMIT statement. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704804#M626553</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-13T08:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704805#M626554</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;I have used Submit and Return then too it halts at the output of the called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stock&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704805#M626554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704806#M626555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take F1 help for submit&lt;/P&gt;&lt;P&gt;u can see submit and return options&lt;/P&gt;&lt;P&gt;which will take your control back to your calling program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704806#M626555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704807#M626556</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 in debug mode if it is coming back to the Calling program or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use SUBMIT and RETURN this should come back to the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in debug mode for the statement SUMBIT. Put a break point after the SUBMIT statement and see if this ponit is reached or not?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704807#M626556</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-13T08:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704808#M626557</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;In this case we can send the Output of the Called Report to SPOOL instead of display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the Syntax example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: PARAMS LIKE PRI_PARAMS, &lt;/P&gt;&lt;P&gt;      DAYS(1)  TYPE N VALUE 2, &lt;/P&gt;&lt;P&gt;      COUNT(3) TYPE N VALUE 1, &lt;/P&gt;&lt;P&gt;      VALID    TYPE C. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_PRINT_PARAMETERS' &lt;/P&gt;&lt;P&gt;  EXPORTING DESTINATION           = 'LT50' &lt;/P&gt;&lt;P&gt;            COPIES                = COUNT &lt;/P&gt;&lt;P&gt;            LIST_NAME             = 'TEST' &lt;/P&gt;&lt;P&gt;            LIST_TEXT             = 'SUBMIT ... TO SAP-SPOOL' &lt;/P&gt;&lt;P&gt;            IMMEDIATELY           = 'X' &lt;/P&gt;&lt;P&gt;            RELEASE               = 'X' &lt;/P&gt;&lt;P&gt;            NEW_LIST_ID           = 'X' &lt;/P&gt;&lt;P&gt;            EXPIRATION            = DAYS &lt;/P&gt;&lt;P&gt;            LINE_SIZE             = 79 &lt;/P&gt;&lt;P&gt;            LINE_COUNT            = 23 &lt;/P&gt;&lt;P&gt;            LAYOUT                = 'X_PAPER' &lt;/P&gt;&lt;P&gt;            SAP_COVER_PAGE        = 'X' &lt;/P&gt;&lt;P&gt;            COVER_PAGE            = 'X' &lt;/P&gt;&lt;P&gt;            RECEIVER              = 'SAP*' &lt;/P&gt;&lt;P&gt;            DEPARTMENT            = 'System' &lt;/P&gt;&lt;P&gt;            NO_DIALOG             = ' ' &lt;/P&gt;&lt;P&gt;  IMPORTING OUT_PARAMETERS        = PARAMS &lt;/P&gt;&lt;P&gt;            VALID                 = VALID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF VALID &amp;lt;&amp;gt; SPACE. &lt;/P&gt;&lt;P&gt;  SUBMIT RSTEST00 TO SAP-SPOOL &lt;/P&gt;&lt;P&gt;    SPOOL PARAMETERS PARAMS &lt;/P&gt;&lt;P&gt;    WITHOUT SPOOL DYNPRO. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704808#M626557</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-13T08:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704809#M626558</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;Itried with the above logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on submit to the standard program RFBIBL00, the session of error records has to be created in SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On bypassing the output screen this session is not created in SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 06:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704809#M626558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T06:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Submit and return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704810#M626559</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;In this case you can Create a Background job dynamically which executes your program in Background and creates the session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Check this Example code below:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately providing the user has the relevant authorization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: number           TYPE tbtcjob-jobcount, &lt;/P&gt;&lt;P&gt;      name             TYPE tbtcjob-jobname VALUE 'JOB_TEST', &lt;/P&gt;&lt;P&gt;      print_parameters TYPE pri_params. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_OPEN' &lt;/P&gt;&lt;P&gt;  EXPORTING &lt;/P&gt;&lt;P&gt;    jobname          = name &lt;/P&gt;&lt;P&gt;  IMPORTING &lt;/P&gt;&lt;P&gt;    jobcount         = number &lt;/P&gt;&lt;P&gt;  EXCEPTIONS &lt;/P&gt;&lt;P&gt;    cant_create_job  = 1 &lt;/P&gt;&lt;P&gt;    invalid_job_data = 2 &lt;/P&gt;&lt;P&gt;    jobname_missing  = 3 &lt;/P&gt;&lt;P&gt;    OTHERS           = 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******Here you have to call GET_PRINT_PARAMETERS FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  SUBMIT submitable TO SAP-SPOOL &lt;/P&gt;&lt;P&gt;                    SPOOL PARAMETERS print_parameters &lt;/P&gt;&lt;P&gt;                    WITHOUT SPOOL DYNPRO &lt;/P&gt;&lt;P&gt;                    VIA JOB name NUMBER number &lt;/P&gt;&lt;P&gt;                    AND RETURN.&amp;lt;/b&amp;gt;  &lt;/P&gt;&lt;P&gt; IF sy-subrc = 0. &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE' &lt;/P&gt;&lt;P&gt;      EXPORTING &lt;/P&gt;&lt;P&gt;        jobcount             = number &lt;/P&gt;&lt;P&gt;        jobname              = name &lt;/P&gt;&lt;P&gt;        strtimmed            = 'X' &lt;/P&gt;&lt;P&gt;      EXCEPTIONS &lt;/P&gt;&lt;P&gt;        cant_start_immediate = 1 &lt;/P&gt;&lt;P&gt;        invalid_startdate    = 2 &lt;/P&gt;&lt;P&gt;        jobname_missing      = 3 &lt;/P&gt;&lt;P&gt;        job_close_failed     = 4 &lt;/P&gt;&lt;P&gt;        job_nosteps          = 5 &lt;/P&gt;&lt;P&gt;        job_notex            = 6 &lt;/P&gt;&lt;P&gt;        lock_failed          = 7 &lt;/P&gt;&lt;P&gt;        OTHERS               = 8. &lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;      ... &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 06:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-return/m-p/2704810#M626559</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-15T06:49:08Z</dc:date>
    </item>
  </channel>
</rss>

