<?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: calling two sap standard programs using 'SUBMIT' statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650762#M1666635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call the standard FM and get the output internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From that internal table , pull the required variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the addition, WITH SELECTION TABLE to the SUBMIT statement in ABAP. Pass the variable values which you have retrived in the above step with their corresponding selection screen name in the report which you are going to submit. The selection table will have the staructure of RSPARAMS . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful you. Please let me know if you face any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2012 11:00:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-07T11:00:26Z</dc:date>
    <item>
      <title>calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650758#M1666631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SapAll.&lt;/P&gt;&lt;P&gt;i have got a requirement in SAP-GTS(GLOBAL TRADE SERVICES) where i need to call a standard program '/SAPSLL/CON_BLOCKED_DOCS_IMP ' and pass the output into Internal table.submitting this internal table to another SAP Standard Program'/SAPSLL/CUHD_MASS_REFRESH_IMP'  and get the detailed output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my question here is can i implement the above requirement with 'SUBMIT' option ,if so which options must i use in the 'SUBMIT'  types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will be waiting for your response.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 16:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650758#M1666631</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-05T16:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650759#M1666632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at F1-help of submit - list-options - EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this, you can get an output of a report, coding example from SAP:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA list_tab TYPE TABLE OF abaplist. 

SUBMIT report EXPORTING LIST TO MEMORY 
              AND RETURN. 

CALL FUNCTION 'LIST_FROM_MEMORY' 
  TABLES 
    listobject = list_tab 
  EXCEPTIONS 
    not_found  = 1 
    OTHERS     = 2. 

IF sy-subrc = 0. 
  CALL FUNCTION 'WRITE_LIST' 
    TABLES 
      listobject = list_tab. 
ENDIF. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't have access to a SAP-GTS system - you might need to convert "list_tab"; extract relevant information, generate new import variables for 2nd report. Maybe not easy work, but you can at least try. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 12:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650759#M1666632</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2012-03-06T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650760#M1666633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mr Christian.&lt;/P&gt;&lt;P&gt;thanks fo ryou response.&lt;/P&gt;&lt;P&gt;but the requrement is slightly changed now ,here first i have to call a SAP Standard function module and then iam  getting the output of SAP FM to an internal table with two variables in it.so now i have to pass these two variables of internal table(having multiple values in them) to the other SAP Standard program  selection screen while Submitting.then i have to get the resulting list to another itab to display.&lt;/P&gt;&lt;P&gt;so how i can the achieve above mentioned  using the SUBMIT Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope you understand my requirement now.&lt;/P&gt;&lt;P&gt;waiitng for your response.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 10:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650760#M1666633</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-07T10:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650761#M1666634</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 make use of structure &lt;STRONG&gt;RSPARAMS&lt;/STRONG&gt; to pass your internal table to another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it_rsparams TYPE TABLE OF rsparams,
      wa_rsparams LIKE LINE OF it_rsparams.

SUBMIT PROGRAM WITH SELECTION-TABLE it_rsparams[] AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 10:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650761#M1666634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-07T10:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650762#M1666635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call the standard FM and get the output internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From that internal table , pull the required variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the addition, WITH SELECTION TABLE to the SUBMIT statement in ABAP. Pass the variable values which you have retrived in the above step with their corresponding selection screen name in the report which you are going to submit. The selection table will have the staructure of RSPARAMS . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful you. Please let me know if you face any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 11:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650762#M1666635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-07T11:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650763#M1666636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If one of the report displays an ALV grid, then you can get the internal table (and layout information if required) from this report without displaying the grid using cl_salv_bs_runtime_info class. (*)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) Read this blog [Gain Programmatic Access to Data of SAPGUI ALV Reports|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/24944] &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 11:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650763#M1666636</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-03-07T11:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650764#M1666637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danish.&lt;/P&gt;&lt;P&gt;that SAP Standard program is got the Selection screen with various Selection parameters but i need to pass only 2 itab fields to the respective fields of SAP Program selection screen and that SAP Program has also got two check boxes which i need to enable to display the log?(output) otherwise i dont see the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how i can catch the out put by only passing two required itab-field values and also enabling the 2 check boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 11:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650764#M1666637</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-07T11:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650765#M1666638</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;Suppose the fieldnames for your checkboxes for the target program are p_ch1 and p_ch2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CLEAR wa_rsparams.
wa_rsparams-selname = 'P_CH1'.
wa_rsparams-kind    = 'P'.
wa_rsparams-sign    = 'I'.
wa_rsparams-option  = 'EQ'.
wa_rsparams-low     = 'X'.
APPEND wa_rsparams TO it_rsparams.

" Repeat the same for P_CH2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Refer this thread for a much detailed solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="2044589"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 11:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650765#M1666638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-07T11:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650766#M1666639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a system variant (transport) with the other parameters (checkboxes and other default values) and&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT gt_itab1 ASSIGNING &amp;lt;recd1&amp;gt;.
  refresh lt_itab2
* ...
  SUBMIT reportname
    USING SELECTION-SET 'CUS&amp;amp;XXX' " create a system variant with default value (you can also use selection variable)
    WITH parameter1 = &amp;lt;recd1&amp;gt;-field1 " pass also the two parameters
    WITH parameter2 = &amp;lt;recd1&amp;gt;-field2.
* ...
  APPEND LINES OF lt_itab2 TO gt_itab2.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN __default_attr="10" __jive_macro_name="size"&gt; Using a WITH parameter1 IN itab1 WITH parmeter2 IN itab2 where itab1 and itab2 would be ranges of values, may cause problem as you wont get the list of original couples of parametesr but a bunch with all the couples generated from every available values from original couples, (1, 1) (2, 2) will become (1, 1) (1, 2) (2, 1) (2, 2)...&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 11:59:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650766#M1666639</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-03-07T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650767#M1666640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danish.&lt;/P&gt;&lt;P&gt;here i need to submit two fileds from the Internal table and i also need to enable two check boxes of the calling program .so in total i need to pass 4 fields (two selection fields,two check boxes) to the calling program while submitting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can you please give me some idea on how to pass the internal table with all the above mentioned values to the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 05:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650767#M1666640</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-08T05:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650768#M1666641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have multiple values from the internal table and you have selection option in report selection, you use range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop the internal table and append the data with range and pass the range to submit program, and for check box use 'X' as a values. So the check box will be ticked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajesh V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 05:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650768#M1666641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T05:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650769#M1666642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh.&lt;/P&gt;&lt;P&gt;as you said i have used range as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_et_data INTO wa_et_data.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For Company Code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;wa_rsparams-low     = wa_et_data-refno .&lt;/P&gt;&lt;P&gt;APPEND wa_rsparams TO it_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;wa_rsparams-low     = wa_et_data-coyear.&lt;/P&gt;&lt;P&gt;APPEND wa_rsparams TO it_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;wa_rsparams-low     = 'X' .&lt;/P&gt;&lt;P&gt;APPEND wa_rsparams TO it_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;wa_rsparams-low     = 'X' .&lt;/P&gt;&lt;P&gt;APPEND wa_rsparams TO it_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now which SUBMIT statement must i use in this scenario as i have got multiple options like SELECTion set ,VARIANT etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 06:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650769#M1666642</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-08T06:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650770#M1666643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mr raymond.&lt;/P&gt;&lt;P&gt;i have done the coding as you said,please have a look at the below section for the  code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF jtab,&lt;/P&gt;&lt;P&gt;        ref_no LIKE /SAPSLL/CORREF_LEGAL_S-REFNO,&lt;/P&gt;&lt;P&gt;        year Like /SAPSLL/CUHD-COYEAR,&lt;/P&gt;&lt;P&gt;        disp_log TYPE c LENGTH 1,&lt;/P&gt;&lt;P&gt;        save_log TYPE c LENGTH 1.&lt;/P&gt;&lt;P&gt;TYPES : END OF jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_jtab TYPE TABLE OF jtab WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        wa_jtab LIKE LINE OF it_jtab,&lt;/P&gt;&lt;P&gt;Logic :&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  LOOP AT t_et_data INTO wa_et_data.&lt;/P&gt;&lt;P&gt;wa_jtab-ref_no = wa_et_data-refno.&lt;/P&gt;&lt;P&gt;wa_jtab-year = wa_et_data-coyear.&lt;/P&gt;&lt;P&gt;wa_jtab-disp_log = 'X'.&lt;/P&gt;&lt;P&gt;wa_jtab-save_log = 'X'.&lt;/P&gt;&lt;P&gt;APPEND wa_jtab TO it_jtab.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT /SAPSLL/CUHD_MASS_REFRESH_IMP USING SELECTION-SET'ZVAR' with S_REFNO-LOW = wa_jtab-ref_no with S_COYEAR-LOW = wa_jtab-year with P_APPLOG = wa_jtab-disp_log&lt;/P&gt;&lt;P&gt;      with P_APPL =  wa_jtab-save_log  .&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;         write :'not sucess'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i ran the program iam getting an information message saying 'No data found; change the selection criteria'.(from the sap standard program )&lt;/P&gt;&lt;P&gt;can you help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 09:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650770#M1666643</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-08T09:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650771#M1666644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mr Danish.&lt;/P&gt;&lt;P&gt;i have tried as you said but the output of the program says as 'No data found; change the selection criteria' (the message from the standard SAP Program '/SAPSLL/CUHD_MASS_REFRESH_IMP' to which i have submitted' ,the input is as follows :&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  LOOP AT t_et_data INTO wa_et_data.&lt;/P&gt;&lt;P&gt;wa_rsparams-selname = 'S_REFNO-LOW'.&lt;/P&gt;&lt;P&gt;wa_rsparams-kind    = 'S'.&lt;/P&gt;&lt;P&gt;wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;wa_rsparams-low     = wa_et_data-refno .&lt;/P&gt;&lt;P&gt;APPEND wa_rsparams TO it_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa2_rsparams-selname = 'S_COYEAR-LOW'.&lt;/P&gt;&lt;P&gt;wa2_rsparams-kind    = 'S'.&lt;/P&gt;&lt;P&gt;wa2_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;wa2_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;wa2_rsparams-low     = wa_et_data-coyear.&lt;/P&gt;&lt;P&gt;APPEND wa2_rsparams TO it2_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_jtab-ref_no = wa_rsparams.&lt;/P&gt;&lt;P&gt;"wa_jtab-year = wa_et_data-coyear.&lt;/P&gt;&lt;P&gt;wa_jtab-year = wa2_rsparams.&lt;/P&gt;&lt;P&gt;wa_jtab-disp_log = 'X'.&lt;/P&gt;&lt;P&gt;wa_jtab-save_log = 'X'.&lt;/P&gt;&lt;P&gt;APPEND wa_jtab TO it_jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT /SAPSLL/CUHD_MASS_REFRESH_IMP USING SELECTION-SET'ZVAR' with S_REFNO-LOW = wa_jtab-ref_no with S_COYEAR-LOW = wa_jtab-year with P_APPLOG = wa_jtab-disp_log.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;         write :'not sucess'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;*************While debugging the data in internal table is as follows :&lt;/P&gt;&lt;P&gt;WA_JTAB-REF_NO = S_REFNO-SIEQ0000000000000000000000000000&lt;/P&gt;&lt;P&gt;WA_JTAB-YEAR = S_COYEARSIEQ2011&lt;/P&gt;&lt;P&gt;WA_JTAB-DISP_LOG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will be waiting for your response.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 05:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650771#M1666644</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-09T05:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650772#M1666645</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;Just change the contents of wa_rsparams-selname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using &lt;STRONG&gt;S_REFNO-LOW&lt;/STRONG&gt; and &lt;STRONG&gt;S_COYEAR-LOW&lt;/STRONG&gt;, use &lt;STRONG&gt;S_REFNO&lt;/STRONG&gt; and &lt;STRONG&gt;S_COYEAR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 05:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650772#M1666645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T05:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650773#M1666646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,it is working Danish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 06:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650773#M1666646</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-09T06:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650774#M1666647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr Christian.&lt;/P&gt;&lt;P&gt;when i tried with the code that you have mentioned and executed the report,iam getting&lt;/P&gt;&lt;P&gt; the output as 'Typ Message text , List contains no data'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while debugging the values are as below :&lt;/P&gt;&lt;P&gt;LIST_TAB&lt;/P&gt;&lt;P&gt;LINE-1-,RFCSIXE[I940]-1-,RFCRECORDX[1000]-700236000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&lt;/P&gt;&lt;P&gt;LINE-2-,RFCSIXE[I940]-691-RFCRECORDX[1000]-FF06020102028000343130330000000039190000121F9D0269CF6A769B0682F038EB94C001091077F780C4857708D05FE4B6A181CA904851552254091A2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; waiitng for your solution .&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 06:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650774#M1666647</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-09T06:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: calling two sap standard programs using 'SUBMIT' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650775#M1666648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danish.&lt;/P&gt;&lt;P&gt;just a quick question,iam submitting the Work Area just for testing but now i want to submit the whole internal table instead of work area so how i can do that ?,the following below is the code which iam currently using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT t_et_data INTO wa_et_data.&lt;/P&gt;&lt;P&gt;wa_jtab-ref_no = wa_et_data-refno.&lt;/P&gt;&lt;P&gt;wa_jtab-year = wa_et_data-coyear.&lt;/P&gt;&lt;P&gt;wa_jtab-disp_log = 'X'.&lt;/P&gt;&lt;P&gt;wa_jtab-save_log = 'X'.&lt;/P&gt;&lt;P&gt;APPEND wa_jtab TO it_jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT /SAPSLL/CUHD_MASS_REFRESH_IMP USING SELECTION-SET'ZVAR' with S_REFNO = wa_jtab-ref_no  with S_COYEAR = wa_jtab-year   with P_APPL =  wa_jtab-save_log  EXPORTING LIST TO MEMORY AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note : i want to submit the whole itab instead of WA ,the reason being i dont want to call the SAP PROGRAM multiple times rahter call once using the SUBMIT stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 11:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-two-sap-standard-programs-using-submit-statement/m-p/8650775#M1666648</guid>
      <dc:creator>venkatasap</dc:creator>
      <dc:date>2012-03-09T11:28:41Z</dc:date>
    </item>
  </channel>
</rss>

