<?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: How to do submit with parameter? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974919#M702172</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;First, you can check the syntax of submit. Then you can understand, which parameters can pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SUBMIT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls an executable program of type 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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>Fri, 26 Oct 2007 11:09:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T11:09:15Z</dc:date>
    <item>
      <title>How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974913#M702166</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 would like to pass some data from Program A to Program B. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do a submit statement with parameter from Program A to pass data to Program B. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i grab the data from Program B that was pass by Program A? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974913#M702166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974914#M702167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEllo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SUBMIT  B WITH SO_PROJ IN SO_PROJ
                             WITH SO_PSP IN SO_PSP
                             WITH SO_WWSTO IN SO_WWSTO
                             WITH SO_WWGFG IN SO_WWGFG
                             WITH SO_ISTAT IN SO_ISTAT
                             WITH SO_ESTAT IN SO_ESTAT
                             EXPORTING LIST TO MEMORY
                             AND RETURN.
" Ouptut from Report B.

 Import the list from memory and store it in table listobject
  CALL FUNCTION 'LIST_FROM_MEMORY'
       TABLES
            LISTOBJECT = LISTOBJECT
       EXCEPTIONS
            NOT_FOUND  = 1
            OTHERS     = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
*    WRITE  'Error in list_from_memory.'.
  ENDIF.
  CALL FUNCTION 'LIST_TO_ASCI'
       TABLES
            LISTASCI           = LT_TXT
            LISTOBJECT         = LISTOBJECT
       EXCEPTIONS
            EMPTY_LIST         = 1
            LIST_INDEX_INVALID = 2
            OTHERS             = 3.
  CHECK SY-SUBRC = 0.

  DATA: LV_LINES LIKE SY-TABIX.
  DESCRIBE TABLE LT_TXT LINES LV_LINES.
  LOOP AT LT_TXT INTO W_TEXTLINE.
    CHECK SY-TABIX &amp;gt; 3.
    CHECK W_TEXTLINE(5) &amp;lt;&amp;gt; 'Keine'.
    CHECK W_TEXTLINE(5) &amp;lt;&amp;gt; '-----'.
    DO 120 TIMES. REPLACE ' |' WITH '|' INTO W_TEXTLINE.  ENDDO.
    "WRITE / w_textline(255).
    PERFORM HANDLE_LINE_ZSTATUS USING W_TEXTLINE.
  ENDLOOP.

* Free memory
  CALL FUNCTION 'LIST_FREE_MEMORY'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974914#M702167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974915#M702168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can pass data by using EXPORT/IMPORT Memory or by using SET/GET Parameter ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT zreport with p_param1 = 'value'&lt;/P&gt;&lt;P&gt;with p_param2 = 'value'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_param1 and p_param2 are parameters in zreport program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974915#M702168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974916#M702169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rayden,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUBMIT PROGB WITH sel1 value1 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward for helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974916#M702169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974917#M702170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the SUBMIT report WITH SELECTION-TABLE itab.&lt;/P&gt;&lt;P&gt;Here itab needs to be of type rspar.&lt;/P&gt;&lt;P&gt;Itab has the structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELNAME (length 8), &lt;/P&gt;&lt;P&gt;KIND (length 1), &lt;/P&gt;&lt;P&gt;SIGN (length 1), &lt;/P&gt;&lt;P&gt;OPTION (length 2), &lt;/P&gt;&lt;P&gt;LOW (length 45), &lt;/P&gt;&lt;P&gt;HIGH (length 45). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U fill the itab with the parameters or select-options of the report to be called and the corresponding values and then submit it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974917#M702170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974918#M702171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;follow this sample code ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: seltab type table of rsparams,&lt;/P&gt;&lt;P&gt;        dispo_tab like line of seltab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  dispo_tab-selname = 'S_DISPO'.&lt;/P&gt;&lt;P&gt;  dispo_tab-sign    = s_dispo-sign.&lt;/P&gt;&lt;P&gt;  dispo_tab-option  = s_dispo-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at s_dispo.&lt;/P&gt;&lt;P&gt;    dispo_tab-low = s_dispo-low.&lt;/P&gt;&lt;P&gt;    dispo_tab-high = s_dispo-high.&lt;/P&gt;&lt;P&gt;    append dispo_tab to seltab.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;S_DISPO is select options&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*P_DAYS is parameters&lt;/P&gt;&lt;P&gt;  submit zreport with p_days eq p_days&lt;/P&gt;&lt;P&gt;                  with selection-table seltab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974918#M702171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974919#M702172</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;First, you can check the syntax of submit. Then you can understand, which parameters can pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SUBMIT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls an executable program of type 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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>Fri, 26 Oct 2007 11:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974919#M702172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974920#M702173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to avoid memory. Is there any other way instead of using memory. By using memory, will it cause some inconsistency when there is multiple concurrency running on the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 10:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974920#M702173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T10:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974921#M702174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try the suggestion, it seem that it doesn't work. Any other alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 10:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974921#M702174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T10:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to do submit with parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974922#M702175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doing both Screen A and B as dialog screen. Screen A have a textbox name TBA, Screen B have a textbox name TBB. I need to enter some value in TBA and after which by pressing execute. The value will be pass over to TBB. How to do that without using memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any sample code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 10:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-do-submit-with-parameter/m-p/2974922#M702175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T10:53:29Z</dc:date>
    </item>
  </channel>
</rss>

