<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992526#M74617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The program already has this statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the call transaction code&lt;/P&gt;&lt;P&gt;call transaction 'FB01' using bdcdata&lt;/P&gt;&lt;P&gt;                              mode c_mode&lt;/P&gt;&lt;P&gt;                              update 'L'&lt;/P&gt;&lt;P&gt;                              messages into messtab.  "// Returned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT messtab. " WHERE msgtyp EQ 'E' .&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM t100 INTO WA_T100 &lt;/P&gt;&lt;P&gt;        WHERE sprsl = messtab-msgspra&lt;/P&gt;&lt;P&gt;        AND   arbgb = messtab- msgid&lt;/P&gt;&lt;P&gt;        AND   msgnr = messtab-msgnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      l_mstring = WA_T100-text.&lt;/P&gt;&lt;P&gt;      IF l_mstring CS '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;1' WITH messtab-msgv1 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;2' WITH messtab-msgv2 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;3' WITH messtab-msgv3 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;4' WITH messtab-msgv4 INTO l_mstring.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv1 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv2 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv3 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv4 INTO l_mstring.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CONDENSE l_mstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Create name for session&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      clear l_message.&lt;/P&gt;&lt;P&gt;      move: l_mstring to l_message.&lt;/P&gt;&lt;P&gt;      condense l_message.&lt;/P&gt;&lt;P&gt;      move l_message to errorrec-message.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to know when this messtab value is to be passed to the external system (VB Macro), so that all the error logs are displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2005 08:38:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-14T08:38:50Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992523#M74614</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;  PLease help me to resolve the below issue.&lt;/P&gt;&lt;P&gt;Problem Faced&lt;/P&gt;&lt;P&gt;I am working on BDC using call transaction method.&lt;/P&gt;&lt;P&gt;This works fine when all records in the input file are current&lt;/P&gt;&lt;P&gt;but if one of the record contains invalid input, the transaction&lt;/P&gt;&lt;P&gt;fails without processing the remaining records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any invalid records are encountered, the error log of the record should be&lt;/P&gt;&lt;P&gt;stored and remaining records should be processed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further details are&lt;/P&gt;&lt;P&gt;   Session Mode : Background &amp;amp;&lt;/P&gt;&lt;P&gt;   Update Mode : Local.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually this BDC is called within a SAP-RFC, which is triggered by an Excel Macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992523#M74614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T08:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992524#M74615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcode  USING BDCDATA  MODE 'N' &lt;/P&gt;&lt;P&gt;                        MESSAGES INTO ITAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992524#M74615</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-14T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992525#M74616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a messtab&lt;/P&gt;&lt;P&gt;DATA:  i_bdcdata TYPE STANDARD TABLE OF bdcdata,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table to hold BDC messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     &amp;lt;b&amp;gt;  i_messtab TYPE STANDARD TABLE OF bdcmsgcoll&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area to hold bdcdata value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA:  w_bdcdata TYPE bdcdata,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area to hold BDC messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       w_messtab TYPE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;CONSTANTS : c_e type bdcmsgcoll-msgtyp value 'E',            "E&lt;/P&gt;&lt;P&gt;            c_a type bdcmsgcoll-msgtyp value 'A',            "A&lt;/P&gt;&lt;P&gt;            nodata type c value '/'.                         "/&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;perform f1000_bdc_mm03 using lv_matnr lv_werks.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;FORM f1000_bdc_mm03 USING    P_LV_MATNR&lt;/P&gt;&lt;P&gt;                             P_LV_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;                               p_lv_matnr.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(15)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MSICHTAUSW-KZSEL(15)'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0080'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RMMG1-WERKS'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-WERKS'&lt;/P&gt;&lt;P&gt;                               p_lv_werks.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ZU01'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4300'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ZU08'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4110'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=GESV'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'RMMG1-MATNR'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;lt;b&amp;gt;call transaction c_transaction_call_MM03 using i_bdcdata MODE 'N'MESSAGES INTO i_messtab.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly u can try for ur code, the messages will egt captured in i_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Judith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992525#M74616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992526#M74617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The program already has this statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the call transaction code&lt;/P&gt;&lt;P&gt;call transaction 'FB01' using bdcdata&lt;/P&gt;&lt;P&gt;                              mode c_mode&lt;/P&gt;&lt;P&gt;                              update 'L'&lt;/P&gt;&lt;P&gt;                              messages into messtab.  "// Returned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT messtab. " WHERE msgtyp EQ 'E' .&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM t100 INTO WA_T100 &lt;/P&gt;&lt;P&gt;        WHERE sprsl = messtab-msgspra&lt;/P&gt;&lt;P&gt;        AND   arbgb = messtab- msgid&lt;/P&gt;&lt;P&gt;        AND   msgnr = messtab-msgnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      l_mstring = WA_T100-text.&lt;/P&gt;&lt;P&gt;      IF l_mstring CS '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;1' WITH messtab-msgv1 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;2' WITH messtab-msgv2 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;3' WITH messtab-msgv3 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;4' WITH messtab-msgv4 INTO l_mstring.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv1 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv2 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv3 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH messtab-msgv4 INTO l_mstring.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CONDENSE l_mstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Create name for session&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      clear l_message.&lt;/P&gt;&lt;P&gt;      move: l_mstring to l_message.&lt;/P&gt;&lt;P&gt;      condense l_message.&lt;/P&gt;&lt;P&gt;      move l_message to errorrec-message.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to know when this messtab value is to be passed to the external system (VB Macro), so that all the error logs are displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992526#M74617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T08:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992527#M74618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know how are you calling this BDC from RFC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992527#M74618</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-14T08:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992528#M74619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;move l_message to errorrec-message.&lt;/P&gt;&lt;P&gt;U have to write it inorder to display the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992528#M74619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992529#M74620</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 would suggest that you process the BDC by a Session which will fulfill your reqmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FMs to create a a Session:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC_OPEN_GROUP&lt;/P&gt;&lt;P&gt;BDC_CLOSE_GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to process the session immediately get the session ID from BDC_OPEN_GROUP and submit the Prg.: RSBDCBTC_NEW. This will process the session immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Murugesh AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Post your existing code plz.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Murugesh Arcot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 08:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992529#M74620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T08:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992530#M74621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends, sorry for the delayed reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain the scenario in more detailed manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -&amp;gt; The BDC, calls the transaction FB01&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   -&amp;gt; The input file contains&lt;/P&gt;&lt;P&gt;           header data   &amp;amp;&lt;/P&gt;&lt;P&gt;           many item details for this header data.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Once on excecuting the above BDC,&lt;/P&gt;&lt;P&gt;            The header data is first posted &amp;amp; then all the&lt;/P&gt;&lt;P&gt;item data pertaining to this header gets posted. If all the item details are&lt;/P&gt;&lt;P&gt;correct, a document number is generated. If anyone of them fails, the document number will not&lt;/P&gt;&lt;P&gt;be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      My current scenario&lt;/P&gt;&lt;P&gt;         a. If any one of my item data is wrong, the other item records are not processed.&lt;/P&gt;&lt;P&gt;But as we know  even if some records in a file are incorrect, the remaining records will be processed!&lt;/P&gt;&lt;P&gt;Actually my work now is enhancement related &amp;amp; I have not created the above BDC.&lt;/P&gt;&lt;P&gt;So could anyone of you specify which portion of code in BDC makes all records to be processed excluding the incorrect&lt;/P&gt;&lt;P&gt;records (or) is the scenario specify to the TCODE : FB01.&lt;/P&gt;&lt;P&gt;      Please help to resolve the above problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 12:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992530#M74621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992531#M74622</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;1) why don't you use a bapi,&lt;/P&gt;&lt;P&gt;e.g. BAPI_ACC_DOCUMENT_POST  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; here you get all errors in a table BAPIRET2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) i don't understand your explanation of headers and items. you post, ...The header data is first posted ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; you can only post a complete document not header data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 12:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992531#M74622</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-14T12:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992532#M74623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i understand correctly what you are thinking is not possible, Let me explain this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case you have one header data and multiple line items, which means its for a single FI document. &lt;/P&gt;&lt;P&gt;A document can post only if there are no errors in that LUW. If there is error with in any line item of that document everything has to roll back !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The situation would have been different in case you &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;had&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; multiple documents with single line item, in this case you can skip the err'd one and go to the next document bcuz they all are in different LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know if anyone has a better answer to this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 12:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/992532#M74623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T12:48:07Z</dc:date>
    </item>
  </channel>
</rss>

