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.

Similar Messages

  • Function Module to create AFS Outbound delivery for sales order

    Guys,
    I am looking for a function module to create deliveries for a sales order IN IS-AFS.
    I cannot make BAPI_DELIVERYPROCESSING_EXEC work. Also, if I use the IDOC type /AFS/DELVRY03 via message type WHSCON and function module IDOC_INPUT_DELVRY it doesn' work either.
    Does anyone know which function module I could use? I need to select specific AFS schedule lines though, but at this point I am not able to make any work.
    Thanks
    Leonardo

    This will not help .
    Edited by: Amit Khare on Aug 7, 2008 3:49 AM

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

  • Is it possible to create outbound delivery for sales order with FM: GN_DEL*

    Hi all,
    Is it possible to create an outbound delivery for a sales order using the FM: GN_DELIVERY_CREATE. I am choosing this over a BAPI as I also needed to fill the bill of lading and inco terms.
    Thanks

    Hi Gurus, is there any function module / Bapi that updates the BOL in a outbound delivery  header created for a sales order

  • 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

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

  • How to create Delivery with sales order FM/BAPI

    Hi Gurus,I'm new to  SAP  platform
    I have created sales order ,
    with this i need to create Delivery(vl01n)
    so i need to give 'Shipping Point','Selection Date','SD Number'
    so could any one tel me which FM/BAPI is suitable to create
    Outbound delivery with 'sales order number', 'Selection date' and
    "Plant or Shipping Point'.
    With these Import parameters i need  FM/BAPI .
    Thanks  in Advance
    Siva Kumar kasa.

    I   have created delivery  with  that  BAPI 
    giving   'batch number'  but  it was  not  updated,so  can u tel me
    any related field  which need give to change batch field  also.

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

  • 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

  • Creation of inbound delivery from outbound delivery

    Hi All,
    Can anybody help me, if I want to create inbound delivery from outbound delivery.
    I found this function module "SHP_IBDLV_CREATE_FROM_OBDLV". But I want handling uniits to be entered by the user.
    Thanks

    Thanks for the feedback. This question is resolved

  • Delete assignment of HU from outbound delivery (VL02N) not working

    Hi All
    I have searched many threads to find the solution to be above problem but none of them was working for me, so posting the query again.
    I hava a dummy pick HU that I create for some purpose, finally i want to delete the assignment of the HU in the outbound delivery.(not to delete the HU completely). For me, the assignment of the HU vanishes from outbound delivery with 3 FM's. 'HU_GET_HUS' , 'V51P_DELETE_RELATIONSHIP' and 'HU_POST'.
    The problem is, when i PGI the delivery, the HU appears again in VL03N. I am not able to understand this strange behavior.
    I have tried all FM's like bapi_hu_delete etc, but they delete teh HU completely which is not my req. I heard abt this FM BAPI_HU_DELETE_FROM_DEL, but am workng in Ecc 5.0 and the FM doesnt exist.
    Pls help
    Thanks

    Hemanth,
    I recall that we used to update the HU status as well when we dissociated HU from delivery,  though can't remember the reason now.
    Pls check the VEKP-STATUS for HU after you have done with these 3 FM calls, I believe you have to update the status to 'BLANK' with the help of some FM, try it first if it works for you by direct updating it in table in Dev.
    BR,
    Diwakar

  • Print HU label from Outbound delivery using output determination

    Hi,
      We have a business requirement to print HU labels from outbound delivery. The steps followed are
    1) User executes VL02N
    2) User clicks on packing
    3) Material is entered to pack. HU is automatically generated.
    4) After saving the delivery, output message is triggered.
    Output determination is as follows
    1) An Z output type is created.
    2) Form entry and smartform name is assigned to this output type
    Issue:
    The issue is when the output message is triggered and the code in the form entry is executed, the handling unit (from nast) is not yet committed in the database. Since it is not updated in the database table, we cannot get any handling unit data to be printed.
    Any inputs on how to print HU labels using output determination from outbound delivery is appreciated.
    Thanks,
    Sandeep

    Hi Surya,
         Thanks for the reply. But, my question was how to print labels from VL02N when i pack a material on this delivery.
    Regards,
    Sandeep

  • 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

  • Copy text from outbound delivery to billing document

    Hi Gurus,
    Is there a way to copy a text from outbound delivery to billing document?
    I found text determination. It is only possible to maintain text from Sales to Billing.
    Thanks.
    Stéphane.

    Hi,
    Goto the T.Code "VOFA".
    Select your billing type.Details.
    Goto "Output/partners/texts" tab.
    Maintain the "Textdeterm. procedure" as the procedure same as your delivery.
    Anotehr way is goto the T.Code "VOTXN".
    Here click on "Delivery Header".
    Check the check box for "Reference".
    Regards,
    Krishna.

Maybe you are looking for