<?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  Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324057#M166411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dieu Fr&lt;/P&gt;&lt;P&gt;This is not the answer of my question. Even passing the values of the select options directly doesnt solve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2006 06:52:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-01T06:52:18Z</dc:date>
    <item>
      <title>Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324052#M166406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL,&lt;/P&gt;&lt;P&gt;I am using the following code to call transaction MC.9 when a button is clicked on the ALV.&lt;/P&gt;&lt;P&gt;  RANGES : r_werks FOR s031-werks,&lt;/P&gt;&lt;P&gt;           r_matnr FOR s031-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if ucomm = '&amp;amp;MC.9'.&lt;/P&gt;&lt;P&gt;    r_matnr[] = s_matrl[].&lt;/P&gt;&lt;P&gt;    r_werks[] = s_plant[].&lt;/P&gt;&lt;P&gt;    SUBMIT rmcb0300 AND RETURN&lt;/P&gt;&lt;P&gt;                WITH sl_matnr IN r_matnr&lt;/P&gt;&lt;P&gt;                WITH sl_werks IN r_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where s_matrl and s_plant are the select options on the selection screen in my program. I want to execute the transaction MC.9 with these selection screen values. I am able to go to the transaction with the code mentioned above but it is getting executed with the blank values i.e. the values from the selection screen parameters are not being passed to the transaction.&lt;/P&gt;&lt;P&gt;Need your help to know if there is something wrong with the code.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324052#M166406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324053#M166407</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, u don't need the ranges :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rmcb0300 AND RETURN&lt;/P&gt;&lt;P&gt;WITH sl_matnr IN s_matnr&lt;/P&gt;&lt;P&gt;WITH sl_werks IN s_werks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324053#M166407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324054#M166408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont pass the select options directly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead take the selection options value in another itab ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then assign that itab to r_matnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but itab and r_matnr should have the same structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324054#M166408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324055#M166409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sample program is actually working good.  The select-options are being passed successfully.  I have added the VIA SELECTION-SCREEN to the SUBMIT so that I can see the values being passed.  Please implement, does this work for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

tables: marc.

select-options: s_matrl for marc-matnr,
                s_plant for marc-werks.

ranges : r_werks for marc-werks,
         r_matnr for marc-matnr.

start-of-selection.

  r_matnr[] = s_matrl[].
  r_werks[] = s_plant[].
  submit rmcb0300 via selection-screen and return
         with sl_matnr in r_matnr
         with sl_werks in r_werks.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324055#M166409</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-31T16:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324056#M166410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hemant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of defining s_matrl and s_plant for selection screen and transferring them to r_matnr and r_werks,&lt;/P&gt;&lt;P&gt;u can directly useranges for selection screen.(without s_matrl and s_plant)&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324056#M166410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324057#M166411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dieu Fr&lt;/P&gt;&lt;P&gt;This is not the answer of my question. Even passing the values of the select options directly doesnt solve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 06:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324057#M166411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T06:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324058#M166412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naresh, &lt;/P&gt;&lt;P&gt;When I am passing the values from select option to range table I am able to get all the values into range table. So there is no need to take another itab. I am facing the problem in passing the values from range table to transaction code. Please read the question carefully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 06:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324058#M166412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T06:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324059#M166413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keerti, &lt;/P&gt;&lt;P&gt;It does not helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324059#M166413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324060#M166414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;P&gt;I was using the following statement...&lt;/P&gt;&lt;P&gt;submit rmcb0300 and return &lt;/P&gt;&lt;P&gt;with sl_matnr in r_matnr&lt;/P&gt;&lt;P&gt;with sl_werks in r_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i add VIA SELECTION SCREEN in to this statement(as usggested by you), it helps me a little as it is passing all the values to the transaction code (that is what i want) but it has created another problem by not executing the transaction code, it stays on to the initial screen. What I want is to execute the transaction code with those values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324060#M166414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324061#M166415</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 way..., use addition exporting list to memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT rmcb0300
&amp;lt;b&amp;gt;EXPORTING LIST TO MEMORY&amp;lt;/b&amp;gt;
WITH sl_matnr IN r_matnr
WITH sl_werks IN r_werks.
AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324061#M166415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324062#M166416</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;There is absolutely nothing wrong with this code - it works as a charm. When you say blank values are passed, did you see that in the debugger? Actually values sl_matnr and sl_werks will &amp;lt;u&amp;gt;remain blank untill the at selection-screen event&amp;lt;/u&amp;gt; - once they reach it, they will be filled. If even then you don't get any result from your program, then I guess you don't have data in your T environment for the given sel. options...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Are your select-options (s_matrl and s_plant) filled?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324062#M166416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324063#M166417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay, &lt;/P&gt;&lt;P&gt;I have already tried it. EXPORTING LIST TO MEMORY is not meant for the purpose I am trying to solve.&lt;/P&gt;&lt;P&gt;Please read the help carefully which says "Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately.". This is not what my requirement is. I want to execute the called report with the passed values and display the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324063#M166417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324064#M166418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brako,&lt;/P&gt;&lt;P&gt;When I execute the transaction MC.9 without entering any vaues I am getting the same output which my program gives. It clearly shows that no values are being passed from my program. Yes my select-options are having data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324064#M166418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324065#M166419</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;The example code calls program zdealer_contacts_add_edit and gets the values being passed by program zdealer_contacts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_zts0001 WITH KEY kunnr = v_kunnr&lt;/P&gt;&lt;P&gt;                                 cdseq = p_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    SUBMIT zdealer_contacts_add_edit AND RETURN&lt;/P&gt;&lt;P&gt;                                     WITH p_kunnr = v_kunnr&lt;/P&gt;&lt;P&gt;                                     WITH p_name1 = p_name1  "AVH&lt;/P&gt;&lt;P&gt;                                     WITH p_cdseq = p_code&lt;/P&gt;&lt;P&gt;                                     WITH p_flag = 'E'&lt;/P&gt;&lt;P&gt;                                     WITH p_addr = it_zts0001-zaddress&lt;/P&gt;&lt;P&gt;                                     WITH p_pers = it_zts0001-zcperson&lt;/P&gt;&lt;P&gt;                                     WITH p_numb = it_zts0001-zcnumber&lt;/P&gt;&lt;P&gt;                                     VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE i008 WITH 'No record found.'.&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;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324065#M166419</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-06-01T07:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324066#M166420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TABLES marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_matnr FOR marc-matnr,&lt;/P&gt;&lt;P&gt;                 s_werks FOR marc-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rmcb0300 AND RETURN&lt;/P&gt;&lt;P&gt;WITH sl_matnr IN s_matnr&lt;/P&gt;&lt;P&gt;WITH sl_werks IN s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; sl_matnr is empty in INITIALIZATION, but is filled in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; it works, please try !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324066#M166420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324067#M166421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@viraylab : so what ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 07:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324067#M166421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T07:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324068#M166422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this document for Submit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rep. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;1. ... LINE-SIZE col &lt;/P&gt;&lt;P&gt;2. ... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;3. ... TO SAP-SPOOL &lt;/P&gt;&lt;P&gt;4. ... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;5. ... AND RETURN &lt;/P&gt;&lt;P&gt;6. ... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;7. ... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;8. ... Various additions for parameter transfer to rep &lt;/P&gt;&lt;P&gt;9. ... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Calls the report rep . Leaves the active program and starts the new report rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... LINE-SIZE col &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with the line width col . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with lin lines (per page). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4&lt;/P&gt;&lt;P&gt;... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 5&lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 6&lt;/P&gt;&lt;P&gt;... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 7&lt;/P&gt;&lt;P&gt;... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN . &lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 9&lt;/P&gt;&lt;P&gt;... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Uses variants of the program prog when executing the program rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Important &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs prog and rep must have the same SELECT-OPTIONS and PARAMETER s. Otherwise, variants of the program prog may be destroyed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari . On the other hand, all variant-related actions on the selection screen of rep (Get , Save as variant , Display , Delete ) refer to the variants of prog . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Runtime errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD_PROGRAM_NOT_FOUND : The specified program was not found. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_TYPE : The specified program is not a report. &lt;/P&gt;&lt;P&gt;SUBMIT_IMPORT_ONLY_PARAMETER : Only one value passed to a report parameter. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_SIGN : Invalid value passed to a selection with the addition SIGN . &lt;/P&gt;&lt;P&gt;SUBMIT_IN_ITAB_ILL_STRUCTURE : Table passed to a selection with WITH sel IN itab had an unexpected structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this Example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: listobject like abaplist occurs 1 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;listobject = listobject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 1 .&lt;/P&gt;&lt;P&gt;&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;message ID '61' TYPE 'E' NUMBER '731'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with 'LIST_FROM_MEMORY'.&lt;/P&gt;&lt;P&gt;&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;SUBMIT rmcb0300 AND RETURN&lt;/P&gt;&lt;P&gt;WITH sl_matnr IN s_matnr&lt;/P&gt;&lt;P&gt;WITH sl_werks IN s_werks.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 09:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324068#M166422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T09:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324069#M166423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess Hermant knows the &amp;lt;F1&amp;gt; key...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 13:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324069#M166423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T13:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324070#M166424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by that Dieu fr. By the way my name is Hemant and not Hermant. Please read and spell the name properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324070#M166424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Submit  Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324071#M166425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok guys,  lets keep it professional. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hemant, I noticed that you have marked as solved,  would you like to share with us the resolution?  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program/m-p/1324071#M166425</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-01T14:41:37Z</dc:date>
    </item>
  </channel>
</rss>

