<?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 not working consistently in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917111#M1147718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;In my requirement I had to use the FM EXTENDED_PROGRAM_CHECK, when I have passed the program name and trying to get the result set from &lt;STRONG&gt;Resultstat&lt;/STRONG&gt;, the result is being copied with zero systax errors, but when I pass same program to SLIN tcode I am having three errors in the &lt;STRONG&gt;resultstat&lt;/STRONG&gt; table when I degbuged the same Function Module, do I have to call any thign more before calling this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;   V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2008 09:24:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-11T09:24:34Z</dc:date>
    <item>
      <title>Function Module not working consistently</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917111#M1147718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;In my requirement I had to use the FM EXTENDED_PROGRAM_CHECK, when I have passed the program name and trying to get the result set from &lt;STRONG&gt;Resultstat&lt;/STRONG&gt;, the result is being copied with zero systax errors, but when I pass same program to SLIN tcode I am having three errors in the &lt;STRONG&gt;resultstat&lt;/STRONG&gt; table when I degbuged the same Function Module, do I have to call any thign more before calling this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;   V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 09:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917111#M1147718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module not working consistently</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917112#M1147719</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; For the import parameters TEST_* , default values are SLIN_FALSE. Try checking these parameters for your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 09:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917112#M1147719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T09:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module not working consistently</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917113#M1147720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I did not get you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 10:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917113#M1147720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T10:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module not working consistently</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917114#M1147721</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;Use the parameter     TEST_ALL           = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say i have a program ZTEST_RAD with obsolete function module "DOWNLOAD", The code will not return any entries in the output table as parameter TEST_ALL           = SLIN_FALSE. Use TEST_ALL           = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPE-POOLS : SLIN.

DATA SLIN_RESULT TYPE SLIN_RESULT.

CALL FUNCTION 'EXTENDED_PROGRAM_CHECK'
  EXPORTING
*   COMMENT_FLAG       = SLIN_FALSE
*   LOAD_CHECK         = SLIN_FALSE
*   CALL_CNTX          = 'S'
*   CACHE_USE          = SLIN_CACHE_USE-ALL
    program            = 'ZTEST_RAD'
*   TEST_FLAGS         =
*   TEST_ALL           = SLIN_FALSE " Use TEST_ALL = 'X'
*   TEST_BRE           = SLIN_FALSE
*   TEST_CAL           = SLIN_FALSE
*   TEST_DAT           = SLIN_FALSE
*   TEST_DYC           = SLIN_FALSE
*   TEST_GES           = SLIN_FALSE
*   TEST_MES           = SLIN_FALSE
*   TEST_OPF           = SLIN_FALSE
*   TEST_PER           = SLIN_FALSE
*   TEST_PFS           = SLIN_FALSE
*   TEST_UNR           = SLIN_FALSE
*   TEST_STE           = SLIN_FALSE
*   TEST_WRN           = SLIN_FALSE
*   TEST_TXT           = SLIN_FALSE
*   TEST_SUB           = SLIN_FALSE
*   TEST_AUT           = SLIN_FALSE
*   TEST_LOA           = SLIN_FALSE
*   TEST_MLS           = SLIN_FALSE
*   TEST_PAC           = SLIN_FALSE
 IMPORTING
   RESULT             = SLIN_RESULT
*   RESULT_STAT        =
* CHANGING
*   DEPENDENCIES       =
* EXCEPTIONS
*   FATAL_ERROR        = 1
*   OTHERS             = 2
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 10:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917114#M1147721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T10:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module not working consistently</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917115#M1147722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 10:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-working-consistently/m-p/4917115#M1147722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T10:44:16Z</dc:date>
    </item>
  </channel>
</rss>

