<?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: Unable to capture error message while doing call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480575#M558815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your messtab defined correctly as BDCMSGCOLL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 15:02:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T15:02:28Z</dc:date>
    <item>
      <title>Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480566#M558806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing BDC Call transaction method for FB01.&lt;/P&gt;&lt;P&gt;I am posting accounting document for Asset. When I am posting for Asset i am passing Internal order. Here Call transaction is not capturing any kind of message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i posted manually with the same data i am getting messgae that Budget exceeds for order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in this how to capture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480566#M558806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480567#M558807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you pulling your messages abck from the call transactions?  ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      Call transaction 'FB01' using bdcdata
                              mode p_mode
                              update 'S'
                              messages into messtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480567#M558807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480568#M558808</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;Thanks for your reply.&lt;/P&gt;&lt;P&gt;here is my code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      refresh li_errtab. clear: li_errtab.&lt;/P&gt;&lt;P&gt;      call transaction 'FB01' using bdcdata&lt;/P&gt;&lt;P&gt;                           mode w_mode&lt;/P&gt;&lt;P&gt;                           update 'S'&lt;/P&gt;&lt;P&gt;                         messages into li_errtab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           if sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      read table li_errtab into l_errtab with key msgtyp = 'S'&lt;/P&gt;&lt;P&gt;                                                  msgid  = 'F5'&lt;/P&gt;&lt;P&gt;                                                  msgnr = '312'.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        move: l_errtab-msgv1 to jv_po-belnr,&lt;/P&gt;&lt;P&gt;              v_date+6(4) to jv_po-gjahr,&lt;/P&gt;&lt;P&gt;              text-t05 to jv_po-msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480568#M558808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480569#M558809</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;as u r getting the error message so instead of using msgtyp as 'S' use 'E' while reading.&lt;/P&gt;&lt;P&gt;Put a break point and check what are the messages u r getting in li_errtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh li_errtab. clear: li_errtab.&lt;/P&gt;&lt;P&gt;call transaction 'FB01' using bdcdata&lt;/P&gt;&lt;P&gt;mode w_mode&lt;/P&gt;&lt;P&gt;update 'S'&lt;/P&gt;&lt;P&gt;messages into li_errtab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;read table li_errtab into l_errtab with key msgtyp = 'E'&lt;/P&gt;&lt;P&gt;msgid = 'F5'&lt;/P&gt;&lt;P&gt;msgnr = '312'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: l_errtab-msgv1 to jv_po-belnr,&lt;/P&gt;&lt;P&gt;v_date+6(4) to jv_po-gjahr,&lt;/P&gt;&lt;P&gt;text-t05 to jv_po-msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480569#M558809</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-06-26T14:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480570#M558810</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;I am checking by putting a break point on read statement.&lt;/P&gt;&lt;P&gt;when i check the structure li_errtab nothing was there in my case which i mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any alternative method to capture message???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480570#M558810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480571#M558811</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;I am checking by putting a break point on read statement.&lt;/P&gt;&lt;P&gt;when i check the structure li_errtab nothing was there in my case which i mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any alternative method to capture message???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480571#M558811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480572#M558812</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;I am checking by putting a break point on read statement.&lt;/P&gt;&lt;P&gt;when i check the structure li_errtab nothing was there in my case which i mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any alternative method to capture message???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480572#M558812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480573#M558813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. try doing the bdc in  A = show all screens mode,&lt;/P&gt;&lt;P&gt;   as well as E = show only errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in that way we can come to know whether the bdc is running,&lt;/P&gt;&lt;P&gt;   in the desired way or not.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480573#M558813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480574#M558814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that option also with mode 'A'. There also I am not getting the error message.&lt;/P&gt;&lt;P&gt;After simulation when I am trying to save it it is comming out of the session and nothing was comming in error structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With same data if i tried to post manually in FB01 then i am getting the error message.&lt;/P&gt;&lt;P&gt;Not only thins I found one message which is not captured by BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480574#M558814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480575#M558815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your messtab defined correctly as BDCMSGCOLL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 15:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480575#M558815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T15:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture error message while doing call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480576#M558816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Come to think of it I have seen some transactions that when ran in BDC mode do not output the success messages, so you need to rely on Error messages.  Run the BDC and deliberatley fail is and check if your messtabe is then populated.  If so you can just search for type E messages, and if none found assume successfull:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at messtab into wa_mess.&lt;/P&gt;&lt;P&gt;      IF wa_mess-msgtyp = 'E'.                     "UnSucessfull Msg&lt;/P&gt;&lt;P&gt;        fail = 1.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    Endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 15:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-capture-error-message-while-doing-call-transaction/m-p/2480576#M558816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T15:05:41Z</dc:date>
    </item>
  </channel>
</rss>

