<?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: BAPI for Inbound delivery in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505240#M1065788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just info: as u mentioned FM GN_DELIVERY_CREATE is a part of above said FMs, mostly, like BBP_ , SAVEREPLICA, DEC etc. i mean, GN_DELIVERY_CREATE FM will b called in these FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2009 23:09:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-19T23:09:55Z</dc:date>
    <item>
      <title>BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505229#M1065777</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 interested knowing, if there is any BAPI available for doing Inbound Delivery in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to do partial inbound delivery which I cant do with VL31n or VL30. even if can do with these transactions,&lt;/P&gt;&lt;P&gt;I will not be able to run them in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in this regard is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 08:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505229#M1065777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T08:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505230#M1065778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check them it may be helpful for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_IBDLV_CREATE_FROM_OBDLV BAPI Inbound Delivery from Outbound Delivery&lt;/P&gt;&lt;P&gt;BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for Inbound Delivery Confirmation from a Decentralized System&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 08:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505230#M1065778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T08:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505231#M1065779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_DELIVERYPROCESSING_EXEC&lt;/P&gt;&lt;P&gt;BAPI_DELIVERYFREE_PROXY_CREATE&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;Aparna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 08:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505231#M1065779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T08:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505232#M1065780</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;For VL31N you can make use of BBP_INB_DELIVERY_CREATE Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 08:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505232#M1065780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T08:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505233#M1065781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my requirement is to create Inbound delivery with ref. to a purchase order.&lt;/P&gt;&lt;P&gt;Any sample code with functional module or BAPI usage is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505233#M1065781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505234#M1065782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  CREATE_INBOUND_DELIVERY&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CREATE_INBOUND_DELIVERY .&lt;/P&gt;&lt;P&gt;  DATA : N1(6) TYPE N.&lt;/P&gt;&lt;P&gt;  N1 = '000010'.&lt;/P&gt;&lt;P&gt;  DEL_HEADER-DELIV_DATE = DEL_DATE.&lt;/P&gt;&lt;P&gt;  DEL_HEADER-DELIV_EXT = HEADER-REF_1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; DEL_HEADER-TRANSP_ID = HEADER-OUR_REF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR DEL_TAB.&lt;/P&gt;&lt;P&gt;  REFRESH DEL_TAB.&lt;/P&gt;&lt;P&gt;  CLEAR N1.&lt;/P&gt;&lt;P&gt;  LOOP AT POITEM.&lt;/P&gt;&lt;P&gt;    DEL_TAB-DELIV_ITEM = N1.&lt;/P&gt;&lt;P&gt;    DEL_TAB-MATERIAL = POITEM-MATERIAL.&lt;/P&gt;&lt;P&gt;    DEL_TAB-DELIV_QTY = POITEM-QUANTITY.&lt;/P&gt;&lt;P&gt;    DEL_TAB-UNIT = 'EA'.&lt;/P&gt;&lt;P&gt;    DEL_TAB-PO_NUMBER = PO.&lt;/P&gt;&lt;P&gt;    DEL_TAB-PO_ITEM = POITEM-PO_ITEM.&lt;/P&gt;&lt;P&gt;    APPEND DEL_TAB.&lt;/P&gt;&lt;P&gt;    CLEAR DEL_TAB.&lt;/P&gt;&lt;P&gt;    N1 = N1 + 20.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      IS_INB_DELIVERY_HEADER = DEL_HEADER&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      EF_DELIVERY            = DEL_NO&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      IT_INB_DELIVERY_DETAIL = DEL_TAB&lt;/P&gt;&lt;P&gt;      RETURN                 = DEL_RET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " CREATE_INBOUND_DELIVERY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 10:29:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505234#M1065782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505235#M1065783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already solved with above function module but still I am giving full points because some else trying this scenario will know that this is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 17:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505235#M1065783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505236#M1065784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the same problem can you send the code for that bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new for the bapi. Plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Rajiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 10:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505236#M1065784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T10:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505237#M1065785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, was working with similar problem. &lt;/P&gt;&lt;P&gt;I used GN_DELIVERY_CREATE and wrapped it up into method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be will be useful. &lt;/P&gt;&lt;P&gt;It creates inbound delivery by PO/STO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method signature :&lt;/P&gt;&lt;P&gt;I_EBELN	Importing  Type	EBELN Purchasing Document Number&lt;/P&gt;&lt;P&gt;I_COMMIT Importing Type	ANY Commit database changes&lt;/P&gt;&lt;P&gt;I_LFDAT	Importing    Type LFDAT SY-DATUM&lt;/P&gt;&lt;P&gt;E_VBELN	Exporting    Type VBELN_VL Delivery&lt;/P&gt;&lt;P&gt;ET_LIPS	  Exporting  Type /SAPSLL/LIPS_R3_T &lt;/P&gt;&lt;P&gt;ET_RETURN Exporting  Type BAPIRET2_T &lt;/P&gt;&lt;P&gt;E_RC	  Changing   Type SYSUBRC&lt;/P&gt;&lt;P&gt;E_MESSAGE Changing   Type ANY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method itself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method create_inb_dlvr_by_po.&lt;/P&gt;&lt;P&gt;*-- Logic for current method was extracted from&lt;/P&gt;&lt;P&gt;*-- source code of VL31N dialog transaction&lt;/P&gt;&lt;P&gt;  data l_sd_doc_category type vbtyp value 'V'.&lt;/P&gt;&lt;P&gt;  data l_ibtyp type t163d-ibtyp value '2'.&lt;/P&gt;&lt;P&gt;  data l_func(1) value '1'.&lt;/P&gt;&lt;P&gt;  constants c_error(1) value 'E'.&lt;/P&gt;&lt;P&gt;*--&lt;/P&gt;&lt;P&gt;  field-symbols &amp;lt;wa_xkomdlgn&amp;gt; type komdlgn.&lt;/P&gt;&lt;P&gt;  data lt_lips      type table of lips.&lt;/P&gt;&lt;P&gt;  data wa_lips      type lips.&lt;/P&gt;&lt;P&gt;  data lt_errors    type table of wuebs.&lt;/P&gt;&lt;P&gt;  data wa_errors    type wuebs.&lt;/P&gt;&lt;P&gt;  data wa_return    type bapiret2.&lt;/P&gt;&lt;P&gt;  data lt_wueb      type table of wueb.&lt;/P&gt;&lt;P&gt;  data wa_wueb      type wueb.&lt;/P&gt;&lt;P&gt;  data vbsk_i       type vbsk.&lt;/P&gt;&lt;P&gt;  data l_no_commit  type char01.&lt;/P&gt;&lt;P&gt;  data lt_xkomdlgn  type table of komdlgn.&lt;/P&gt;&lt;P&gt;  data lt_xvbfs     type table of vbfs.&lt;/P&gt;&lt;P&gt;  data lt_xvbls     type table of vbls.&lt;/P&gt;&lt;P&gt;  data vbsk_e       type vbsk.&lt;/P&gt;&lt;P&gt;  data lt_splitprot type vlikp_t_splitprot.&lt;/P&gt;&lt;P&gt;  data wa_tvlk      type tvlk.&lt;/P&gt;&lt;P&gt;  data wa_likp      type likp.&lt;/P&gt;&lt;P&gt;*--&lt;/P&gt;&lt;P&gt;  clear: e_rc, e_message.&lt;/P&gt;&lt;P&gt;*-- Prepare data for delivery creation&lt;/P&gt;&lt;P&gt;  wa_wueb-ebeln = i_ebeln.&lt;/P&gt;&lt;P&gt;  append wa_wueb to lt_wueb.&lt;/P&gt;&lt;P&gt;*-- Get delivery type&lt;/P&gt;&lt;P&gt;  call function 'ME_CONFIRMATION_DELIVERY_TYPE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            i_func              = l_func&lt;/P&gt;&lt;P&gt;       changing&lt;/P&gt;&lt;P&gt;            c_ibtyp             = l_ibtyp&lt;/P&gt;&lt;P&gt;            c_lfart             = wa_likp-lfart&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            function_not_valid  = 01&lt;/P&gt;&lt;P&gt;            param_value_missing = 02&lt;/P&gt;&lt;P&gt;            no_item_found       = 03&lt;/P&gt;&lt;P&gt;            error_message       = 04.&lt;/P&gt;&lt;P&gt;  if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    e_rc = sy-subrc.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into e_message.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;*-- Get default order type&lt;/P&gt;&lt;P&gt;  select single daart into wa_tvlk-daart&lt;/P&gt;&lt;P&gt;                      from tvlk&lt;/P&gt;&lt;P&gt;                      where lfart eq wa_likp-lfart.&lt;/P&gt;&lt;P&gt;  if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    e_rc = sy-subrc.&lt;/P&gt;&lt;P&gt;    e_message = 'Delivery type not found'(001).&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;*-- Fill communiaction table from PO data&lt;/P&gt;&lt;P&gt;  call function 'ME_CONFIRMATION_READ_AVIS'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            ldate         = sy-datum&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            t_kom         = lt_xkomdlgn&lt;/P&gt;&lt;P&gt;            t_wueb        = lt_wueb&lt;/P&gt;&lt;P&gt;            errors        = lt_errors&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            error_message = 99.&lt;/P&gt;&lt;P&gt;  if et_return is supplied.&lt;/P&gt;&lt;P&gt;    clear wa_return.&lt;/P&gt;&lt;P&gt;    loop at lt_errors into wa_errors.&lt;/P&gt;&lt;P&gt;      wa_return-id         = wa_errors-msgid.&lt;/P&gt;&lt;P&gt;      wa_return-type       = wa_errors-msgty.&lt;/P&gt;&lt;P&gt;      wa_return-number     = wa_errors-msgno.&lt;/P&gt;&lt;P&gt;      wa_return-message_v1 = wa_errors-msgv1.&lt;/P&gt;&lt;P&gt;      wa_return-message_v2 = wa_errors-msgv2.&lt;/P&gt;&lt;P&gt;      wa_return-message_v3 = wa_errors-msgv3.&lt;/P&gt;&lt;P&gt;      wa_return-message_v4 = wa_errors-msgv4.&lt;/P&gt;&lt;P&gt;      append wa_return to et_return.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at lt_errors into wa_errors where msgty = c_error.&lt;/P&gt;&lt;P&gt;    message id wa_errors-msgid&lt;/P&gt;&lt;P&gt;       type wa_errors-msgty&lt;/P&gt;&lt;P&gt;       number wa_errors-msgno&lt;/P&gt;&lt;P&gt;       with wa_errors-msgv1 wa_errors-msgv2&lt;/P&gt;&lt;P&gt;            wa_errors-msgv3 wa_errors-msgv4&lt;/P&gt;&lt;P&gt;       into e_message.&lt;/P&gt;&lt;P&gt;    e_rc = 8.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check e_rc is initial.&lt;/P&gt;&lt;P&gt;*-- Set delivery date&lt;/P&gt;&lt;P&gt;  wa_likp-lfdat = i_lfdat.&lt;/P&gt;&lt;P&gt;*-- Prepare General Delivery Interface data&lt;/P&gt;&lt;P&gt;  loop at lt_xkomdlgn assigning &amp;lt;wa_xkomdlgn&amp;gt;.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-lfart = wa_likp-lfart.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-auart = wa_tvlk-daart.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-vgtyp = l_sd_doc_category.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-lfdat = wa_likp-lfdat.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-lfuhr = wa_likp-lfuhr.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-bolnr = wa_likp-bolnr.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-verur = wa_likp-verur.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-lifex = wa_likp-verur.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-traty = wa_likp-traty.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-traid = wa_likp-traid.&lt;/P&gt;&lt;P&gt;    &amp;lt;wa_xkomdlgn&amp;gt;-kzazu = charx.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if i_commit is initial.&lt;/P&gt;&lt;P&gt;    l_no_commit = charx.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    clear l_no_commit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;*-- Create delivery&lt;/P&gt;&lt;P&gt;  call function 'GN_DELIVERY_CREATE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            vbsk_i        = vbsk_i&lt;/P&gt;&lt;P&gt;            no_commit     = charx&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            vbsk_e        = vbsk_e&lt;/P&gt;&lt;P&gt;            et_splitprot  = lt_splitprot&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            xkomdlgn      = lt_xkomdlgn&lt;/P&gt;&lt;P&gt;            xxlips        = lt_lips&lt;/P&gt;&lt;P&gt;            xvbfs         = lt_xvbfs&lt;/P&gt;&lt;P&gt;            xvbls         = lt_xvbls&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            error_message = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    e_rc = 8.&lt;/P&gt;&lt;P&gt;    message e398(00) with 'DELIVERY'(003) 'CREATION FAILED'(002)&lt;/P&gt;&lt;P&gt;      into e_message.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if lt_lips[] is initial.&lt;/P&gt;&lt;P&gt;    e_rc = 8.&lt;/P&gt;&lt;P&gt;    message e398(00) with 'DELIVERY'(003) 'CREATION FAILED'(002)&lt;/P&gt;&lt;P&gt;      into e_message.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at lt_lips into wa_lips.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  et_lips = lt_lips.&lt;/P&gt;&lt;P&gt;  delete lt_lips where lfimg &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    e_rc = 8.&lt;/P&gt;&lt;P&gt;    message e398(00) with 'DELIVERY'(003) wa_lips-vbeln&lt;/P&gt;&lt;P&gt;                          'WITH 0 QTY. NOT SAVED!'(005)&lt;/P&gt;&lt;P&gt;      into e_message.&lt;/P&gt;&lt;P&gt;    rollback work.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if l_no_commit is initial.&lt;/P&gt;&lt;P&gt;    commit work and wait.&lt;/P&gt;&lt;P&gt;    select single vbeln into e_vbeln from lips&lt;/P&gt;&lt;P&gt;           where  vbeln  = wa_lips-vbeln.&lt;/P&gt;&lt;P&gt;    if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;      e_rc = 8.&lt;/P&gt;&lt;P&gt;      message e398(00) with 'DELIVERY'(003) 'CREATION FAILED'(002)&lt;/P&gt;&lt;P&gt;         into e_message.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      message s398(00) with 'DELIVERY'(003) wa_lips-vbeln&lt;/P&gt;&lt;P&gt;                            'CREATED'(004)&lt;/P&gt;&lt;P&gt;           into e_message.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    rollback work.&lt;/P&gt;&lt;P&gt;    message s398(00) with 'DELIVERY'(003) wa_lips-vbeln&lt;/P&gt;&lt;P&gt;                          'CREATED'(004)&lt;/P&gt;&lt;P&gt;         into e_message.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  e_vbeln = wa_lips-vbeln.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 19:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505237#M1065785</guid>
      <dc:creator>former_member219168</dc:creator>
      <dc:date>2008-12-30T19:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505238#M1065786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;    Now, I would like to creat a Inbound delivery,  Use a BAPI,bapi name is BAPI_INB_DELIVERY_SAVEREPLICA,but I don't know the meaning of each parameter, Can you explain?,Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 14:54:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505238#M1065786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T14:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505239#M1065787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surinder, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM BBP_INB_DELIVERY_CREATE did the magic for transaction VL31N, thanks for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea of why there is no BAPI to this? Where did you find this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pablo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 22:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505239#M1065787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T22:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505240#M1065788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just info: as u mentioned FM GN_DELIVERY_CREATE is a part of above said FMs, mostly, like BBP_ , SAVEREPLICA, DEC etc. i mean, GN_DELIVERY_CREATE FM will b called in these FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 23:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505240#M1065788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T23:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for Inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505241#M1065789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my requirement is to create Inbound delivery with ref. to a purchase order.but the value is updating in likp and lips.but in lips table in matnr field material value is not updated ......so kindly give some idea.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: haji mohamed on Nov 1, 2010 10:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 17:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-inbound-delivery/m-p/4505241#M1065789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T17:03:22Z</dc:date>
    </item>
  </channel>
</rss>

