<?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 Creating FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401535#M535047</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;Requirment :  To create a Function Module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTS : vbeln (mandatory) &lt;/P&gt;&lt;P&gt;         posnr (optional)&lt;/P&gt;&lt;P&gt;         file path (mandatory)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT : File (type .txt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the steps involved and the DATA TYPES that need to be defined in F.M for &lt;/P&gt;&lt;P&gt;input fields and output .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;P&gt;Vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 10:37:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T10:37:31Z</dc:date>
    <item>
      <title>Creating FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401535#M535047</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;Requirment :  To create a Function Module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUTS : vbeln (mandatory) &lt;/P&gt;&lt;P&gt;         posnr (optional)&lt;/P&gt;&lt;P&gt;         file path (mandatory)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT : File (type .txt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the steps involved and the DATA TYPES that need to be defined in F.M for &lt;/P&gt;&lt;P&gt;input fields and output .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;P&gt;Vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 10:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401535#M535047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T10:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401536#M535048</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;     We can create FM in Function-builder for that one we work with SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     for declaring fields choose option IMPORT of function builder, under that define &lt;/P&gt;&lt;P&gt;     field&amp;lt;b&amp;gt; vbeln&amp;lt;/b&amp;gt;  type &amp;lt;refarence table-field &amp;gt; and provide value for it type , check the mandatory option.&lt;/P&gt;&lt;P&gt;        &amp;lt;b&amp;gt;  posnr&amp;lt;/b&amp;gt; type &amp;lt; refarence table-field&amp;gt;and check the optional option.&lt;/P&gt;&lt;P&gt;        file path type c . here u choose the proper dictionary datatype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     next Select the option EXPORTING.&lt;/P&gt;&lt;P&gt;     file type ( specifies the same type as mentioned above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sudheer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 10:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401536#M535048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T10:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401537#M535049</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;First u need to create a function group &lt;/P&gt;&lt;P&gt;use SE37 goto--&amp;gt; function groups --&amp;gt; create group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this FG to create a FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import parameters &lt;/P&gt;&lt;P&gt;VBELN     type          VBELN Optional = " "&lt;/P&gt;&lt;P&gt;FILE	TYPE	LOCALFILE Optional = " "&lt;/P&gt;&lt;P&gt;POSNR	TYPE	POSNR Optional = "X"&lt;/P&gt;&lt;P&gt;	                     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be no export parameter .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within the FM use WS_DOWNLOAD , GUI_DOWNLOAD to crete the file on the path specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the code &lt;/P&gt;&lt;P&gt;activate the top include &amp;amp; the FM together &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 11:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401537#M535049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401538#M535050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link,which ll give you detail about creating a function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 11:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fm/m-p/2401538#M535050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T11:23:36Z</dc:date>
    </item>
  </channel>
</rss>

