<?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: Table to find out the function modules used in a particular program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475021#M1417926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no exist such table.&lt;/P&gt;&lt;P&gt;But try this snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZSEARCH.
PARAMETERS: P_NAME LIKE D010SINF-PROG.
DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: TMP(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: FUNCT TYPE RS38L_FNAM OCCURS 0 WITH HEADER LINE.

DATA: INCL TYPE RSEUINC OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'RS_GET_ALL_INCLUDES'
     EXPORTING PROGRAM    = P_NAME
     TABLES    INCLUDETAB = INCL.

LOOP AT INCL.
  READ REPORT INCL-MASTER INTO TMP.
  APPEND LINES OF TMP TO PROGTXT.
  REFRESH TMP.
ENDLOOP.
READ REPORT P_NAME INTO TMP.

APPEND LINES OF TMP TO PROGTXT.

LOOP AT PROGTXT.
  IF PROGTXT CS 'CALL FUNCTION'.
    SEARCH PROGTXT FOR ''''.
    IF SY-SUBRC = 0.
      DO.
        SHIFT PROGTXT LEFT BY 1 PLACES.
        IF PROGTXT(1) = ''''.
          SHIFT PROGTXT LEFT BY 1 PLACES.
          DO.
            SHIFT PROGTXT RIGHT BY 1 PLACES.
            IF PROGTXT+71(1) = ''''.
              SHIFT PROGTXT RIGHT BY 1 PLACES.
              CONDENSE PROGTXT.
              FUNCT = PROGTXT. COLLECT FUNCT. EXIT.
            ENDIF.
          ENDDO.
          EXIT.
        ENDIF.
      ENDDO.
    ENDIF.
  ENDIF.
ENDLOOP.
SORT FUNCT.
LOOP AT FUNCT.
  WRITE: FUNCT. NEW-LINE.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 09:01:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-05T09:01:22Z</dc:date>
    <item>
      <title>Table to find out the function modules used in a particular program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475019#M1417924</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;Is there any standard table to find out the function modules used in a particular program?&lt;/P&gt;&lt;P&gt;Such as there is a table D010TAB to find out the tables used in a program .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 08:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475019#M1417924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T08:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table to find out the function modules used in a particular program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475020#M1417925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is no such table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can just do it hitting the find button and search with &lt;STRONG&gt;CALL FUNCTION&lt;/STRONG&gt; , select the main program option button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check the program SAPRSEUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Jan 5, 2010 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 08:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475020#M1417925</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-05T08:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table to find out the function modules used in a particular program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475021#M1417926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no exist such table.&lt;/P&gt;&lt;P&gt;But try this snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZSEARCH.
PARAMETERS: P_NAME LIKE D010SINF-PROG.
DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: TMP(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: FUNCT TYPE RS38L_FNAM OCCURS 0 WITH HEADER LINE.

DATA: INCL TYPE RSEUINC OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'RS_GET_ALL_INCLUDES'
     EXPORTING PROGRAM    = P_NAME
     TABLES    INCLUDETAB = INCL.

LOOP AT INCL.
  READ REPORT INCL-MASTER INTO TMP.
  APPEND LINES OF TMP TO PROGTXT.
  REFRESH TMP.
ENDLOOP.
READ REPORT P_NAME INTO TMP.

APPEND LINES OF TMP TO PROGTXT.

LOOP AT PROGTXT.
  IF PROGTXT CS 'CALL FUNCTION'.
    SEARCH PROGTXT FOR ''''.
    IF SY-SUBRC = 0.
      DO.
        SHIFT PROGTXT LEFT BY 1 PLACES.
        IF PROGTXT(1) = ''''.
          SHIFT PROGTXT LEFT BY 1 PLACES.
          DO.
            SHIFT PROGTXT RIGHT BY 1 PLACES.
            IF PROGTXT+71(1) = ''''.
              SHIFT PROGTXT RIGHT BY 1 PLACES.
              CONDENSE PROGTXT.
              FUNCT = PROGTXT. COLLECT FUNCT. EXIT.
            ENDIF.
          ENDDO.
          EXIT.
        ENDIF.
      ENDDO.
    ENDIF.
  ENDIF.
ENDLOOP.
SORT FUNCT.
LOOP AT FUNCT.
  WRITE: FUNCT. NEW-LINE.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 09:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475021#M1417926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T09:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table to find out the function modules used in a particular program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475022#M1417927</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;    Look at the table CROSS. I think you can get the includes names of your program and read this table with CROSS-INCLUDE = 'your includes' and CROSS-TYPE = 'F'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Diego Alvarez on Jan 5, 2010 10:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 09:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475022#M1417927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table to find out the function modules used in a particular program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475023#M1417928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radhika,&lt;/P&gt;&lt;P&gt;Just use the &lt;STRONG&gt;Where used list&lt;/STRONG&gt; button to find the programs in which a FM is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas if you want to find out the Function Group to which a FM belongs you can use table ENLFDIR.&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;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 09:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475023#M1417928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T09:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Table to find out the function modules used in a particular program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475024#M1417929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in se38. utilities -&amp;gt;find in source code... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the FM name...&lt;/P&gt;&lt;P&gt;and in the 'in program ' you can pass the program(s) you want. its a select option..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 09:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-to-find-out-the-function-modules-used-in-a-particular-program/m-p/6475024#M1417929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T09:12:46Z</dc:date>
    </item>
  </channel>
</rss>

