<?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 Submit Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137340#M1513094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on one requirement where in my program, I need to get the values from the standard program RGJVBJ02 the field values are for &lt;/P&gt;&lt;P&gt;1. RJVNAM,&lt;/P&gt;&lt;P&gt; 2. REGROU, &lt;/P&gt;&lt;P&gt;3.DOCNR , &lt;/P&gt;&lt;P&gt;4.DOCLN,&lt;/P&gt;&lt;P&gt; 5.RACCT&lt;/P&gt;&lt;P&gt;7.HSL, &lt;/P&gt;&lt;P&gt;8. JIBCL, &lt;/P&gt;&lt;P&gt;9. JIBSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can you please suggest me how my Submit Program statement should be so that i get those above field values in my Zprogram.&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>Tue, 31 Aug 2010 13:46:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-31T13:46:01Z</dc:date>
    <item>
      <title>Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137340#M1513094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on one requirement where in my program, I need to get the values from the standard program RGJVBJ02 the field values are for &lt;/P&gt;&lt;P&gt;1. RJVNAM,&lt;/P&gt;&lt;P&gt; 2. REGROU, &lt;/P&gt;&lt;P&gt;3.DOCNR , &lt;/P&gt;&lt;P&gt;4.DOCLN,&lt;/P&gt;&lt;P&gt; 5.RACCT&lt;/P&gt;&lt;P&gt;7.HSL, &lt;/P&gt;&lt;P&gt;8. JIBCL, &lt;/P&gt;&lt;P&gt;9. JIBSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can you please suggest me how my Submit Program statement should be so that i get those above field values in my Zprogram.&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>Tue, 31 Aug 2010 13:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137340#M1513094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T13:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137341#M1513095</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;they are two ways you can submit your Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 SUBMIT RGJVBJ02
             WITH RJVNAM    = p_RJVNAM
             WITH REGROU    = p_REGROU
"Use all rest of fields if the field is select options use *IN* Operator
              AND RETURN.

"Or

SUBMIT RGJVBJ02 USING SELECTION-SET p_var.     "P_VAriant is selection screen variant in RGJVBJ02 Program

"OR

*   Submit report in background and creating spool
  SUBMIT  RGJVBJ02  USING SELECTION-SET p_var
      TO SAP-SPOOL WITHOUT SPOOL DYNPRO
      SPOOL PARAMETERS wa_pri_params AND RETURN.
  COMMIT WORK AND WAIT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 13:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137341#M1513095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137342#M1513096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was really helpful.But i have a question,where if some of the field values are not part of selection screen how can i declare my statement.Could please give me a sample program,really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137342#M1513096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T14:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137343#M1513097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was really helpful.But i have a question,where if some of the field values are not part of selection screen how can i declare my statement.Could please give me a sample program,really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137343#M1513097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137344#M1513098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if these field are not part of i/p parameters , you cant use them in submit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137344#M1513098</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-08-31T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137345#M1513099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;Please try reading the valuse via field symbols . For example , after you submit the program RGJVBJ02 and return to your Z-program , you can use the field symbols to read those value ( either internal table or global variable like (RGJVBJ02)INT_JADE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;The below code example would help ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Step 1: Assign the program/field name of calling program variable to field symbol 1&lt;/P&gt;&lt;P&gt;assign '(RGJVBJ02)INT_JADE' to &amp;lt;fs1&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Step 2: Assign field Symbol contents to field symbol  2&lt;/P&gt;&lt;P&gt;assign (&amp;lt;fs1&amp;gt;) to &amp;lt;fs2&amp;gt;.           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Step 3: Assign Field Symbol 2 to avariable in the current function module/Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;From the above example , you can access the internal table INT_JADE once you submit the report RGJVBJ02. This way you can access all the fields that are defined in the program RGJVBJ02. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can implement  the implecit enhancement in the report RGJVBJ02 where the required value can be exported to memory and you can then read those values in your Z-Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debaraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Debaraj Sahoo on Sep 1, 2010 11:36 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 15:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137345#M1513099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T15:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137346#M1513100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not all the fields are part of the selection screen. Four of them are in selection screen and rest are populated inside the program in some select queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am working on this Submit program for the first time an example will really help me out. Give me some clue so that in my Zprogram I can get all these field values from the other standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 05:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137346#M1513100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T05:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137347#M1513101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then why dont you use &lt;STRONG&gt;EXPORT&lt;/STRONG&gt; statement, for values which you cant export using selection set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

EXPORT G00 TO MEMORY ID 'Y_ECC6DEV_20100216_110600'

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abhii on Sep 1, 2010 8:17 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abhii on Sep 1, 2010 8:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 06:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/7137347#M1513101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T06:17:21Z</dc:date>
    </item>
  </channel>
</rss>

