<?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 a report from function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620560#M872215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2008 08:43:31 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-03-31T08:43:31Z</dc:date>
    <item>
      <title>calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620558#M872213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an a transaction code ZABW and a program under this transaction ZBW_SAM, now I want to create a function module, and i want to call the above program/report by the function  module. is it possible? , if yes, guide me and give me suitable code.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620558#M872213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T08:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620559#M872214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the SUBMIT Option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620559#M872214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T08:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620560#M872215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620560#M872215</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-03-31T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620561#M872216</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 FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a FM in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN CODING write the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'TCODE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morris Bond.&lt;/P&gt;&lt;P&gt;Reward Points if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620561#M872216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T08:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620562#M872217</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;Yes you can call report using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUBMIT {rep|(name)} [selscreen_options] &lt;/P&gt;&lt;P&gt;                    [list_options] &lt;/P&gt;&lt;P&gt;                    [job_options] &lt;/P&gt;&lt;P&gt;                    [AND RETURN]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620562#M872217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T08:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620563#M872218</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; whenever you want to run program there use below syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Call program from FM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUBMIT demo_program_submit_rep1  AND RETURN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;                      WITH paramet eq 'Selection 1'&lt;/P&gt;&lt;P&gt;                      WITH selecto IN seltab&lt;/P&gt;&lt;P&gt;                      WITH selecto ne 3&lt;/P&gt;&lt;P&gt;                      AND RETURN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620563#M872218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T08:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620564#M872219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use &lt;/P&gt;&lt;P&gt;Submit pogram name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can include that program inside of ur functon module. But for this ur program should be include type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can create one transaction for ur program and call that transaction inside of ur FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 08:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620564#M872219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: calling a report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620565#M872220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Hi Jaya,
Yes. It is possible to call ur custom program using SUBMIT statement.

1. If u have data to pass then build table type RSPARAMS and use below statement.
&lt;PRE&gt;&lt;CODE&gt;
data:
      rspar_tab  TYPE TABLE OF rsparams, 
      rspar_line LIKE LINE OF rspar_tab,
SUBMIT report1 WITH SELECTION-TABLE rspar_tab 
               AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt; 
1. If u want to create variant to the program and use that. use the below statement .
&lt;PRE&gt;&lt;CODE&gt;SUBMIT report1 USING SELECTION-SET 'VAR1' "variant 
               AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt; 

Regards,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 09:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-from-function-module/m-p/3620565#M872220</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-03-31T09:04:22Z</dc:date>
    </item>
  </channel>
</rss>

