<?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 creating Delivery in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837718#M1590614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the right BAPI to create outbound delivery. for the delivery number, you need to pass internal table for the parameter 'createditems ' and then after the execution, you can read the internal table 'document_numb' holds the document number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 15:14:15 GMT</pubDate>
    <dc:creator>former_member191735</dc:creator>
    <dc:date>2011-05-17T15:14:15Z</dc:date>
    <item>
      <title>bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837717#M1590613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts ,&lt;/P&gt;&lt;P&gt;I want to create an  Outbound Delivery with &lt;/P&gt;&lt;P&gt;reference to a Sales Order, using an rfc connection.&lt;/P&gt;&lt;P&gt;I can use VL01N or VL04 for this. But Iam exploring for any BAPI available &lt;/P&gt;&lt;P&gt;for this, i'm using BAPI_DELIVERYPROCESSING_EXEC, but doesn't return the document number , so if you can plz help me .&lt;/P&gt;&lt;P&gt;best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 15:03:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837717#M1590613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T15:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837718#M1590614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the right BAPI to create outbound delivery. for the delivery number, you need to pass internal table for the parameter 'createditems ' and then after the execution, you can read the internal table 'document_numb' holds the document number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 15:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837718#M1590614</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-17T15:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837719#M1590615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is that the table RETURN  is not filled , so i can't not ensure whether the delivery document has been created or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 16:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837719#M1590615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T16:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837720#M1590616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As sampath suggested, you have to read the internal table passed for parameter createditems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 19:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837720#M1590616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T19:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837721#M1590617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Return table only returns the messages but not the delivery number. Have you tried what i suggested? if yes, what was the result in the return parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all bapi's are same. You need to read the documentation and search google as well as SDN before posting a question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, you need to try what others suggested before anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the return parameter has nothing, that is also fine as you didnt get any errors. Read the other table that i mentioned early - you will get the document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sampath Kumar on May 17, 2011 3:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 21:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837721#M1590617</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-17T21:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837722#M1590618</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;You can see the sample code to use the BAPI-BAPI_DELIVERYPROCESSING_EXEC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_vbap OCCURS 0,&lt;/P&gt;&lt;P&gt;vbeln LIKE vbap-vbeln,&lt;/P&gt;&lt;P&gt;posnr LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;kwmeng LIKE vbap-kwmeng,&lt;/P&gt;&lt;P&gt;matnr LIKE vbap-matnr,&lt;/P&gt;&lt;P&gt;werks LIKE vbap-werks,&lt;/P&gt;&lt;P&gt;lgort LIKE vbap-lgort,&lt;/P&gt;&lt;P&gt;vrkme LIKE vbap-vrkme,&lt;/P&gt;&lt;P&gt;END OF t_vbap.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest&lt;/P&gt;&lt;P&gt;WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems&lt;/P&gt;&lt;P&gt;WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: t_sales TYPE STANDARD TABLE OF bapidlvreftosalesorder&lt;/P&gt;&lt;P&gt;      WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Select the fields from VBAP into internal table T_VBAP based on given Sales order No.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;LOOP AT t_vbap.&lt;/P&gt;&lt;P&gt;  t_request-document_type = 'A'.&lt;/P&gt;&lt;P&gt;  t_request-document_numb = t_vbap-vbeln.&lt;/P&gt;&lt;P&gt;  t_request-document_item = t_vbap-posnr.&lt;/P&gt;&lt;P&gt;  t_request-material = t_vbap-matnr.&lt;/P&gt;&lt;P&gt;  t_request-plant = t_vbap-werks.&lt;/P&gt;&lt;P&gt;  t_request-stge_loc = t_vbap-lgort.&lt;/P&gt;&lt;P&gt;  t_request-quantity_sales_uom = t_vbap-kwmeng.&lt;/P&gt;&lt;P&gt;  t_request-delivery_date = sy-datum.&lt;/P&gt;&lt;P&gt;  APPEND t_request.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    request      = t_request&lt;/P&gt;&lt;P&gt;    createditems = t_created&lt;/P&gt;&lt;P&gt;    return       = t_return.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;READ TABLE t_return WITH KEY type = 'E'.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  MESSAGE e208(00) WITH 'Delivery creation error'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;  READ TABLE t_created INDEX 1.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Delivery ', t_created-document_numb.&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;Otherwise, you can also use the below BAPI for creating Delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***LOOP AT t_vbap.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; t_sales-ref_doc = t_vbap-vbeln.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; t_sales-ref_item = t_vbap-posnr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; t_sales-dlv_qty = t_vbap-kwmeng.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; t_sales-sales_unit = t_vbap-vrkme.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; APPEND t_sales.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***ENDLOOP.&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;***CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_SLS'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   delivery          = l_delivery&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   num_deliveries    = l_num&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   sales_order_items = t_sales&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   return            = t_return.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;***READ TABLE t_return WITH KEY type = 'E'.&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;***IF sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; WRITE:/ 'Delivery creation error'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***ELSE.&lt;/P&gt;&lt;P&gt;****COMMIT WORK.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; WRITE: / 'Delivery ', l_delivery.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***ENDIF.&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;Vimala P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 04:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837722#M1590618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T04:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837723#M1590619</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;Please refer the following link. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link: [&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="256839"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 04:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837723#M1590619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T04:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837724#M1590620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vimala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why only read all the messages in the tables. Just debug all the tables once what and all data is there in that.Post if help need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 04:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837724#M1590620</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-05-18T04:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837725#M1590621</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;You can try this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---Fill all the details for BAPI Process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;First create the delivery with main items and then call the change Bapi for&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Batch determination &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_SLS'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      delivery          = g_delivery&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      sales_order_items = lt_soitem&lt;/P&gt;&lt;P&gt;      deliveries        = lt_delnum&lt;/P&gt;&lt;P&gt;      created_items     = lt_critems&lt;/P&gt;&lt;P&gt;      return            = lt_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE lt_ret WITH KEY type = 'E'&lt;/P&gt;&lt;P&gt;             TRANSPORTING NO FIELDS.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        wait = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---If required....&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        header_data    = ls_head&lt;/P&gt;&lt;P&gt;        header_control = ls_headc&lt;/P&gt;&lt;P&gt;        delivery       = g_delivery&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        item_data      = lt_delitem&lt;/P&gt;&lt;P&gt;        item_control   = lt_delitemc&lt;/P&gt;&lt;P&gt;        return         = lt_delret&lt;/P&gt;&lt;P&gt;        item_data_spl  = lt_itemspl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE lt_delret WITH KEY type = 'E'&lt;/P&gt;&lt;P&gt;               TRANSPORTING NO FIELDS.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          wait = 'X'.&lt;/P&gt;&lt;P&gt;   endif.&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;Regards,&lt;/P&gt;&lt;P&gt;Goutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 11:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837725#M1590621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837726#M1590622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks all for your answers , i can now get the document number  but i still have a problem .&lt;/P&gt;&lt;P&gt;i'm creating a web portal where i have to create deliveries with reference to a sale order , the problem is that i need to show to the user of my portal the error messages (which should be in the table &lt;STRONG&gt;RETURN&lt;/STRONG&gt; ) i pass an internal table for the parameter &lt;STRONG&gt;'RETURN '&lt;/STRONG&gt; but it's not filled .&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 13:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837726#M1590622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T13:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837727#M1590623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tell the other users how and where you got the document number. Explain it to the people who answered your question by taking time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the return parameter.... .this will only be filled when there are any messages from the BAPI. For example, if you are trying to create a delivery for the item where there is no ATP then system generates the error message and pass through the return parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read about API's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 14:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837727#M1590623</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-18T14:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837728#M1590624</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;You did not mention which tool or technology you are using to invoke the BAPI. If it is from outside SAP like using the .NET Connector or BizTalk Adapter usually what happens is that you need to initialize the RETURN table parameter as empty, this means that the object must exists but with no rows on it, so when you get the response back you will see the errors or warnings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the project I was involved we used the BAPI_OUTB_DELIVERY_CREATE_SLS  bapi which will return:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export Parameter NUM_DELIVERIES will tell you how many deliveries where created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables:&lt;/P&gt;&lt;P&gt;DELIVERIES table containing all the deliveries that were created.&lt;/P&gt;&lt;P&gt;CREATED_ITEMS table containing the deliveries + delivery items created related to the Sales Order + Sales Order Item you provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 15:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837728#M1590624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T15:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837729#M1590625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bear in mind that this FM is not released for customer use. I couldn't find it in transaction BAPI, so I'm not sure you can even really call it a BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 15:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837729#M1590625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for creating Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837730#M1590626</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;To get the document number I've passed an internal table for the parameter 'createditems ' which holds the document number  'document_numb' .&lt;/P&gt;&lt;P&gt;as a response to Mario Hernandez	, i'm using SAPRFC with PHP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 15:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-creating-delivery/m-p/7837730#M1590626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T15:41:53Z</dc:date>
    </item>
  </channel>
</rss>

