<?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: avoid the error message of function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263360#M490893</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 with this ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the message part of the FM use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4 &amp;lt;b&amp;gt;into l_f_msag.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_f_msag is of type char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Patil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Santhosh Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2007 04:26:27 GMT</pubDate>
    <dc:creator>santhosh_patil</dc:creator>
    <dc:date>2007-05-18T04:26:27Z</dc:date>
    <item>
      <title>avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263358#M490891</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;i am using FM read_Text and if it doesn't found any text entry then it gives a error message . i want to avoid that error message.&lt;/P&gt;&lt;P&gt;bcoz i am using not an standard table that's why a lot of time i get this prob.&lt;/P&gt;&lt;P&gt;plz help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 04:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263358#M490891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T04:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263359#M490892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Generally we check the value of Sy-SUBRC after the fun module code&lt;/P&gt;&lt;P&gt;and we write further code when the sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So don't check the Sy-SUBRC &amp;lt;&amp;gt; 0  value to raise some exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 04:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263359#M490892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T04:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263360#M490893</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 with this ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the message part of the FM use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4 &amp;lt;b&amp;gt;into l_f_msag.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_f_msag is of type char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Patil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Santhosh Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 04:26:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263360#M490893</guid>
      <dc:creator>santhosh_patil</dc:creator>
      <dc:date>2007-05-18T04:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263361#M490894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi santhosh and anji&lt;/P&gt;&lt;P&gt;i am not using if sy-subrc&amp;lt;&amp;gt;0 .block . i all ready commented this clause.&lt;/P&gt;&lt;P&gt;but still it is giving  an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 04:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263361#M490894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T04:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263362#M490895</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;what's the error you are getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 04:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263362#M490895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T04:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263363#M490896</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;&lt;/P&gt;&lt;P&gt;If the msg is coming from with in the FM then i have &lt;/P&gt;&lt;P&gt;no idea how to handel it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 04:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263363#M490896</guid>
      <dc:creator>santhosh_patil</dc:creator>
      <dc:date>2007-05-18T04:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263364#M490897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi satish,&lt;/P&gt;&lt;P&gt;  Here your using the standard FM. Even u commented the sy-subrc block, you will get the error becuse that is built in side like that. FM in source code blick they mentioned with raise statement. so that you are getting error even u commented that sy-subrc block.&lt;/P&gt;&lt;P&gt;Hope this helps you. Reply for queries, shall post the updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.  &lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 05:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263364#M490897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T05:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263365#M490898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi satish&lt;/P&gt;&lt;P&gt;error message is&lt;/P&gt;&lt;P&gt;"Text 0080012665000020 ID 0002 language DE not found"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i will pass 0080012665000010 then it will run perfectly .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 05:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263365#M490898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T05:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263366#M490899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kumar&lt;/P&gt;&lt;P&gt;ya you are write but, i have to avoid that error message,&lt;/P&gt;&lt;P&gt;one way to do this is copy the whole fm and modify it. but i think it is not so practical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 05:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263366#M490899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T05:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263367#M490900</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 some transactions, if the long text exists then, there will be some field in the table where the indicator X is set, the field is left blank if there is no long text (for eg. QMEL-INDTX = 'X' if the notification qmnum has long text or not)...so, before calling the fm, check if the line item whose long text you are trying to access has long text or not...the error comes because you are trying to read an object from memory which doesn't exist..reply back for queries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 05:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263367#M490900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T05:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: avoid the error message of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263368#M490901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 13:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-the-error-message-of-function-module/m-p/2263368#M490901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T13:05:27Z</dc:date>
    </item>
  </channel>
</rss>

