<?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: FMFR_CREATE_FROM_DATA error control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169671#M1623092</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;It is having 3 exceptions and also there no specific text for these. You have to manage based on the exception no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/2008/10/function-module-exception-handling.html" target="test_blank"&gt;http://help-abap.blogspot.com/2008/10/function-module-exception-handling.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgeek.net/2011/03/abap-programming-exception-handling/" target="test_blank"&gt;http://www.sapgeek.net/2011/03/abap-programming-exception-handling/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you get the error, don't message statement capture the error details to your Work area and modify the ALV ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you display the message using message details and message type as 'E' it will stop further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Sep 2011 04:14:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-03T04:14:57Z</dc:date>
    <item>
      <title>FMFR_CREATE_FROM_DATA error control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169670#M1623091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this function in a loop and i process some records with this fm from my internal table. But when a record is wrong, It gives type 'E' error and stops program. I want to process all lines of my records without stopping and after that i will show them in alv with the errors if they have. In exceptions part of this FM, i used :  ERROR_MESSAGE = 1  and it helped me to continue processing but i cant collect error messages. How can i collect the error messages for this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use MESSAGES_INITIALIZE and MESSAGES_GIVE but i coulnd succeed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has ideas? maybe i used these fm's wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 23:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169670#M1623091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-02T23:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: FMFR_CREATE_FROM_DATA error control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169671#M1623092</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;It is having 3 exceptions and also there no specific text for these. You have to manage based on the exception no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/2008/10/function-module-exception-handling.html" target="test_blank"&gt;http://help-abap.blogspot.com/2008/10/function-module-exception-handling.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgeek.net/2011/03/abap-programming-exception-handling/" target="test_blank"&gt;http://www.sapgeek.net/2011/03/abap-programming-exception-handling/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you get the error, don't message statement capture the error details to your Work area and modify the ALV ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you display the message using message details and message type as 'E' it will stop further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 04:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169671#M1623092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-03T04:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: FMFR_CREATE_FROM_DATA error control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169672#M1623093</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 dont think it is about the exceptions part. The FM is giving the error with type 'E' message inside the FM.&lt;/P&gt;&lt;P&gt;I even cant debug till the end of this FM. the message appears on the screen and bapi stops and also my loop stops.&lt;/P&gt;&lt;P&gt;In the exceptions part: if i write message_error = 1. the error message doesnt appear and bapi finishes with sy-subrc = 1.&lt;/P&gt;&lt;P&gt;But in this case i cant read the message text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 13:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169672#M1623093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: FMFR_CREATE_FROM_DATA error control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169673#M1623094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similiar issue. Using MESSAGES_INITIALIZE suppresses a message like FICUSTOM175 thrown as a warning; but message FH004 thrown as an error still halts processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 16:03:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169673#M1623094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-13T16:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: FMFR_CREATE_FROM_DATA error control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169674#M1623095</link>
      <description>&lt;P&gt;Create a Z copy of FMFR_CREATE_FROM_DATA, RFC enable the FM and then call it using destination of your local/own logical system. This will complete the call to the FM and return the error in the system variables.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 14:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fmfr-create-from-data-error-control/m-p/8169674#M1623095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-24T14:15:05Z</dc:date>
    </item>
  </channel>
</rss>

