<?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: Functions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293597#M156197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It depends on the function module and ur requirement , mandatory fields has to be filled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2006 14:42:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-30T14:42:28Z</dc:date>
    <item>
      <title>Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293595#M156195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;               I am new in the world of SAP and also SDN.I would like to know which fields need to be filled for different function modules. Each function module has a different set of fields to be filled. Please fill me on the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Reson.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293595#M156195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293596#M156196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;just go to the function module and see the impoting and exporting parameters.&lt;/P&gt;&lt;P&gt;you will cone to know thw parameters to be passed and their types&lt;/P&gt;&lt;P&gt;to find the madatory fields to be passed see whether the&lt;/P&gt;&lt;P&gt;field is optional or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Kumar Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293596#M156196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293597#M156197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It depends on the function module and ur requirement , mandatory fields has to be filled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293597#M156197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293598#M156198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  [EXPORTING		&lt;/P&gt;&lt;P&gt;f1   = s1&lt;/P&gt;&lt;P&gt;	f2  = s2&lt;/P&gt;&lt;P&gt;	fn  = sn (parameters which you pass from program to function are&lt;/P&gt;&lt;P&gt;	s1, s2, sn)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  [IMPORTING &lt;/P&gt;&lt;P&gt;	f1   = r1&lt;/P&gt;&lt;P&gt;	f2  = r2&lt;/P&gt;&lt;P&gt;	fn  = rn (parameters which program receives you pass from function in&lt;/P&gt;&lt;P&gt;	r1, r2, rn)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  [TABLES 	f1 = a1 &amp;#133; fn = an]&lt;/P&gt;&lt;P&gt;	EXCEPTIONS notvalid = 1&lt;/P&gt;&lt;P&gt;	not correct = 2&lt;/P&gt;&lt;P&gt;	OTHERS = 5].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the condition where u use it, if u are simply defining a function module on ur own then u can pass ur variables in &amp;lt;b&amp;gt;exporting&amp;lt;/b&amp;gt; and get the return values in &amp;lt;b&amp;gt;importing&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293598#M156198</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-05-30T14:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293599#M156199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Every FM has IMPORTING, Exporting , Exception parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Importing :- r those parameter which used by FM to generate result.&lt;/P&gt;&lt;P&gt;       They are 2 type mandatory and option ( Has the Name Suggests)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exporting :- r those parameters ; actually a result &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception :- always uncomment the exception to avoid dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exceptions r handled statement between&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = exception Number&lt;/P&gt;&lt;P&gt;.......exception Handling.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the link ( A Book for freshers )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/index.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark Helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manoj Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293599#M156199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293600#M156200</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;Go to SE37 and give the FM name and go in display mode and check the import and table parameters if they mark it as Optional then you need not to pass for those parameters. if it is not optional then you have to pass the data to that parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293600#M156200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293601#M156201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Reson,&lt;/P&gt;&lt;P&gt;   WELCOME TO SDN.&lt;/P&gt;&lt;P&gt; It depends on which FM you are using and what are the Mandatory fields in that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example if you are using GUI_DOWNLOAD then these are the parameters to be passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;b&amp;gt;'GUI_DOWNLOAD'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;        filename         = ld_fullpath&lt;/P&gt;&lt;P&gt;        filetype         = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      APPEND           = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        write_field_separator = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CONFIRM_OVERWRITE = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;        data_tab         = it_datatab[]     "need to declare and populate&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;        file_open_error  = 1&lt;/P&gt;&lt;P&gt;        file_write_error = 2&lt;/P&gt;&lt;P&gt;        OTHERS           = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293601#M156201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293602#M156202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;goto se37 and open the FM documentation u want &lt;/P&gt;&lt;P&gt;u will find some thing like this &lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"     VALUE(CON_NAME) TYPE  DBCON_NAME &amp;lt;b&amp;gt;OPTIONAL&amp;lt;/b&amp;gt;&lt;/STRONG&gt;"  TABLES&lt;/P&gt;&lt;P&gt;*"      LOCK_LIST STRUCTURE  LOCK_L_SDB&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      NO_CONNECTION&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need not fill the params which r indicated as &amp;lt;b&amp;gt;optional&amp;lt;/b&amp;gt; but the rest r mandatory &amp;amp; shud b filled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293602#M156202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T14:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293603#M156203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wanted to point out that you don't have to code the function module signature in your ABAP code.  All you need to do is use the CALL FUNCTION pattern.  Doing so, the system will write the entire signature for you in your ABAP program.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Se38 and edit your program,  put your cursor at the desire spot and click the "Patterns" button,  in the dialog enter the name of your function module and hit enter.  You will see that the function call has been populated in your program.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 14:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions/m-p/1293603#M156203</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T14:50:51Z</dc:date>
    </item>
  </channel>
</rss>

