Create Outbound Delivery from STO/PO

Hi,
I need to create a Outbound Delivery with respect to STO. Did anybody worked on this, Please pass which FM/BAPI used?
Thanks in advance,

try BAPI_OUTB_DELIVERY_CREATE_STO.
anya

Similar Messages

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • Create outbound delivery from IDOC

    i want to create outboud delivery from incomming idoc..is DELVRY02 idoc type and shpcom message type will do this ..after crating the delivery i aslo need to do PGI..
    please tell me this idopc type and message type will do this or not?
    Thanks,

    Hi,
    I also have the same issue - I would like to be able to create an outbound delivery via IDOC/BAPI although cannot find the means to accomplish this.  Is there a standard process available to generate an outbound delivery without reference (VL01NO)?  I would like to avoid writing custom code if possible.
    Thanks!

  • BAPI or function module for creating outbound delivery agains STO

    Hi,
    Is there any function module or BAPI to create an outboud delivery against STO?  Appreciated if anybody tells what are all the mandatory fields to pass.
    Thanks and Regards,
    Suresh

    Hi,
    Pls check the BAPIs,
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    Regards,
    Renjith Michael.

  • Unable to create outbound delivery for STO??

    Hi All,
    I am trying to create an outbound delivery for a cross company code stock transport order, but when I try to do so in Txn VL10B the system does not create any.
    What I have observed is that in the STO I do not get any delivery creation date in the shipping tab. the system is not determining delivery creation date.
    Does anyone have any idea why it is so? Why the system is not able to determine the dleivery creation date? I have tried by creating STOs for many materials, but none works!
    Regards,
    V S

    Hi
    Pl check the settings:
    Below is the sto check list:
    Check all your settings once again for creating inter-company billing:
    - Material should exist in both plants.
    - Stock will be maintained in D-Plant (Delivering).
    - Now Plant - R (Receiving) become the customer of Plant-D.  So create a dummy customer in Plant-D's company code and sales area.  
    - Assign this customer number to Plant -R's details & its selling sales area.
    - Maintain the intercomapny billing type (IV) in ur sales doc type (OR).
    - Assign the Plant-D to selling sales org+ dbt channel.
    - Maintain relevant copy controls between documents.
    by doing all this then create po and check wheather do u got the shipping tab in the purchase order, if yes then replenishment del will be created.
    With Regards
    baalakrushnan.da

  • Is it possible to add item in Outbound delivery from a different STO

    Hi experts
    I have a question regarding adding an item in delivery from different STO.
    we create outbound deliveries from STOs and at times we have all conditions same for shipping and we need to add another item in delivery from a different STO.
    I am not getting an option in VL02 to ad another item with reference to STO, is it possible to create delivery by adding another item from STO?
    Thanks & Regards
    Anand

    You can combine STOS in to one OB delivery if they are all from teh same plant. You could use the customer master >> order combination indicator

  • Creation of outbound delivery from ASN

    We have an issue while developing EDI interface with our subcontractor.  The requirement is to create an outbound delivery in R/3 system based on the Advanced Shipping Notification (ASN) received from the subcontractor.  In this business scenario subcontractor tells us how much quantity of component is required by them and when (based on their capacity). So we need to create outbound delivery from the ASN to dispatch the components. Kindly suggest how this can be done ?

    Hi,
    Please check the below links
    http://help.sap.com/bp_bblibrary/500/html/W41_EN_DE.htm
    http://help.sap.com/bp_cpwsd604/BBLibrary/HTML/298_EN_CO.htm
    Kuber

  • How to create outbound delivery except bapi BAPI_DELIVERYPROCESSING_EXEC

    Hi,
    I have a problem with bapi BAPI_DELIVERYPROCESSING_EXEC.
    I use this bapi to create outbound delivery from delivery due list. But there is no shipping point as a parameter in this function module. So if there is two shipping point in a sales order, only one delivery is created for only one shipping point. How can I solve this problem.
    Or Can I create outbound delivery from a sales order with using bapi ?
    Thanks.

    I think(It's strictly my opinion), if a suitable serial number profile is maintained in plant/material then this assignment should happen automatically!!
    **You gotta refer to a functional consultant. I am not very sure..

  • Issue During Outbound Delivery for STO Purchase order

    Hi,
    Delivery Quantity is not picking automatically in VL10B, while creating outbound delivery with STO purchase order with account assignment ''Q'' Project (with WBS element). Stock also available in the supplying plant as shown the below screen shot.
    MMBE:
    Please do the needful.
    Thanks,
    Ashok

    Hi Pardhu,
    Thanks for your response.
    We don't have any open reservations and safety stock available for the material. Kindly go through below screen shot for your reference:
    Thanks,
    Ashok

  • Create Inbound Delivery from Outbound Delivery create

    Hi,
    This is what I am trying to do...
    1. Create PO (me21n)
    2. Create Outbound Delivery based on PO (VL10g)
    3. PGI (this creates a DELVRY03 IDoc)
    (IDoc is created at this step, no issues so far)
    4. Based on the Outbound DELVRY03 IDoc I want to create Inbound Delivery. Inbound IDoc is created, but not posted to Application. It gives me the following error...
    "Item 00000 of purchasing document does not exist".
    Please help me resolve this error message.
    Regards,
    Sneha

    Hello Sneha,
    Outbound delivery cannot be created against the purchase order. In a third party scenario where in we receive the shipping Notification(SN) from the vendor, it comes as Delvry02 IDOC to our system. The IDOC gets posted as Inbound delivery for which Goods Recipt happens against the Purchase order using the transaction MIGO. This updates the vendor confirmation table EKES. If you see the Confirmations tab in purchase order you will see the Inbound delivery number and external delivery number.
    Outbound delivery gets created against the sales order and uses the stock posted by the goods receipt to issue the goods. The ASN signals(DelVRY03) gets created after PGI happens in the Outbound delivery.
    The Process is like
    Purchase Order(ORDERS05) goes to vendor --- > Vendor Manufactures the goods sends back Ship notifcation(SN) -> SN posts the goods Inbound Delvery is created and GR happens.-> Outbound delivery gets created and ASN signals go to the forwarder.
    Do revert to me for any further clarification.

  • Create Outbound delivery with QCI from Sale order

    Dear experts!
    Now, I'm getting some issues about searching function to create outbound delivery with QCI from Sale order.
    Note: My sale order have two item (10, 20) and when i create outbound delivery I also want to create QCI for them.
    Help me, Please
    Best regards, Huy.

    What is QCI?

  • Help! how to create an outbound delivery from a project using a FM/BAPI?

    Hi,
    I need help to find a BAPI or FM which can be used to create an outbound delivery from a project similar to tcode CNS0?
    The following data will be used in creating the outbound delivery from a project:
      Project definition
      WBS Element
      Network
      Shipping Point
      Ship_To_Party
      Plant
      Storage Location
      Planned Goods Movement Date
      Delivery Type  : LP
      Sales Organization
      Distribution Channel
      Division
      Item Number
    Please help me find the appropriate BAPI or FM to create the delivery from project.
    Any help on this would be greatly appreciated.
    Thank you.
    with regards,
    Muthu Ganapathy.

    Hi Ferry Lianto,
    Thank you for your response.  Do you have a sample code to call this FM? Or can you please provide me what all parameters I need to pass to create delivery from project?    My input parameters are as given below:
    Project definition
    WBS Element
    Network
    Shipping Point
    Ship_To_Party
    Plant
    Storage Location
    Planned Goods Movement Date
    Delivery Type : LP
    Sales Organization
    Distribution Channel
    Division
    Item Number
    Please help me on this.
    Thank you.
    with regards,
    Muthu Ganapathy.

  • IDOC to create from outbound delivery from sales order as INBOUND process

    Hi Experts,
    We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
    We have to process this XML file into SAP with IDOC.
    Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
    Can you suggest Basic IDOC type / Message type and process code for the same.
    Regards,
    Sahadev Abhyankar

    Good morning !
    In the transaction WE20 to create the customer EDI  KU with EM function.
    Output parameter: message type DESADV and basic IDOC DESADV01.
    I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
    Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
    Sorry for my poor English
    A greeting.

  • SHP_DELIVERY_CREATE_FROM_STO to create outbound delivery

    HI,
       Im using SHP_DELIVERY_CREATE_FROM_STO to create outbound delivery document for an STO order. For that particular material there are different storage locations ,so the it is not getting updated in VL02N which is stopping from doing PGI(Goods issue). Can any one pls suggest how to update storage location in the LIPs table.
    Thanks,
    Vinodh

    Hello,
    Were you able to pass Storage location LGORT as input using BAPI BAPI_OUTB_DELIVERY_CREATE_STO. If yes, Then can you pls share the details how did u achieve it.
    Thanks
    Sheela

  • Creation of virtual outbound delivery from MIGO.

    Hi All,
    Scenario - Material, packing material, virtual Goods receipt and virtual outbound delivery and PGI, and final billing.
    We have a scenario wherein we have a Sales Scheduling Agreement for a material is created. The requirement will be generated and send to a vendor.
    The vendor will send goods with packing material directly to the customer ( as it happens in third party ). Packaging material will be added in MIGO as non order item. Packing material will have unique identifiers numbers which the vendor will send and will be updated in MIGO ( as text ).
    At the same time vendor will also send the data to SAP and on that basis MM guys will do a inbound delivery and Goods Receipt ( MIGO ).
    This is the place where I need help.
    As per requirement, we want to create an Outbound Delivery from the MIGO transaction. As soon as MIGO is saved, a outbound delivery should be created for already existing sales scheduling agreement. Delivery should have the main material and the packing materials and the Text ( to be copied from MIGO ).
    I want to know how this can be acheived. Plz sugegst User Exits / BADI's etc.
    Regards,
    Danny.

    Thanks for your valuable replies. I need some more help as the requirement is changed a bit.
    We will get an ASN with only one line item as main material with packaging material text ( no line item for packaging material ). In MM side they will create n inbound delivery with only one item - main material with text in text field.
    We want to create a outbound delivery on Post Goods Receipt save action.
    The outbound delivery should have 2 line items, 1st  for main material referencing the sales scheduling agreement, and 2nd needs to be programmatically added which will have Packaging material with text saved in text tab.
    As suggested by Lakshmipathi Sir, I check include MV50AFZ1, USEREXIT_SAVE_DOCUMENT. But I am bit confused if this can be used for triggering Outbound delivery from PGR.
    Request Gurus to suggest the best option for this requirement.
    Regards,
    Danny.

Maybe you are looking for

  • Can no longer print

    all was good on tuesday but on wednesday could not print, either wireless or thru USB. Originally said printer was offline when it wasnt. Have wound up completely reinstallig printer....says install went fine, test report shows connected although low

  • Need Help: BBZ10 Stuck on Usb Moniter Screen Unable to Boot / Start

    Hi, I recently purchased a Balckberry Z10, while trying to transfer my data from my existing blackberry I accidently reset my device to factory setting. now it is stuck on the usb moniter screen. I  have tried reloading the phone using Link but it ke

  • Custom image from Address book not syncing to Exchange.

    I am running Mac OS X v 10.7.5. I have added custom images to contacts in address book. I have an Exchange account which will sync the data (ie name, address, email) but not the custom image. Is there away to have custom images sync to Exchange/Outlo

  • Which table stores request Id ??

    Dear All, I want to delete the particular request from ODS / Cube selectively by ABAP prog . Please let me know the Table name in which requests gets stored. regards Vishal

  • The selected wizard could not be started  Reason:org/eclipse/jdt/core/IJava

    Hi i am a newbie to Eclipse plugin , i have used org.eclipse.jdt.core package classes(IJavaElement,ICompliationUnit) for my developement . In Standalone ( as a Eclipse application ) My code is working its generating required java files I export my pl