<?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 bdc /bapi urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695619#M889842</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;there is a existing bdc program for goods receipt in our system.&lt;/P&gt;&lt;P&gt;I had added 2 lines of code to the existing recording part of the program.&lt;/P&gt;&lt;P&gt;the problem is at last screen the command =BU is not coming in the popup screen(which will show all the okcodes, even popup window is not coming)&lt;/P&gt;&lt;P&gt;when i comment my part of the code, the popup window is showing =BU command...&lt;/P&gt;&lt;P&gt;I dont understand whatz the problem is .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried to post goods receipt using bapi_goodsmvt_create, but its throwing error messages.&lt;/P&gt;&lt;P&gt;I have to post good with subcontract material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have PO number, Delivery No, Quantity.&lt;/P&gt;&lt;P&gt;Material etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2008 22:40:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-09T22:40:48Z</dc:date>
    <item>
      <title>bdc /bapi urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695619#M889842</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;there is a existing bdc program for goods receipt in our system.&lt;/P&gt;&lt;P&gt;I had added 2 lines of code to the existing recording part of the program.&lt;/P&gt;&lt;P&gt;the problem is at last screen the command =BU is not coming in the popup screen(which will show all the okcodes, even popup window is not coming)&lt;/P&gt;&lt;P&gt;when i comment my part of the code, the popup window is showing =BU command...&lt;/P&gt;&lt;P&gt;I dont understand whatz the problem is .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried to post goods receipt using bapi_goodsmvt_create, but its throwing error messages.&lt;/P&gt;&lt;P&gt;I have to post good with subcontract material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have PO number, Delivery No, Quantity.&lt;/P&gt;&lt;P&gt;Material etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 22:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695619#M889842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T22:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdc /bapi urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695620#M889843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rao,&lt;/P&gt;&lt;P&gt;                    You have to debug your BDC and have to find out as we don't have your system access.&lt;/P&gt;&lt;P&gt;Also for the BAPI you can populate the data to the BAPI as per the belwo code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gmhead  type BAPI2017_GM_HEAD_01.&lt;/P&gt;&lt;P&gt;DATA: gmcode  type BAPI2017_GM_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab    type table of  BAPI2017_GM_ITEM_CREATE   with header line.&lt;/P&gt;&lt;P&gt;data: it_err  type table of BAPIRET2 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_test type ZTEST_WM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gmhead-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;      gmhead-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;      gmhead-header_txt = 'TEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gmcode-gm_code = '03'.       "03 - MB1A - Goods Issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      itab-material = '100-300'.&lt;/P&gt;&lt;P&gt;      itab-plant = '1000'.&lt;/P&gt;&lt;P&gt;      itab-stge_loc = '0088'.&lt;/P&gt;&lt;P&gt;      itab-move_type = '201'.&lt;/P&gt;&lt;P&gt;      itab-entry_qnt  = '1'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     itab-gr_rcpt = w_goods_recipient.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      itab-costcenter = '1000'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     itab-orderid = w_order_num.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      itab-reserv_no = '66132'.&lt;/P&gt;&lt;P&gt;      itab-res_item = '0001'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     itab-network = w_network.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      append itab.&lt;/P&gt;&lt;P&gt;      clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*break ppanand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_GOODSMVT_CREATE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          GOODSMVT_HEADER               = gmhead&lt;/P&gt;&lt;P&gt;          GOODSMVT_CODE                 = gmcode&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          MATERIALDOCUMENT              = mat_doc&lt;/P&gt;&lt;P&gt;          MATDOCUMENTYEAR               = doc_yr&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          GOODSMVT_ITEM                 = itab&lt;/P&gt;&lt;P&gt;          RETURN                        = it_err.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_err with key type = 'E'.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  it_test-mat_doc = mat_doc.&lt;/P&gt;&lt;P&gt;  it_test-doc_yr  = doc_yr.&lt;/P&gt;&lt;P&gt;  it_test-sdate = sy-datum.&lt;/P&gt;&lt;P&gt;  it_test-stime = sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  insert ZTEST_WM from it_test.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WAIT          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; break-point.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; COMMIT WORK.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  do 30 times.&lt;/P&gt;&lt;P&gt;    wait up to 3 seconds.&lt;/P&gt;&lt;P&gt;    break-point.&lt;/P&gt;&lt;P&gt;  enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  break-point.&lt;/P&gt;&lt;P&gt;endif.&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,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 23:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695620#M889843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T23:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: bdc /bapi urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695621#M889844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks for the reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to post the goods receipt using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gm-code  01,&lt;/P&gt;&lt;P&gt;move type = 101,&lt;/P&gt;&lt;P&gt;move ind = 'b'.&lt;/P&gt;&lt;P&gt;i have to process the subcontraced material using the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i pass this data to the fm its saying Material Document data and PO data does not match (material)&lt;/P&gt;&lt;P&gt;but when run through recording for the same materials and po its working fine, but the problem is with the last screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u help me for the scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 23:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695621#M889844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T23:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: bdc /bapi urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695622#M889845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell the exact two lines that u added:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because when you want that pop up screen to be displayed.Do u know its screen number and the ok code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u pass the prog name and screen no. , cursor and okcode , it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Harshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 03:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-bapi-urgent/m-p/3695622#M889845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T03:25:36Z</dc:date>
    </item>
  </channel>
</rss>

