<?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/PROGRAM statement missing in or Program Type I (INCLUDE ) in RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680425#M886329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is the Function group is inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction SE80, select the Function group from the drop down and activate. Once it is activated the problem will be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 9, 2008 6:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2008 15:07:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-09T15:07:21Z</dc:date>
    <item>
      <title>REPORT/PROGRAM statement missing in or Program Type I (INCLUDE ) in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680422#M886326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have created one RFC to retrieve the sales item data based on the sales document number from VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I am getting the syntax error : REPORT/PROGRAM statement missing in or Program Type I (INCLUDE ) while activating the Function Module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really confusing bcoz i have tried by creating the other function module without writing any source code even then its giving the same error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here am giving the code which i have written in my function module. Could anybody look into this and give me some suggestion what would be the problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;IMPORT&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBELN	TYPE	ZBAPI_IMPORT-VBELN		Sales and Distribution Document Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;TABLES&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VBELN	LIKE	ZBAPI_TABLE	SD Document Numbers, Not Sorted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;SOURCE CODE&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZBAPI_SALES_ITEM_DATA.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(VBELN) TYPE  ZBAPI_IMPORT-VBELN&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(RETURN) TYPE  BAPIRETURN&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      IT_VBELN STRUCTURE  ZBAPI_TABLE OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM VBAP&lt;/P&gt;&lt;P&gt;  INTO  CORRESPONDING FIELDS OF IT_VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sireesha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 14:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680422#M886326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT/PROGRAM statement missing in or Program Type I (INCLUDE ) in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680423#M886327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go to transaction SE80.&lt;/P&gt;&lt;P&gt;There you select the function group from the drop down box.&lt;/P&gt;&lt;P&gt;And in the below field mention the function group name which you are using and click on display button.&lt;/P&gt;&lt;P&gt;Now right click on the inactive objects present under the group and activate it.&lt;/P&gt;&lt;P&gt;Especially all the includes present under this function group should be in active mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 9, 2008 6:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 15:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680423#M886327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT/PROGRAM statement missing in or Program Type I (INCLUDE ) in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680424#M886328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open function module in se37..now press ctrl&lt;EM&gt;shift&lt;/EM&gt;F5..check the main program ..double click on the item topmost in the heirarchy..from the dialogue box choose main program...if everything is alright ..i.e., all the includes start with statement function-pool..then simply right click on the function pool name ..topmost in heirarchy...and choose activate..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 15:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680424#M886328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT/PROGRAM statement missing in or Program Type I (INCLUDE ) in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680425#M886329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is the Function group is inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction SE80, select the Function group from the drop down and activate. Once it is activated the problem will be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 9, 2008 6:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 15:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680425#M886329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT/PROGRAM statement missing in or Program Type I (INCLUDE ) in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680426#M886330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sireesha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the problem with the function group.if the function group is not active then you will get this error.please follow these steps to activate the function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)go to se37&lt;/P&gt;&lt;P&gt;2)go to menu item  &lt;STRONG&gt;Goto&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3)go to Function Groups-&amp;gt;Display Group&lt;/P&gt;&lt;P&gt;4)enter the functiona group name and press enter&lt;/P&gt;&lt;P&gt;5)you will get another screen.In that click on main program.&lt;/P&gt;&lt;P&gt;6)you will get abap editor with the functionpool name as SAPLfunctiongroupname&lt;/P&gt;&lt;P&gt;7)click on Include provided for Global data.you will go to the abapeditor with that include.activate it.if you get any error click on activate any way. &lt;/P&gt;&lt;P&gt;8)click on include provided for function modules.you will go to the abapeditor with that include.activate it.if you get any error click on activate any way.go back.&lt;/P&gt;&lt;P&gt;9)click on activate in the screen that you get in step 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now activate the functional module.you will not get any error.in steps 7 and 8 i mentioned that click on activate any way if you get error.why because after creating function group immediately you have activate it using the above steps.but if you used the function group without activating for a functionalmodule then you will get the above said error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 9, 2008 6:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 15:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program-statement-missing-in-or-program-type-i-include-in-rfc/m-p/3680426#M886330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T15:42:02Z</dc:date>
    </item>
  </channel>
</rss>

