<?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 function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542080#M577753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to know abt function module in detail can any body  tell me or can tell the perfect site for that can u plz tell me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 12:47:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T12:47:19Z</dc:date>
    <item>
      <title>function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542080#M577753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to know abt function module in detail can any body  tell me or can tell the perfect site for that can u plz tell me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542080#M577753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542081#M577754</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;Function Modules are Global ABAP programs created by SAP for reusable purpose. They have IMPORT, EXPORT and TABLE parameters, and EXCEPTIONS to through when error occurs.&lt;/P&gt;&lt;P&gt;You can create them from TCode SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the following doc:&lt;/P&gt;&lt;P&gt;Function modules are cross-program, reusable procedures that are organized into function groups, and whose functions are implemented between the statements FUNCTION and ENDFUNCTION. Function modules and their interfaces are created in the Function Builder. &lt;/P&gt;&lt;P&gt;Function Module Interfaces &lt;/P&gt;&lt;P&gt;The parameter interface of a function module is defined in the Function Builder. It includes the definition of interface parameters and the specification of exceptions that can be triggered by a function module. The Function Builder automatically generates comment lines below the FUNCTION statement in the source code of the function module, which represent the interface of the function module with the following syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;... [IMPORTING parameters] &lt;/P&gt;&lt;P&gt;[EXPORTING parameters] &lt;/P&gt;&lt;P&gt;[CHANGING parameters] &lt;/P&gt;&lt;P&gt;[TABLES table_parameters] &lt;/P&gt;&lt;P&gt;[{RAISING|EXCEPTIONS} exc1 exc2 ...] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax and semantics of IMPORTING, EXPORTING, CHANGING, RAISING, and EXCEPTIONS mainly correspond to the definition of method interfaces with [CLASS-]METHODS. The additional option of defining table parameters using TABLES is obsolete. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface parameters &lt;/P&gt;&lt;P&gt;The interface parameters are defined on the relevant tab pages in the Function Builder. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING parameters are input parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input parameter. The content of the actual parameter is passed to the input parameter when the call is made. The content of an input parameter for which 'pass by reference' is defined cannot be changed in the function module. &lt;/P&gt;&lt;P&gt;EXPORTING parameters are output parameters. When the function module is called, a suitable actual parameter can be specified for every output parameter. The content of an output parameter that is defined for 'pass by value' is transferred to the actual parameter if the function module is completed without errors. An output parameter that is defined for pass by reference is not initialized when the function module is called. &lt;/P&gt;&lt;P&gt;CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter. &lt;/P&gt;&lt;P&gt;TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement. &lt;/P&gt;&lt;P&gt;Exceptions &lt;/P&gt;&lt;P&gt;The exceptions of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception is defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALLING A FUNCTION MODULE:&lt;/P&gt;&lt;P&gt;1)In U ABAP Editor --&amp;gt; Click "Patter" ---&amp;gt; Selection Option Button "Call Function"&lt;/P&gt;&lt;P&gt;--&amp;gt; Write the Corresponding FM name --&amp;gt; Hit Enter&lt;/P&gt;&lt;P&gt;2)The appropriate import ,export Parameters will be displayed in ur editor&lt;/P&gt;&lt;P&gt;3)Pass the Values Here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542081#M577754</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-12T12:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542082#M577755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function Modules for creating programs (Useful when you are generating programs)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_PROGRAM_CHECK_NAME  : To check program names if you are generating them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_CORR_INSERT : To insert the correction request in the repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPS_OBJECT_ACTIVATE : To activate repository objects, for example - to activate a newly generated program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_DELETE_PROGRAM : To delete the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_ACCESS_PERMISSION : To lock or unlock a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function Modules related to Date and Time Calculations&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALCULATE_DATE  : Calculates the future date based on the input .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_TO_DAY : Returns the Day for the entered date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATE_COMPUTE_DAY  : Returns weekday for a date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_GET_WEEK  : Returns week for a date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DAY_ATTRIBUTES_GET  : Returns attributes for a range of dates specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTHS_BETWEEN_TWO_DATES  : To get the number of months between the two dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END_OF_MONTH_DETERMINE_2  : Determines the End of a Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_HK_DIFF_BT_2_DATES  : Find the difference between two dates in years, months and days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIMA_DAYS_AND_MONTHS_AND_YEARS  : Find the difference between two dates in years, months and days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET  : Get the names of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WEEK_GET_FIRST_DAY  : Get the first day of the week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HRGPBS_HESA_DATE_FORMAT  : Format the date in dd/mm/yyyy format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_CALC_DURATION_FROM_DATETIME  : Find the difference between two date/time and report the difference in hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_MC_TIME_DIFFERENCE  : Find the time difference between two date/time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_99S_INTERVAL_BETWEEN_DATES  : Difference between two dates in days, weeks, months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LAST_DAY_OF_MONTHS  : Returns the last day of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function Modules Related To Formatting&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOI_PUT_SIGN_IN_FRONT  : Displays the negative sign in front of the numeral&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RKD_WORD_WRAP  : Wrap text into several lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT  : Pad zeros to the number at the left&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT  : Eliminate zeros to the number at the left&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function Modules Related To Dialog Prompts&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_TO_CONFIRM  : Displays a popup dialog with a user defined message for confirmation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_TO_GET_VALUE  : Displays a popup dialog requesting a value for a particular table-fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPGUI_PROGRESS_INDICATOR  : Displays a progress bar with text to denote the percentage of completion and status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME_GET  : Displays a popup dialog to get the presentation server filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4_DATE  : Displays a popup dialog to choose date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_UPLOAD  : Upload a file from the presentation server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_TO_SELECT_MONTH  : Display a pop-up to select a month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function modules related to RFC communication&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC_CONNECTION_CLOSE : Close a RFC connection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC_GET_SYSTEM_INFO : Give system's information of a remote system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules related to reading/writing files &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILE_READ_AND_CONVERT_SAP_DATA: Uploads the file from either presentation or application server into an internal table  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function Modules related to sending emails&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1 - Sends emails with texts and attachments&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_SEND_API1 - Sends emails with texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function Modules related to F4 Help&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST -  F4 help also returning the value to be displayed in internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Rewards point if helpful[/b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;P&gt;Abhay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542082#M577755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542083#M577756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;help.sap.com/saphelp_nw04/helpdata/en/d1/801f50454211d189710000e8322d00/content.htm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;web.mit.edu/ist/org/admincomputing/dev/abap_review_check_list.htm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.erpgenie.com/abap/functions.htm" target="test_blank"&gt;www.erpgenie.com/abap/functions.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542083#M577756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T12:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542084#M577757</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;chk out all the links from this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/advancedsearch?query=function%20modules&amp;amp;cat=sdn_all" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/advancedsearch?query=function%20modules&amp;amp;cat=sdn_all&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;jaideep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*reward points if useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 13:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2542084#M577757</guid>
      <dc:creator>jaideeps</dc:creator>
      <dc:date>2007-07-12T13:08:41Z</dc:date>
    </item>
  </channel>
</rss>

