<?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_OUTB_DELIVERY_CREATE_SLS commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512114#M1067052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT lf_vbeln IS INITIAL.
  COMMIT WORK.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT lf_vbeln IS INITIAL.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
   EXPORTING
   WAIT          = 'X''
 IMPORTING
   RETURN        = lt_return.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2008 15:23:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-07T15:23:23Z</dc:date>
    <item>
      <title>BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512109#M1067047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this bapi to do the delivery. The bapi create the objet (delivery) but the commit work don't commit: the report return the number of delivery but it doesn't exist on database (LIKP).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The code is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'&lt;/P&gt;&lt;P&gt;   DESTINATION logsys&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;    SHIP_POINT               = 'MD01'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DUE_DATE                 = sy-datum&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     DEBUG_FLG               = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;     delivery                = lf_vbeln&lt;/P&gt;&lt;P&gt;     num_deliveries          = lf_num&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    sales_order_items       = lt_order&lt;/P&gt;&lt;P&gt;    extension_in            = lt_extin&lt;/P&gt;&lt;P&gt;    deliveries              = lt_deli&lt;/P&gt;&lt;P&gt;    created_items           = lt_itm&lt;/P&gt;&lt;P&gt;    extension_out           = lt_extout&lt;/P&gt;&lt;P&gt;    return                  = lt_return&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;write: / 'Delivery:', lf_vbeln,&lt;/P&gt;&lt;P&gt;       / 'NumDeliveries:', lf_num,&lt;/P&gt;&lt;P&gt;       / 'Deliveries:'.&lt;/P&gt;&lt;P&gt;loop at lt_deli into ls_deli.&lt;/P&gt;&lt;P&gt;  write ls_deli-deliv_numb.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not lt_itm[] is initial.&lt;/P&gt;&lt;P&gt;  write: / 'CreatedItems:'.&lt;/P&gt;&lt;P&gt;  loop at lt_itm into ls_itm.&lt;/P&gt;&lt;P&gt;    write: / ls_itm-ref_doc,&lt;/P&gt;&lt;P&gt;             ls_itm-ref_item,&lt;/P&gt;&lt;P&gt;             ls_itm-deliv_numb,&lt;/P&gt;&lt;P&gt;             ls_itm-deliv_item,&lt;/P&gt;&lt;P&gt;             ls_itm-material,&lt;/P&gt;&lt;P&gt;             ls_itm-dlv_qty,&lt;/P&gt;&lt;P&gt;             ls_itm-sales_unit,&lt;/P&gt;&lt;P&gt;             ls_itm-sales_unit_iso.&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;if not lt_return[] is initial.&lt;/P&gt;&lt;P&gt;  write: / 'Return:'.&lt;/P&gt;&lt;P&gt;  loop at lt_return into ls_ret.&lt;/P&gt;&lt;P&gt;    write: / ls_ret-type, ls_ret-id, ls_ret-number,&lt;/P&gt;&lt;P&gt;             ls_ret-message,&lt;/P&gt;&lt;P&gt;           /.&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;if not lt_extout[] is initial.&lt;/P&gt;&lt;P&gt;  write: / 'ExtensionOut:'.&lt;/P&gt;&lt;P&gt;  loop at lt_extout into ls_ext.&lt;/P&gt;&lt;P&gt;    write: / ls_ext.&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;if not lf_vbeln is initial. &lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 13:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512109#M1067047</guid>
      <dc:creator>andrea_peroni</dc:creator>
      <dc:date>2008-10-07T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512110#M1067048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What sort of messages are coming out of lt_return?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 13:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512110#M1067048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T13:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512111#M1067049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Return 2 row:&lt;/P&gt;&lt;P&gt;- S	VL	311	2083608861  has been saved&lt;/P&gt;&lt;P&gt;- S	BAPI	000	OutboundDelivery 2083608861 has been created. External reference:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 14:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512111#M1067049</guid>
      <dc:creator>andrea_peroni</dc:creator>
      <dc:date>2008-10-07T14:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512112#M1067050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the user doing the posting get an express mail document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 14:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512112#M1067050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512113#M1067051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, none mail dovument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total output of the program is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delivery: 2083608864&lt;/P&gt;&lt;P&gt;NumDeliveries: 0001&lt;/P&gt;&lt;P&gt;Deliveries: 2083608864&lt;/P&gt;&lt;P&gt;CreatedItems:&lt;/P&gt;&lt;P&gt;2083310227 000010 2083608864 000010 3004426                       1,000  ST  PCE&lt;/P&gt;&lt;P&gt;2083310227 000020 2083608864 000020 3004426                       1,000  ST  PCE&lt;/P&gt;&lt;P&gt;Return:&lt;/P&gt;&lt;P&gt;S VL                   311&lt;/P&gt;&lt;P&gt;2083608864  has been saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S BAPI                 000&lt;/P&gt;&lt;P&gt;OutboundDelivery 2083608864 has been created. External reference:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 15:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512113#M1067051</guid>
      <dc:creator>andrea_peroni</dc:creator>
      <dc:date>2008-10-07T15:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512114#M1067052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT lf_vbeln IS INITIAL.
  COMMIT WORK.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT lf_vbeln IS INITIAL.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
   EXPORTING
   WAIT          = 'X''
 IMPORTING
   RETURN        = lt_return.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 15:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512114#M1067052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T15:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512115#M1067053</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 not sure whether this going to help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the Document number returned by BAPI miss the LEFT PADDED ZERO's and when we try to read the Database Table with the same, it gives an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case We can use a Conversion_exit....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please ignore if u already checked the created delivery manually in the Delivery Txn....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 16:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512115#M1067053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T16:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_SLS commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512116#M1067054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try   the function CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' but not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that while the program runs (or when it stopped at the output page) if I'm going in vl02n and i try to see the the delivery sap marks it as blocked by the user, but when the program ends sap write that the delivery didn't exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 06:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sls-commit/m-p/4512116#M1067054</guid>
      <dc:creator>andrea_peroni</dc:creator>
      <dc:date>2008-10-08T06:55:16Z</dc:date>
    </item>
  </channel>
</rss>

