IDoc for creating VL01N (outbound) delivery

Hi,
I have an interface which provides a SO and need to create an outbound delivery (VL01N) in SAP. This Idoc will be inbound to SAP and requires to create an delivery (vl01n). I tried using delvry03 with message type desadv....but nothing is successful. pls can anyone provide ome help here?

Hi,
Check Line number 96 of This bapi
perform delivery_replicate tables gt_komdlgn
and the code written inside this sub-routine.
call function 'GN_DELIVERY_CREATE'
       exporting
            vbsk_i         = gs_vbsk
            no_commit      = gc_true
            if_synchron    = gc_false................
Though I have not used this BAPI, by going through the BAPI code, i think delivery will be created.
Regards
Vinod

Similar Messages

  • 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.

  • Badi for create/change outbound delivery

    Hi,
    I want to write a custom code on the create/change of outbound delivery.
    found a badi def: DELIVERY_PUBLISH and method: delivery_publish_after_save.
    I want to know if this is correct place to write my include or any other place?
    Thanks & regards,
    Ravish

    Hi,
    Check SAP Note 415716 - User exits in delivery processing also.
    Regards,
    Eduardo

  • Is there IDoc to create Vl01n delivery on posting it to SAP ???

    hi,
    I've made quite extensive search and finally landed in posting this query again....is there any standard idoc provided by sap tht can be used to create outbound deliveries (vl01n) in sap via idocs?
    this question reflects to my thread in "Data transfers"
    IDoc for creating VL01N (outbound) delivery
    As far i have seen only inbound deliveries (vendor delveries: vl31) could be used...any advice on it pls.
    i refrain from using bapi's for now.....

    no process code found for posting customer delivery...so using own process code with bapi in it

  • BAPI for creation Partial Outbound delivery

    Hi Guru
    Please suggest me any BAPI's for creating Partial Outbound Delivery
    I am working on BAPI_OUTB_DELIVERY_CREATE_SLS           but its creating full delivery
    Pls suggest me anythg..
    Best Regards
    Subham Arya

    Hi
    For finding the right BAPI, have a look at the following blog:
    /people/g.koopmann/blog/2010/03/07/using-bapis
    Best regards,
    Guido Koopmann

  • Create an outbound delivery with reference to a purchase order

    Hi folks, would you tell me if I can create an outbound delivery with reference to a purchase order?
    I tried to use the transaction VL10B but after I run there is no data is selected. Should I set up anything else for that?
    Thanks in advanced.

    Hi,
    Yes, you can create outbound delivery with reference to a PO.
    In transaction VL10B, if you are not sure about the shipping point leave it blank. ALso, you can check the shipping point from the shipping data and enter it here.
    Leave the field Condition rule to create delivery blank so that it will consider PO with delivery date falling within one year.
    In the Purchase order tab, enter the PO number.
    Execute.  It should fetch you the PO list due for delivery.
    Before doing the above, make sure PO is not subjected to release strategy. Check the quantity in the PO due for delivery.
    Thanks and Regards,
    Maheshwari

  • BAPI or FM to create an outbound delivery?

    Hi all,
    does anyone know of a BAPI or a Function Module that given only the sales order document number and the posting date to create an outbound delivery?
    (I am looking for something that creates automatically a delivery just like when I create a sales order with automatic delivery creation.)
    Regards,
    GB

    Hi,
    check these function modules for sales order document no.
    <b>In case of smartform:</b>
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZFORMNAME'
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    i_otf[] = w_return-otfdata[].
    <b>In case of sapscript:</b>
    options-tdgetotf = 'X'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    options = options
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT =
    RDI_RESULT =
    TABLES
    otfdata = i_otf
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    OTHERS = 5.
    i_otf -
    Regards,
    Sakthi.

  • 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.

  • Goods Issue for a Return Outbound Delivery for both Sales Returns

    Hi gurus..
    tell me the approch for the following development....
    custom transaction to perform a Goods Issue for a Return Outbound Delivery for both Sales Returns and Consignment Returns (Pickups) process within a lean warehouse in SAP.
    it is vry urgnt
    thnks

    I seem to have found the information I required here:
    http://wiki.sdn.sap.com/wiki/display/Snippets/Simulating+the+Sales+Cycle+with+BAPI's
    I'm going to keep this post active because I'd still like answers to my questions and any advice that you might be willing to share in regards to what I am trying to do.
    Edited by: Mikael Nensén on May 18, 2011 3:52 PM

  • FM for migo against outbound delivery

    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    I am using this FM for migo against outbound delivery can i get waht parameters i have to pass
    for this FM for outbound delivery

    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    itab-move_type  = '101'.
      itab-mvt_ind    = 'B'.
      itab-plant      = 'FD11'.
      itab-material   = '0000900152'.
      itab-entry_qnt  = '1.000'.
      itab-move_stloc = 'FG'.
      itab-stge_loc   = 'FG' .
      itab-po_number  = '5500004086'.
    itab-DELIV_NUMB = '0171000465'.
    itab-DELIV_ITEM    = '10'.
      itab-PO_ITEM    = '10'.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    Error in function
    Material document data and PO data do not match (Material)
    i am getting this error
    help me

  • What is the BAPI for creating an inbound delivery without reference.

    Hi Experts,
    What is the BAPI for creating an inbound delivery without reference.
    Points will be rewarded

    BAPI_DELIVERYPROCESSING_EXEC
    cheers
    Aveek

  • BADI/Enhancement spot for VL01N (Outbound Delivery)

    Hi guys,
    while creating outbound deliver it needs to be change the contents of XMKPF (BKTXT), is there any BADI/Enhancement spot for the VL01n.
    Kinldy provide some inputs for this one...which is very helpful to me.
    Regards,
    Vijay

    Hi guys,
    Thanks for your valuable replies.
    special thanks to Kiran Sure because my requirement is full filled by given enhancement spot/badi is LE_SHP_GOODSMOVEMENT
    regards,
    Vijay

  • How to create collective Transfer order for a collective outbound delivery?

    Hello All
    I created a group of deliveries and I got two outbound documents, now I want to create a collective Transfer order it gives me an error “does not exist in T311” however the individual outbound delivery whiten the group could be picked
    Can any one help me to solve this
    Regards
    Jacopo Francois

    hi
    Transfer order will create based on delivery document .  U got two delivery document number.
    So goto LT03
    enter delivery document number
    execute save.
    again goto LT03
    enter another delivery document number execute, save it
    regards
    krishna

  • How to create an outbound delivery for an repair order (RA)

    Hi Guys,
    Please let me knoe the steps to outbound delivery. Now, i have created repair order and inbound delivery, request you to explain on further stps.
    Thanks in advance.
    Shankar

    Hi,
    Refer this link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/0d/fa0a415e37d349e10000000a1550b0/frameset.htm
    Regards,
    Gayathri

  • How to create nested Handling units at VL01n Outbound delivery

    Hi
    Please assist me
    How to create Nested Handling units at the time of Outbound delivery VL01n

    Hi,
    go to Edit-Pack,
    In First tab will be "Pack Material", give Packing Materials & enter. You will get a HU Number generated. select this line & the line in Material to be packed. Click on Pack button. The material is packed into a HU.
    Now go to Second tab "Pack HUs". Here also give Packing Materials & enter. You will get a HU Number generated. select this line & the line in All Handling Units that can be packed. Click on Pack button. The HU is packed into another HU.
    Nagesh

Maybe you are looking for