<?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: report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402705#M194574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the version of submit you want, as long as report1 and 2 have identical selection screens:&lt;/P&gt;&lt;P&gt;submit report2 WITH SELECTION-TABLE seltab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;seltab is an internal table with the structure RSPARAMS. &lt;/P&gt;&lt;P&gt;This variant allows you to set the names and contents of the parameters and selection options dynamically at runtime. &lt;/P&gt;&lt;P&gt;You can use the function module RS_REFRESH_FROM_SELECTOPTIONS to read the contents of the parameters and selection options of the current program into an internal table seltab with the structure RSPARAMS. By using SUBMIT ... WITH SELECTION-TABLE seltab, you can then pass these values on directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2006 06:45:03 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2006-06-14T06:45:03Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402698#M194567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    i am using two report programs r1 and r2.&lt;/P&gt;&lt;P&gt;i want to execute the report program r1 inside r2..how can i call that report program...so that when i execute the report r2 i should be able to give the inputs for r1..can anyone solve this plz..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402698#M194567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T06:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402699#M194568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to write &amp;lt;b&amp;gt;submit with parameters&amp;lt;/b&amp;gt; statement in R2 to call R1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402699#M194568</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-14T06:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402700#M194569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satheesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use SUBMIT. See synaxt below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT REPORT01 
       VIA SELECTION-SCREEN 
       USING SELECTION-SET 'VARIANT1' 
       USING SELECTION-SETS OF PROGRAM 'REPORT00' 
       AND RETURN. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer ABAPDOC tcode for futher doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402700#M194569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T06:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402701#M194570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Submit r1 inside the report r2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SUBMIT Report(r1)  VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;                                      AND RETURN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402701#M194570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T06:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402702#M194571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See the code below for ur requirement:&lt;/P&gt;&lt;P&gt;suppose u want to call R1 inside r2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside r2:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   Call to r1 AND Pass the below mentioned&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SUBMIT r1 WITH einlesen EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH headfile EQ lv_source&lt;/P&gt;&lt;P&gt;                      WITH bankid   EQ lc_bacs&lt;/P&gt;&lt;P&gt;                      WITH mregel   EQ lc_session&lt;/P&gt;&lt;P&gt;                      WITH pa_mode  EQ lc_post_method&lt;/P&gt;&lt;P&gt;                      WITH valut_on EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH pa_xcall EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH batch    EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH spool    EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH p_koausz EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH p_tape_t EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH e_option EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH m_match  EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH p_bupro  EQ lc_x&lt;/P&gt;&lt;P&gt;                      WITH p_statik EQ lc_x&lt;/P&gt;&lt;P&gt;                      TO SAP-SPOOL WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                      KEEP IN SPOOL 'X'&lt;/P&gt;&lt;P&gt;                      AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Latheesh Kaduthara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402702#M194571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T06:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402703#M194572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satheesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can execute a program within another program using the statement SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you want to provide values for fields in program r1 , you can use the submit statement like this within R2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT R1 WITH FIELD1 = 'VALUE1'&lt;/P&gt;&lt;P&gt;          WITH FIELD2 = 'VALUE2'&lt;/P&gt;&lt;P&gt;          AND RETURN.&lt;/P&gt;&lt;P&gt;This will provide the values to the fields in R1 and execute the program after that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to just provide values to the fields in R1 program, you can use VIA SELECTION-SCREEN addition after specifying the R1 program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT R1 VIA SELECTION SCREEN WITH FIELD1 = 'VALUE1'&lt;/P&gt;&lt;P&gt;          WITH FIELD2 = 'VALUE2'&lt;/P&gt;&lt;P&gt;          AND RETURN.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402703#M194572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T06:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402704#M194573</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 do this by using the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit r1 via selection screen.&lt;/P&gt;&lt;P&gt;in your r2 program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402704#M194573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T06:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402705#M194574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the version of submit you want, as long as report1 and 2 have identical selection screens:&lt;/P&gt;&lt;P&gt;submit report2 WITH SELECTION-TABLE seltab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;seltab is an internal table with the structure RSPARAMS. &lt;/P&gt;&lt;P&gt;This variant allows you to set the names and contents of the parameters and selection options dynamically at runtime. &lt;/P&gt;&lt;P&gt;You can use the function module RS_REFRESH_FROM_SELECTOPTIONS to read the contents of the parameters and selection options of the current program into an internal table seltab with the structure RSPARAMS. By using SUBMIT ... WITH SELECTION-TABLE seltab, you can then pass these values on directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 06:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402705#M194574</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-06-14T06:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402706#M194575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sateesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose if there is selection screen for r2 and u want to pass some values to that parameters u can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT r1  &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;and if there is no selection screen for report r1 even though u want to pass values to particular varibles ussing EXPORT.. ID and u caIMPORT in r1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if there is no need to pass pass any values into R1 just simply SUBMIT r1 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 11:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1402706#M194575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T11:50:50Z</dc:date>
    </item>
  </channel>
</rss>

