<?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 regarding call transaction method error log in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148970#M748747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;i want some help in the bdc call transaction method ,&lt;/P&gt;&lt;P&gt;my requirment is Display the errors at the end of the report  and the client will address the errors in the next day in  call transaction method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz send me the coding of the error log........&lt;/P&gt;&lt;P&gt;plz help me...........&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;bindu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Dec 2007 06:39:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-09T06:39:33Z</dc:date>
    <item>
      <title>regarding call transaction method error log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148970#M748747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;i want some help in the bdc call transaction method ,&lt;/P&gt;&lt;P&gt;my requirment is Display the errors at the end of the report  and the client will address the errors in the next day in  call transaction method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz send me the coding of the error log........&lt;/P&gt;&lt;P&gt;plz help me...........&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;bindu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2007 06:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148970#M748747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-09T06:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding call transaction method error log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148971#M748748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Welcome to SDN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with the following fm .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :it_messtab TYPE TABLE OF bdcmsgcoll.&lt;/P&gt;&lt;P&gt;DATA: wa_messtab TYPE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;wa_textout TYPE t100-text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_messtab INTO wa_messtab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MESSAGE_TEXT_BUILD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;msgid = wa_messtab-msgid&lt;/P&gt;&lt;P&gt;msgnr = wa_messtab-msgnr&lt;/P&gt;&lt;P&gt;msgv1 = wa_messtab-msgv1&lt;/P&gt;&lt;P&gt;msgv2 = wa_messtab-msgv2&lt;/P&gt;&lt;P&gt;msgv3 = wa_messtab-msgv3&lt;/P&gt;&lt;P&gt;msgv4 = wa_messtab-msgv4&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;message_text_output = wa_textout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE wa_textout TYPE wa_messtab-msgtyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2007 06:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148971#M748748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-09T06:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: regarding call transaction method error log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148972#M748749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanku kiran garu,&lt;/P&gt;&lt;P&gt;it working but is display final out put like particular record is updated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want prticular document number is updated and particular is not updated.&lt;/P&gt;&lt;P&gt;display in the out put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;previously i written code is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'FB02' USING i_bdcdata MODE 'N'&lt;/P&gt;&lt;P&gt;                                          UPDATE 'A'&lt;/P&gt;&lt;P&gt;                                          MESSAGES INTO i_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      WRITE:/ 'reference key field is updated'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH i_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me........&lt;/P&gt;&lt;P&gt; bindu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2007 07:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148972#M748749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-09T07:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: regarding call transaction method error log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148973#M748750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below PG for ur requirement.&lt;/P&gt;&lt;P&gt;report ZST_BDC_XK01PG&lt;/P&gt;&lt;P&gt;       no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : RF02K,LFA1,LFBK,LFB1,LFM1.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF W_VEN ,&lt;/P&gt;&lt;P&gt;      LIFNR TYPE RF02K-LIFNR,&lt;/P&gt;&lt;P&gt;      KTOKK TYPE RF02K-KTOKK,&lt;/P&gt;&lt;P&gt;      NAME1 TYPE LFA1-NAME1,&lt;/P&gt;&lt;P&gt;      SORTL TYPE LFA1-SORTL,&lt;/P&gt;&lt;P&gt;      LAND1 TYPE LFA1-LAND1,&lt;/P&gt;&lt;P&gt;      SPRAS TYPE LFA1-SPRAS,&lt;/P&gt;&lt;P&gt;      END OF W_VEN,&lt;/P&gt;&lt;P&gt;      T_VEN LIKE STANDARD TABLE OF W_VEN INITIAL SIZE 0,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     T_BDCDATA TYPE STANDARD TABLE OF BDCDATA INITIAL SIZE 0,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     W_BDCDATA TYPE BDCDATA,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      T_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL,&lt;/P&gt;&lt;P&gt;      W_BDCMSGCOLL TYPE BDCMSGCOLL,&lt;/P&gt;&lt;P&gt;      G_FLAG.&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = 'C:\TEMP1.TXT'&lt;/P&gt;&lt;P&gt;  FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      =  T_VEN.&lt;/P&gt;&lt;P&gt;*perform open_group.&lt;/P&gt;&lt;P&gt;LOOP AT T_VEN INTO W_VEN.&lt;/P&gt;&lt;P&gt;REFRESH BDCDATA.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMF02K' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RF02K-KTOKK'.&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 'RF02K-LIFNR'&lt;/P&gt;&lt;P&gt;                              W_VEN-LIFNR.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RF02K-KTOKK'&lt;/P&gt;&lt;P&gt;                              W_VEN-KTOKK.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMF02K' '0110'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LFA1-SPRAS'.&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 'LFA1-NAME1'&lt;/P&gt;&lt;P&gt;                              W_VEN-NAME1.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LFA1-SORTL'&lt;/P&gt;&lt;P&gt;                              W_VEN-SORTL.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LFA1-LAND1'&lt;/P&gt;&lt;P&gt;                              W_VEN-LAND1.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LFA1-SPRAS'&lt;/P&gt;&lt;P&gt;                              W_VEN-SPRAS.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMF02K' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LFA1-KUNNR'.&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_dynpro      using 'SAPMF02K' '0130'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LFBK-BANKS(01)'.&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_dynpro      using 'SAPLSPO1' '0300'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=YES'.&lt;/P&gt;&lt;P&gt;*perform bdc_transaction using 'XK01'.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'XK01' USING BDCDATA&lt;/P&gt;&lt;P&gt;                                 MODE 'A'&lt;/P&gt;&lt;P&gt;                                UPDATE 'A'&lt;/P&gt;&lt;P&gt;                                MESSAGES INTO T_BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;IF G_FLAG IS INITIAL.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;   CLIENT                    = SY-MANDT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DEST                      = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  GROUP                     = 'ZSS'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HOLDDATE                  = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   KEEP                      = 'X'&lt;/P&gt;&lt;P&gt;   USER                      = SY-UNAME&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;LI level="1" 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="1" 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;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;G_FLAG = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   TCODE                  = 'XK01'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DYNPROTAB              = BDCDATA&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR         = 1&lt;/P&gt;&lt;P&gt;   NOT_OPEN               = 2&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR            = 3&lt;/P&gt;&lt;P&gt;   TCODE_INVALID          = 4&lt;/P&gt;&lt;P&gt;   PRINTING_INVALID       = 5&lt;/P&gt;&lt;P&gt;   POSTING_INVALID        = 6&lt;/P&gt;&lt;P&gt;   OTHERS                 = 7&lt;/P&gt;&lt;P&gt;          .IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" 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="1" 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;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;IF G_FLAG = 'X'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_CLOSE_GROUP'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;LOOP AT T_BDCMSGCOLL INTO W_BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;WRITE: W_BDCMSGCOLL-DYNAME,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-DYNUMB,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGTYP,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGSPRA,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGID,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGNR,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGV1,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGV2,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGV3,&lt;/P&gt;&lt;P&gt;       W_BDCMSGCOLL-MSGV4.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2007 11:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction-method-error-log/m-p/3148973#M748750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-09T11:32:15Z</dc:date>
    </item>
  </channel>
</rss>

