<?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: Function Module on MAST,STPO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566316#M1754820</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;Can i know where you are struck. Have you created generic data source in RSO2 specifying the Extraction method as "Function module" , Extractor as your new Function module name, and Extract Structure with your new structure ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create generic data source using FM can be found from document mentioned in below link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70806d62-1c59-2e10-7597-91c114600d32?overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70806d62-1c59-2e10-7597-91c114600d32?overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are facing trouble in creating functtion module then below link would be useful.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.newtosap.info/2012/07/creating-function-module-and-using-it.html"&gt;http://www.newtosap.info/2012/07/creating-function-module-and-using-it.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 09:26:09 GMT</pubDate>
    <dc:creator>former_member213275</dc:creator>
    <dc:date>2013-07-10T09:26:09Z</dc:date>
    <item>
      <title>Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566312#M1754816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to create a FM for a generic datasource with tables MAST and STPO for BOM report.I have created a structure(ZMASTSTPO) with all the fields of MAST,STPO tables(included common fields from MAST table not from STPO table) and also included the reference fields from reference tables T001,RC29P,CKHS in the same structure and given the same structure name and fields as the reference fields.We&amp;nbsp; also need to call standard FM CSAP_MAT_BOM_ITEM_SELECT in the FM we create.I have copied RSAX function group with the FM RSAX_BIW_GET_DATA_SIMPLE and in TABLES section i have given the structure ZMASTSTPO.I really don't know what to do with the rest of the sections like in IMPORT,EXPORT,CHANGING,SOURCECODE.I understand that i need to write SELECT statement which gets all the fields from the tables that i have given to populate the structure ZMASTSTPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Could you please anybody explain me how to write the code to populate the fields of the structure or could if anybody already has done the similar approach please explain me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Thanking you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566312#M1754816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-09T10:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566313#M1754817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do a search on how to write a FM and use of&amp;nbsp; import, export and table parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator Message :Links without explanations are not permitted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Venkat Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 11:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566313#M1754817</guid>
      <dc:creator>NAeda</dc:creator>
      <dc:date>2013-07-09T11:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566314#M1754818</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;Refer below document&amp;nbsp; which clearly explains &lt;SPAN style="font-size: 10pt;"&gt;how to extract BOM header and BOM item details into BW.&amp;nbsp; You can also see page number 7 where there is logic written calling FM "CSAP_MAT_BOM_ITEM_SELECT". Hope this helps. Please close the thread if it is answered.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0af489e-72b1-2b10-159d-abb8058fb88d?QuickLink=index&amp;amp;overridelayout=true&amp;amp;36837934524176"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0af489e-72b1-2b10-159d-abb8058fb88d?QuickLink=index&amp;amp;overridelayout=true&amp;amp;36837934524176&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 12:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566314#M1754818</guid>
      <dc:creator>former_member213275</dc:creator>
      <dc:date>2013-07-09T12:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566315#M1754819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Aeda and Srikanth.Srikanth i already have that document but the process they have explained is not clear and its not working.I have tried that.has anybody done this scenario if in case they were part of BW project.&lt;/P&gt;&lt;P&gt;Note: the table i have mentioned above CKHS..its actually STKO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 13:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566315#M1754819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-09T13:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566316#M1754820</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;Can i know where you are struck. Have you created generic data source in RSO2 specifying the Extraction method as "Function module" , Extractor as your new Function module name, and Extract Structure with your new structure ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create generic data source using FM can be found from document mentioned in below link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70806d62-1c59-2e10-7597-91c114600d32?overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70806d62-1c59-2e10-7597-91c114600d32?overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are facing trouble in creating functtion module then below link would be useful.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.newtosap.info/2012/07/creating-function-module-and-using-it.html"&gt;http://www.newtosap.info/2012/07/creating-function-module-and-using-it.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 09:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566316#M1754820</guid>
      <dc:creator>former_member213275</dc:creator>
      <dc:date>2013-07-10T09:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566317#M1754821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikanth sorry for late reply.I have created FM and Extract structure and finally created Generic dataosurce.When im checking in RSA3 it is giving ERRORS OCCURRED DURING EXTRACTION..not fetching any data.Do you have any idea.I think the code is looking fine.I have checked it ,no errors find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 09:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566317#M1754821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-16T09:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566318#M1754822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks everybody.I have copied a standard FM and used it for my scenario.Its working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 16:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566318#M1754822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-26T16:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module on MAST,STPO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566319#M1754823</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 close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 22:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-on-mast-stpo/m-p/9566319#M1754823</guid>
      <dc:creator>former_member213275</dc:creator>
      <dc:date>2013-07-26T22:45:43Z</dc:date>
    </item>
  </channel>
</rss>

