<?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: Dynamic external perform / subroutine pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900570#M55089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, i overlooked the fact that you are generating it dynamically. you cannot verify in SE38. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But have you checked the sy-subrc after generation ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Generation errors can occur, if the program contains errors in the declaration statements that are not recognized during the static syntax check.&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use the error-handling for the GENERATE SUBROUTINE POOL statement (described clearly in the online documentation).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2005 13:37:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-27T13:37:59Z</dc:date>
    <item>
      <title>Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900567#M55086</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;I generated a subroutine pool (GENERATE SUBROUTINE POOL). Within this subroutine pool i implemented a FORM routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I try to call the FORM routine with dynamic external perform and get a PERFORM_NOT_FOUND shortdump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following syntax:&lt;/P&gt;&lt;P&gt;PERFORM (&amp;lt;field containing the name of the FORM routine&amp;gt;) IN PROGRAM (&amp;lt;field containing the 'name' of the subroutine pool (e.g. '%_T03PD0'&amp;gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is my mistake?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 12:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900567#M55086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900568#M55087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mike , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. are you telling me that you are getting the dump only if you specify the subroutine and program name dynamically ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if you specify it statically, does it work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. also, are you developing the subroutine pool dynamically? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. have you cross-checked in se38 if the subroutine pool is in active status?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anand mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 12:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900568#M55087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T12:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900569#M55088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. subroutine is generate dynamically (SYNTAX-CHECK: OK);&lt;/P&gt;&lt;P&gt; name of subroutine also dynamically&lt;/P&gt;&lt;P&gt;2. Yes is case of the name of the subroutine (e.g PERFORM formxx IN PROGRAM (prog).&lt;/P&gt;&lt;P&gt;3. Yes&lt;/P&gt;&lt;P&gt;4. How?! -&amp;gt; dynamically implemented subroutine pool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 13:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900569#M55088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900570#M55089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, i overlooked the fact that you are generating it dynamically. you cannot verify in SE38. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But have you checked the sy-subrc after generation ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Generation errors can occur, if the program contains errors in the declaration statements that are not recognized during the static syntax check.&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use the error-handling for the GENERATE SUBROUTINE POOL statement (described clearly in the online documentation).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 13:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900570#M55089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900571#M55090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but... of course i checked the SY-SUBRC and of course i did the normal error handling after GENERATE SUBROUTINE POOL ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 13:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900571#M55090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T13:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900572#M55091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you give the code snippet here so that i may be able to detect if something's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 13:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900572#M55091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T13:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900573#M55092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ZMS_TEST_LI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: DIV_TABLE(5000) TYPE C OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: GT_TMPTAB TYPE DIV_TABLE,&lt;/P&gt;&lt;P&gt;      GT_BATCH LIKE /RTC/SV_LI001 OCCURS 0,&lt;/P&gt;&lt;P&gt;      GS_BATCH LIKE LINE OF GT_BATCH,&lt;/P&gt;&lt;P&gt;      GV_TABNAME LIKE DD02L-TABNAME VALUE '/RTC/SV_LI001',&lt;/P&gt;&lt;P&gt;      GV_SRNAME LIKE SY-REPID,&lt;/P&gt;&lt;P&gt;      GV_FORMROUTINE LIKE SY-REPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: /RTC/AS_INDX.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;build name of subroutine:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  'form_' + &amp;lt;name of ABAP-Suite customizing table&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE 'f_' GV_TABNAME INTO GV_FORMROUTINE.&lt;/P&gt;&lt;P&gt;  REPLACE '/' WITH SPACE INTO GV_FORMROUTINE.&lt;/P&gt;&lt;P&gt;  REPLACE '/' WITH SPACE INTO GV_FORMROUTINE.&lt;/P&gt;&lt;P&gt;  CONDENSE GV_FORMROUTINE NO-GAPS.&lt;/P&gt;&lt;P&gt;  TRANSLATE GV_FORMROUTINE TO LOWER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM GENERATE_IMPORT_FORM USING GV_TABNAME&lt;/P&gt;&lt;P&gt;                               CHANGING GV_SRNAME&lt;/P&gt;&lt;P&gt;                                        GV_FORMROUTINE&lt;/P&gt;&lt;P&gt;                                        SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;check whether SUBROUTINE POOL was generated&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHECK SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM F_RTCSV_LI001 IN PROGRAM (GV_SRNAME)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; PERFORM (gv_formroutine) IN PROGRAM (gv_srname)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES GT_TMPTAB&lt;/P&gt;&lt;P&gt;    IF FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT GT_TMPTAB INTO GS_BATCH.&lt;/P&gt;&lt;P&gt;    WRITE: / GS_BATCH-MANDT,&lt;/P&gt;&lt;P&gt;             GS_BATCH-KEYTYPE,&lt;/P&gt;&lt;P&gt;             GS_BATCH-KEYCOMP,&lt;/P&gt;&lt;P&gt;             GS_BATCH-KEYVERS,&lt;/P&gt;&lt;P&gt;             GS_BATCH-KEYVALUE,&lt;/P&gt;&lt;P&gt;             GS_BATCH-LICENCE.&lt;/P&gt;&lt;P&gt;    APPEND GS_BATCH TO GT_BATCH.&lt;/P&gt;&lt;P&gt;  ENDLOOP. "LOOP AT gt_tmptab INTO gs_batch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY (GV_TABNAME) CLIENT SPECIFIED FROM TABLE GT_BATCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    DELETE FROM /RTC/AS_INDX&lt;/P&gt;&lt;P&gt;      WHERE RELID = 'TS' AND&lt;/P&gt;&lt;P&gt;            SRTFD = GV_TABNAME.&lt;/P&gt;&lt;P&gt;  ENDIF. "IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;FORM GENERATE_IMPORT_FORM&lt;/P&gt;&lt;P&gt;  USING IV_TABNAME LIKE DD02L-TABNAME&lt;/P&gt;&lt;P&gt;  CHANGING EV_SRNAME LIKE SY-REPID&lt;/P&gt;&lt;P&gt;           EV_FORMROUTINE LIKE SY-REPID&lt;/P&gt;&lt;P&gt;           EV_SUBRC LIKE SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: LT_PROGTAB(72) TYPE C OCCURS 0,&lt;/P&gt;&lt;P&gt;        LV_PROGTAB LIKE LINE OF LT_PROGTAB,&lt;/P&gt;&lt;P&gt;        LV_ITABNAME LIKE DD02L-TABNAME,&lt;/P&gt;&lt;P&gt;        TV_MSG LIKE SY-LISEL,&lt;/P&gt;&lt;P&gt;        TV_WORD LIKE SY-LISEL,&lt;/P&gt;&lt;P&gt;        TV_LIN LIKE SY-LISEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS: LC_PREFIX(3) TYPE C VALUE 'it_'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL: LT_PROGTAB, LV_PROGTAB,&lt;/P&gt;&lt;P&gt;         LV_ITABNAME,&lt;/P&gt;&lt;P&gt;         TV_MSG, TV_WORD, TV_LIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;generate name of form routine -&amp;gt;EV_FORMROUTINE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE 'f_' IV_TABNAME INTO EV_FORMROUTINE.&lt;/P&gt;&lt;P&gt;  WHILE SY-SUBRC EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  eliminate all slashes as long as found in EV_FORMROUTINE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    REPLACE '/' WITH SPACE INTO EV_FORMROUTINE.&lt;/P&gt;&lt;P&gt;  ENDWHILE. "WHILE sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;  CONDENSE EV_FORMROUTINE NO-GAPS.&lt;/P&gt;&lt;P&gt;  TRANSLATE EV_FORMROUTINE TO LOWER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;generate name of internal table -&amp;gt;LV_ITABNAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE LC_PREFIX IV_TABNAME INTO LV_ITABNAME.&lt;/P&gt;&lt;P&gt;  TRANSLATE LV_ITABNAME TO LOWER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'PROGRAM srpool.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'TYPES: div_table(5000) TYPE c OCCURS 0.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'TABLES: /rtc/as_indx.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'FORM' EV_FORMROUTINE INTO LV_PROGTAB SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE '  TABLES data_tab TYPE div_table.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do the DATA stuff &lt;U&gt;within&lt;/U&gt; EV_FORMROUTINE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE '  DATA:' LV_ITABNAME 'LIKE' IV_TABNAME 'OCCURS 0,'&lt;/P&gt;&lt;P&gt;    INTO LV_PROGTAB&lt;/P&gt;&lt;P&gt;    SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE '        lv_tmp LIKE LINE OF data_tab.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE '  IMPORT' LV_ITABNAME 'FROM DATABASE /rtc/as_indx(ts)'&lt;/P&gt;&lt;P&gt;    INTO LV_PROGTAB&lt;/P&gt;&lt;P&gt;    SEPARATED BY ' '.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE '    ID ''' IV_TABNAME '''.' INTO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE '  LOOP AT' LV_ITABNAME 'INTO lv_tmp.' INTO LV_PROGTAB&lt;/P&gt;&lt;P&gt;    SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE '    APPEND lv_tmp TO data_tab.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE '  ENDLOOP.' TO LV_PROGTAB.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; MOVE 'ENDFORM.' TO lv_progtab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE 'ENDFORM. "FORM' EV_FORMROUTINE&lt;/P&gt;&lt;P&gt;    INTO LV_PROGTAB&lt;/P&gt;&lt;P&gt;    SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;  APPEND LV_PROGTAB TO LT_PROGTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;check the generated ABAP code for syntax errors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SYNTAX-CHECK FOR LT_PROGTAB&lt;/P&gt;&lt;P&gt;    MESSAGE TV_MSG&lt;/P&gt;&lt;P&gt;    LINE TV_LIN&lt;/P&gt;&lt;P&gt;    WORD TV_WORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SY-SUBRC=0 indicates that the source code checked has no syntax errors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    GENERATE SUBROUTINE POOL LT_PROGTAB&lt;/P&gt;&lt;P&gt;      NAME EV_SRNAME.&lt;/P&gt;&lt;P&gt;  ENDIF. "IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE SY-SUBRC TO EV_SUBRC.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  do the household ...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    REFRESH LT_PROGTAB.&lt;/P&gt;&lt;P&gt;    FREE LT_PROGTAB.&lt;/P&gt;&lt;P&gt;  ENDIF. "IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: LV_PROGTAB, LV_ITABNAME.&lt;/P&gt;&lt;P&gt;ENDFORM. "FORM generate_import_form&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 13:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900573#M55092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900574#M55093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately , the structure /RTC/AS_INDX does not exist in my system. I guess it is a custom-structure. Is it there in any standard SAP Product ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your program, In the debug mode, i see that there's the following statement inside the FORM...ENDFORM block of the dynamic subroutine table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES data_tab TYPE div_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be because of some code that i have commented out. but just check it out nevertheless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And lastly, put a break point at the generate subroutine pool statement and create another sample program with exatcly the same code and try calling it again dynamically. do you still get an error ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meanwhile i will try to do something about this missing structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900574#M55093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900575#M55094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The structure /RTC/AS_INDX is a structure in our customer namespace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900575#M55094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900576#M55095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also , in the following statement, replace SY-SUBRC with some other local / gloabl variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM GENERATE_IMPORT_FORM USING    GV_TABNAME
                             CHANGING GV_SRNAME
                                      GV_FORMROUTINE
                                      SY-SUBRC.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be on the safe side..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900576#M55095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900577#M55096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay , I may have stumbled upon something here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the subroutine name and the program name must contain the names of a subroutine or program in block capitals when the statement is executed (dynamic external subroutine call). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That doesn't seem to be the case here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900577#M55096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900578#M55097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, but that´s not the reason for ths misbehaviour described above!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900578#M55097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900579#M55098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the other answer i have given...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900579#M55098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900580#M55099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don´t get a shortdump in case i address the subroutine statically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900580#M55099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900581#M55100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes , i know that. But the documentation says that in case of dynamic specification, you have to use the upper case...just try it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900581#M55100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900582#M55101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, that works pretty fine. But... How comes that one has to use the upper case name of the subroutine here? ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 14:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900582#M55101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T14:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900583#M55102</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;specifying a dynamic argument in uppercase is not specific to this case. Even when you call a FM or a method dynamically, the name should always be in UPPERCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Now that you have solved your problem, don't you want to reward points ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 15:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900583#M55102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T15:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900584#M55103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, when it comes to calling a FM i am used to passing the name in upper case but not when it comes to FORM routines... but... OK!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: You are really frantic on gettings these points, aren´t you? Seems as if you REALLY spend a lot of time here. -- Don´t you have anything else to do?? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 15:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900584#M55103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900585#M55104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I do some parallel processing and try to manage it. but this question was interesting, i must confess. the solution turned out to bee too simple , though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But sometimes people don't give the points or reward a very low score (like in this case, for example &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 15:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900585#M55104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T15:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic external perform / subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900586#M55105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, but just that one: I DON`T KNOW HOW SOMEONE CAN BE SO CURIOUS ON THESE POINTS ... it´s just ... nothing. There a lot of other forums on the web where you don´t have these points and they working pretty well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 16:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-external-perform-subroutine-pool/m-p/900586#M55105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T16:00:07Z</dc:date>
    </item>
  </channel>
</rss>

