<?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: BDC ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935187#M691690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code for reference... call transaction done for CO11n&lt;/P&gt;&lt;P&gt;______________________________________________________&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'CO11N' USING it_bdcdata&lt;/P&gt;&lt;P&gt;                          MODE   'n'&lt;/P&gt;&lt;P&gt;                          UPDATE c_update&lt;/P&gt;&lt;P&gt;                         MESSAGES INTO it_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  If CO11n (confirmation) is a SUCCESS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF NOT it_messtab[] IS INITIAL.&lt;/P&gt;&lt;P&gt;      READ TABLE it_messtab INTO wa_messtab WITH KEY msgtyp = 'S'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Palletization process&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PERFORM palletization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        READ TABLE it_messtab INTO wa_messtab WITH KEY msgtyp = 'E'.&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              id   = wa_messtab-msgid&lt;/P&gt;&lt;P&gt;              lang = sy-langu&lt;/P&gt;&lt;P&gt;              no   = wa_messtab-msgnr&lt;/P&gt;&lt;P&gt;              v1   = wa_messtab-msgv1&lt;/P&gt;&lt;P&gt;              v2   = wa_messtab-msgv2&lt;/P&gt;&lt;P&gt;              v3   = wa_messtab-msgv3&lt;/P&gt;&lt;P&gt;              v4   = wa_messtab-msgv4&lt;/P&gt;&lt;P&gt;            IMPORTING&lt;/P&gt;&lt;P&gt;              msg  = wa_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          wa_prodord_conf-errortext = wa_msg.&lt;/P&gt;&lt;P&gt;          MODIFY it_prodord_conf FROM wa_prodord_conf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ENDIF.      "IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;      ENDIF.     " IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;    ENDIF.      "IF NOT it_messtab[] IS INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shud help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2007 09:50:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-17T09:50:13Z</dc:date>
    <item>
      <title>BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935179#M691682</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;Suppose in doin BDC CALL TARANSACTION PROGRAM I&amp;lt;b&amp;gt; am passing a wrong data from input file ,&amp;lt;/b&amp;gt; may be for that data the table cannt be updated n that is the 2nd data in input file 1st is ok and 3rd n 4th data are also fine , but only &amp;lt;b&amp;gt;2nd data is creatin problem ,&amp;lt;/b&amp;gt; now hw to handle the situation ?So that my program runs well in back groungd with out user intervension ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935179#M691682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935180#M691683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can validate the data before the call transaction. If the validation fails then do not do the call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this solves your query pl mark this question answered else give more details so that we can understand better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935180#M691683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935181#M691684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;only for the 2nd record u get sy-subrc &amp;lt;&amp;gt; 0 for call transaction.&lt;/P&gt;&lt;P&gt;then u handle it by creating a session  or use format_message and dispaly the error as output in ur report program......as u said it is background program!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for rest of the cases u will get sy-subrc = 0 for the call transaction statement.....so no problem!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935181#M691684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935182#M691685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok before transaction i can verify , btfor hundreads of data i cant do , and even i may not know which no data is not valid . In that case what to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935182#M691685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935183#M691686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In such a case better to use LSMW and run ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will update the non error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in BDC try to run in call transaction Mode 'N". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit Singla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935183#M691686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935184#M691687</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;the error handling will be done like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Handling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write an error report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Send the record(s) in error to an error file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a batch input session with the record(s) in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To store error messages ( CALL TRANSACTION )&lt;/P&gt;&lt;P&gt;data: begin of Tab_Mess occurs 0.&lt;/P&gt;&lt;P&gt;include structure bdcmsgcoll.&lt;/P&gt;&lt;P&gt;data : end of Tab_Mess,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;#145;FK02&amp;#146; USING BDC_TAB MODE &amp;#145;N&amp;#146; UPDATE &amp;#145;S&amp;#146; &lt;/P&gt;&lt;P&gt;MESSAGES INTO TAB_MESS.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;WRITE: / Tab_MESS-TCODE, Tab_MESS-DYNUMB, Tab_MESS-MSGTYP , &lt;/P&gt;&lt;P&gt;Tab_MESS-MSGID.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935184#M691687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935185#M691688</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;There is nothing to worry about the particular error in the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run the BDC (either call transaction or Session ) in background, all the correct records will get updated in database and all the error records will not be updated irrespective of the position of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of call transaction the log will be displayed at the end of BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of Session method the log will be stored in the log file with that session name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this you can execute the BDC onceagain with the corrected records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:48:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935185#M691688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935186#M691689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call transaction using N mode...&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'PA30' USING it_bdcdata MODE 'N'&lt;/P&gt;&lt;P&gt;          UPDATE 'A' MESSAGES INTO it_bdcmsg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935186#M691689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935187#M691690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code for reference... call transaction done for CO11n&lt;/P&gt;&lt;P&gt;______________________________________________________&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'CO11N' USING it_bdcdata&lt;/P&gt;&lt;P&gt;                          MODE   'n'&lt;/P&gt;&lt;P&gt;                          UPDATE c_update&lt;/P&gt;&lt;P&gt;                         MESSAGES INTO it_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  If CO11n (confirmation) is a SUCCESS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF NOT it_messtab[] IS INITIAL.&lt;/P&gt;&lt;P&gt;      READ TABLE it_messtab INTO wa_messtab WITH KEY msgtyp = 'S'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Palletization process&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PERFORM palletization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        READ TABLE it_messtab INTO wa_messtab WITH KEY msgtyp = 'E'.&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              id   = wa_messtab-msgid&lt;/P&gt;&lt;P&gt;              lang = sy-langu&lt;/P&gt;&lt;P&gt;              no   = wa_messtab-msgnr&lt;/P&gt;&lt;P&gt;              v1   = wa_messtab-msgv1&lt;/P&gt;&lt;P&gt;              v2   = wa_messtab-msgv2&lt;/P&gt;&lt;P&gt;              v3   = wa_messtab-msgv3&lt;/P&gt;&lt;P&gt;              v4   = wa_messtab-msgv4&lt;/P&gt;&lt;P&gt;            IMPORTING&lt;/P&gt;&lt;P&gt;              msg  = wa_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          wa_prodord_conf-errortext = wa_msg.&lt;/P&gt;&lt;P&gt;          MODIFY it_prodord_conf FROM wa_prodord_conf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ENDIF.      "IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;      ENDIF.     " IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;    ENDIF.      "IF NOT it_messtab[] IS INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shud help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935187#M691690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935188#M691691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Debroy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu have to suplly an internal table to the call transaction which would be filled up with the messages that are populated in the transaction like this:&lt;/P&gt;&lt;P&gt;data: it_bdcmsgcoll type standard table of bdcmsgcoll occurs 0 with header line.&lt;/P&gt;&lt;P&gt;call transaction &amp;lt;tcode&amp;gt; using it_bdcdata messages into it_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;loop at it_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;call function 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING message = lv_msg.&lt;/P&gt;&lt;P&gt;write:/ lv_msg.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can have a list of records that have errors and what errro is that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935188#M691691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935189#M691692</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;Check this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VD51' USING IT_BDC MODE 'A' UPDATE 'S'&lt;/P&gt;&lt;P&gt;MESSAGES INTO IT_MESSAGES.&lt;/P&gt;&lt;P&gt;IF NOT IT_MESSAGES[] IS INITIAL.&lt;/P&gt;&lt;P&gt;PERFORM FORMAT_MESSAGE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FORMAT_MESSAGE.&lt;/P&gt;&lt;P&gt;DATA: L_MSG(100).&lt;/P&gt;&lt;P&gt;LOOP AT IT_MESSAGES.&lt;/P&gt;&lt;P&gt;READ TABLE IT_CUSTOMER INDEX L_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ID = IT_MESSAGES-MSGID&lt;/P&gt;&lt;P&gt;LANG = SY-LANGU&lt;/P&gt;&lt;P&gt;NO = IT_MESSAGES-MSGNR&lt;/P&gt;&lt;P&gt;V1 = IT_MESSAGES-MSGV1&lt;/P&gt;&lt;P&gt;V2 = IT_MESSAGES-MSGV2&lt;/P&gt;&lt;P&gt;V3 = IT_MESSAGES-MSGV3&lt;/P&gt;&lt;P&gt;V4 = IT_MESSAGES-MSGV4&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;MSG = L_MSG&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;write:/ l_msg.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " FORMAT_MESSAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-abap/m-p/2935189#M691692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:53:39Z</dc:date>
    </item>
  </channel>
</rss>

