<?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: error in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534779#M1561834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi siva , &lt;/P&gt;&lt;P&gt; when processing in mode A did you get any popups or anything which was not done by ok codes and you had to manually take an action .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jan 2011 09:22:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-13T09:22:42Z</dc:date>
    <item>
      <title>error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534778#M1561833</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;In BDC iam creating purchase order using Call transaction method. So iam uploading datas from flat file(header and item details).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so In the call transaction if I use 'A'(all screen mode) then i can get the purchase order number in bdcmsgcoll(MSGV2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab3 like table of bdcmsgcoll.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME21' USING ITAB2 mode 'A' UPDATE 'S'  MESSAGES INTO itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use 'N'(no screen mode) then i cannot able to get the purchase order number in bdcmsgcoll(MSGV2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME21' USING ITAB2 mode 'N' UPDATE 'S'  MESSAGES INTO itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to rectify how to get the purchase order number in 'N'(no screen mode)???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jan 13, 2011 11:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 09:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534778#M1561833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534779#M1561834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi siva , &lt;/P&gt;&lt;P&gt; when processing in mode A did you get any popups or anything which was not done by ok codes and you had to manually take an action .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 09:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534779#M1561834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534780#M1561835</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;no i didnt do anything manually. using okcode popup only i did for all screens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 09:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534780#M1561835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T09:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534781#M1561836</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;check the sy0subrc after the BDC call..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sy-subrc returned after the call transaction is 1001&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

CALL TRANSACTION 'ME21' USING ITAB2 mode 'A' UPDATE 'S'  MESSAGES INTO itab3.
if sy-subrc gt 1000.
 "try to check popup..
endif.

read the error messages with the function mod 'FORMAT_MESSAGE'. 
DATA: lv_MESSTAB(250).

CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = SY-LANGU
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = lv_messtab
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2 .
IF SY-SUBRC 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO 
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. 
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 09:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534781#M1561836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T09:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534782#M1561837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;yes i got sy-subrc returned as 1001. but its working fine in 'A' all screen mode in call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in 'N' (no screen) mode i cant get the PO number in msgv2 in bdcmsgcoll...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 09:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534782#M1561837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T09:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534783#M1561838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is any sort of messages( ex: screen field not found,no batch inpput data etc ) then the mode N will fail. In mode A may be you are proceeding. In mode N what are you getting in the message tab othre than the final message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 10:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534783#M1561838</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-01-13T10:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: error in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534784#M1561839</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 also faced similar issue few months a go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While creating recording in SHDB check the last checkbox 'Simulate Background Mode'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with that recording create your BDC is will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 10:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-bdc/m-p/7534784#M1561839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T10:58:07Z</dc:date>
    </item>
  </channel>
</rss>

