<?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: INCLUDE name for function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560411#M253472</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;  Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES: TFDIR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: V_INCLUDENAME TYPE CHAR50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS: P_FM LIKE TFDIR-FUNCNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM TFDIR&lt;/P&gt;&lt;P&gt;         WHERE FUNCNAME = P_FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE TFDIR-PNAME 'U' TFDIR-INCLUDE INTO V_INCLUDENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / V_INCLUDENAME..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2006 17:21:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-11T17:21:45Z</dc:date>
    <item>
      <title>INCLUDE name for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560407#M253468</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;How to determine the INCLUDE name for the function module name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program input: function module name&lt;/P&gt;&lt;P&gt;Program output: INCLUDE name (like SAPLZ....U01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 17:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560407#M253468</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-10-11T17:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE name for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560408#M253469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the assumption is that all function groups main programs start with SAPL and then the function group name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this would be just a concatenation of the two, to derive the main program for the function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the include names for a function module, use the following function module to get all functions in a group, and this will also give the include name for each function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_FUNCTION_POOL_CONTENTS&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 17:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560408#M253469</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-11T17:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE name for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560409#M253470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this function module FUNCTION_INCLUDE_INFO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 17:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560409#M253470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T17:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE name for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560410#M253471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

data: ifunct type table of  rs38l_incl.
data: xfunct type  rs38l_incl.

data: xmain_program type sy-repid.

parameters: p_area type tlibt-area.

call function 'RS_FUNCTION_POOL_CONTENTS'
     exporting
          function_pool           = p_area
     tables
          functab                 = ifunct
     exceptions
          function_pool_not_found = 1
          others                  = 2.


xmain_program = 'SAPL'.
xmain_program+4 = p_area.



write:/ xmain_program.
loop at ifunct into xfunct.
  write:/ xfunct-FUNCNAME, xfunct-include.
endloop.

&lt;/CODE&gt;&lt;/PRE&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>Wed, 11 Oct 2006 17:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560410#M253471</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-11T17:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: INCLUDE name for function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560411#M253472</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;  Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES: TFDIR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: V_INCLUDENAME TYPE CHAR50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS: P_FM LIKE TFDIR-FUNCNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM TFDIR&lt;/P&gt;&lt;P&gt;         WHERE FUNCNAME = P_FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE TFDIR-PNAME 'U' TFDIR-INCLUDE INTO V_INCLUDENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / V_INCLUDENAME..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 17:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-name-for-function-module/m-p/1560411#M253472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T17:21:45Z</dc:date>
    </item>
  </channel>
</rss>

