<?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: warning in call function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725181#M896590</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;I think u r checking subrc after calling FM which is wrong concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling FM will not set the sy-subrc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean it willnot update the fiedl sy-subrc, if that FM was failed then it will raise its exception based on the condition where it failed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am clear to u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 07:06:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T07:06:05Z</dc:date>
    <item>
      <title>warning in call function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725180#M896589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one explain the meaning of the following warning message.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" *&lt;STRONG&gt;Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt; *&lt;STRONG&gt;XXL_FULL_API&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;                                                                            &lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;(You can turn off this check by setting all EXCEPTIONS to 0.)&lt;/STRONG&gt;            "*                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is if i set the all exceptions to zero whether it will work without any problem to the calling  program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 07:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725180#M896589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T07:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: warning in call function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725181#M896590</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;I think u r checking subrc after calling FM which is wrong concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling FM will not set the sy-subrc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean it willnot update the fiedl sy-subrc, if that FM was failed then it will raise its exception based on the condition where it failed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am clear to u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 07:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725181#M896590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: warning in call function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725182#M896591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The return Value of a function will be populated in sy-subrc.&lt;/P&gt;&lt;P&gt;So in program if u r writing like&lt;/P&gt;&lt;P&gt;exception x1 =1&lt;/P&gt;&lt;P&gt;             x2 = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  etc xn = n.&lt;/P&gt;&lt;P&gt;You should process those exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is u should check the sy-subrc after the call function and disply error message or do something when sy-subrc is not equal to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise u can avoid this error msg by assigning all the exception to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exception x1 =0&lt;/P&gt;&lt;P&gt;             x2 = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  etc xn = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but by doing this no exceptions will be captured what ever exception has occured sy-subrc will be 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sheeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 07:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-in-call-function/m-p/3725182#M896591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T07:07:39Z</dc:date>
    </item>
  </channel>
</rss>

