<?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_STO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135590#M1190384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abap_Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your post as this info does help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Aug 2010 02:13:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-09T02:13:35Z</dc:date>
    <item>
      <title>BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135582#M1190376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this BAPI to create outbound delivery. but i am getting errror in the table return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is : Please check the entries. No work list selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the reason for this error ? How do solve this and to get a successful output for this bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest what are all the things to be checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my code is here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input is : PO number and item no , quantity and date in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: lc_ship_point TYPE bapidlvcreateheader-ship_point VALUE '5421',&lt;/P&gt;&lt;P&gt;                lc_code_success TYPE string VALUE '0',&lt;/P&gt;&lt;P&gt;                lc_code_failure TYPE string VALUE '4',&lt;/P&gt;&lt;P&gt;                lc_error TYPE char1 VALUE 'E',&lt;/P&gt;&lt;P&gt;                lc_yes TYPE char1 VALUE 'X',&lt;/P&gt;&lt;P&gt;                lc_posnr TYPE posnr_vl VALUE '000010',&lt;/P&gt;&lt;P&gt;                lc_success TYPE string VALUE 'Succesfully Processed',&lt;/P&gt;&lt;P&gt;                lc_delivery_failure TYPE string VALUE 'Outbound Delivery Creation Failure',&lt;/P&gt;&lt;P&gt;                lc_goodsissue_failure TYPE string VALUE 'Good Issue Creation Failure'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA :          lw_stk_item TYPE bapidlvreftosto,&lt;/P&gt;&lt;P&gt;                  lt_stk_item TYPE TABLE OF bapidlvreftosto,&lt;/P&gt;&lt;P&gt;                  lv_delivery TYPE  bapishpdelivnumb-deliv_numb,&lt;/P&gt;&lt;P&gt;                  lv_due_date TYPE bapidlvcreateheader-due_date,&lt;/P&gt;&lt;P&gt;                  ls_vbkok_wa TYPE vbkok,&lt;/P&gt;&lt;P&gt;                  lw_vbpok_tab TYPE vbpok,&lt;/P&gt;&lt;P&gt;                  lt_vbpok_tab TYPE TABLE OF vbpok,&lt;/P&gt;&lt;P&gt;                  ls_header_data TYPE bapiobdlvhdrcon,&lt;/P&gt;&lt;P&gt;                  ls_header_control TYPE bapiobdlvhdrctrlcon,&lt;/P&gt;&lt;P&gt;                  lt_return TYPE TABLE OF bapiret2,&lt;/P&gt;&lt;P&gt;                  lw_return TYPE bapiret2,&lt;/P&gt;&lt;P&gt;                  lw_err_msg TYPE zexchange_log_data2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : lt_serial TYPE TABLE OF bapidlvserialnumber,&lt;/P&gt;&lt;P&gt;         lw_serial like line of lt_serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Item Number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  lw_stk_item-ref_item = item_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Po number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  lw_stk_item-ref_doc = po_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  lw_stk_item-dlv_qty = quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Shipping date (considering that given date is in YYYYMMDD format)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lv_due_date = shipping_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*get unit of measure from ekpo table&lt;/P&gt;&lt;P&gt;  SELECT SINGLE meins INTO lw_stk_item-sales_unit FROM ekpo&lt;/P&gt;&lt;P&gt;         WHERE ebeln = po_number&lt;/P&gt;&lt;P&gt;           AND ebelp = item_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND lw_stk_item TO lt_stk_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING lw_stk_item TO lw_serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append lw_serial to lt_serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*create out bound delivery&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_STO'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ship_point        = lc_ship_point&lt;/P&gt;&lt;P&gt;      due_date          = lv_due_date&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      delivery          = lv_delivery&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      stock_trans_items = lt_stk_item&lt;/P&gt;&lt;P&gt;      serial_numbers    = lt_serial&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     EXTENSION_IN      = ls_ext&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      return            = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Error Handling&lt;/P&gt;&lt;P&gt;  CLEAR lw_return.&lt;/P&gt;&lt;P&gt;  READ TABLE lt_return INTO lw_return WITH KEY type = lc_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no value in the field lv_delivery i am getting error message in the lt_return table and cannot proceed further . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 11:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135582#M1190376</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2009-02-05T11:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135583#M1190377</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;Go through the function module documentation which clearly explain how to use BAPI_OUTB_DELIVERY_CREATE_STO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 11:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135583#M1190377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T11:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135584#M1190378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course , i read the function module. But i am missing something to fix the problem in the code or some where in the setting.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any valuable suggestions are welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 13:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135584#M1190378</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2009-02-05T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135585#M1190379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I debugged the bapi .  if there is no entry in the table 'VETVG' , then the bapi gets failed to generate the delivery number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In what way the Purchase order entry details are updated in the table 'VETVG' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain the process flow happening while creating Purchase orders and their corresponding entries in the SAP tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 12:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135585#M1190379</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2009-02-06T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135586#M1190380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i call this RFC Bapi from the other logical system , it is not returning the delivery number for the particular shipping point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to use the bapi in the same system ( where it actually exists ) it is returning value for  the delivery number for the purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first thing is when i call RFC from any logical system What do i need to check , in the bapi to return value  ? Please give your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i investigated, i can see some error in the table "No responsibility for creating supplies for shipping rather than 5421"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please throw some light on this question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 13:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135586#M1190380</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2009-02-09T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135587#M1190381</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 user id and pwd (SAP access from Non-sap system) with which you are running this BAPI in legacy system. May be it is causing authorization problem in using the shipping point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Login to SAP system with the same ID and PWD u r using in non sap frontend for using these BAPI, and check the FM is working fine (Creating the delivery). &lt;/P&gt;&lt;P&gt;Let us know whether u r able to create the delivery or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 13:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135587#M1190381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T13:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135588#M1190382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion. I hope its related to authorisation and i requested to give authorisation for the RFC user to execute this BAPI . I  will get authorisation and check for the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 13:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135588#M1190382</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2009-02-09T13:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135589#M1190383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is Solved !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is due to "The RFC user misses authorisation for all activites of authorisation Object V_LIKP_VST."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is solved by adding the appropriate roles to the RFC_user. Now its creating delivery number when we call the rfc from other system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be useful if some one faces this kind of problem in fututre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 05:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135589#M1190383</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2009-02-12T05:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OUTB_DELIVERY_CREATE_STO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135590#M1190384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abap_Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your post as this info does help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 02:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-outb-delivery-create-sto/m-p/5135590#M1190384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T02:13:35Z</dc:date>
    </item>
  </channel>
</rss>

