Need IDOC type to create outbound Delivery in SAP

Hello,
I am looking for the IDOC basic type, message type and process code which will be able to create an outbound Delivery in SAP.   
Scenario:
Inbound data needs to be integrated into SAP to create an outbound delivery with reference to a Sales Order.
Thanks
Satie

Satie,
To confirm, you want the Delivery create triggered as a result of a file received from your Customer ? Is it purely a trigger, or will there be other information included in the file that might be included on the SAP Delivery ? If it's purely a trigger, I think I'd probably look into blocking the Sales Order in some fashion (e.g. Header Delivery Block), and using the trigger to release the Sales Order, i.e. ORDCHG. You could probably write additional data, such as Delivery Instructions, at the same time. If however, you need the inbound file to directly create the Delivery, I suspect you will need to create a custom iDoc / Function Module to call a BAPI to create the Delivery with reference to the Sales Order.
Cheers, Paul.

Similar Messages

  • Create outbound delivery thru Idoc

    I am working on a sales return scenario in SAP as below :--
    01. Creating Return sales Order in SAP thru inbound  Idoc ( ORDERS01)
    02. Triggering outbound Idoc ( ORDRSP/ORDERS05) from return sales order to our return plant.
    03. Customer will send  returned goods to our return plant. Plant will send us an Idoc to create delivery in SAP.
    04. Once delivery is created thru Idoc , our batch job will do PGR.
    05. Billing batch job will generate credit memo for return.
    I am looking for advise on following points :--
    01. Can we create outbound delivery thru DESADV Idoc ?We are also planning to update delivery Item text thru this Idoc.
    02. SAP standard provides ( SHP_OBDLV_CREATE_SLS) this Idoc to create delivery with reference to Sales Order but not able to update delivery text thru this ?
    03.Any other way-out to create delivery and update delivery text thru inbound Idoc?
    Thanks in advance!!
    Best Regards/Rajesh

    Create your own and assign as processing the BAPI or a wrapper for it.
    Enjoy

  • Create Outbound Delivery Using IDOC

    Hi,
    Does anybody know of an IDOC that I can use to Create Outbound deliveries in SAP?
    I know that I can use BAPI_DELIVERYPROCESSING_EXEC to create the delivery, but I am hoping to do so directly using a standard (or slightly customized) IDOC.
    I will have multiple SAP Sales Order numbers to reference in creating the Delivery Note.  Note that I will not already have a delivery number as this is a create, so I can't use DELVRY*.
    Kind Regards,
    Robin

    Create your own and assign as processing the BAPI or a wrapper for it.
    Enjoy

  • Issue while creating Outbound Delivery using Standard BAPI

    Hi all,
    I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
    Regards,
    Vimala P

    Hi Vimala,
    I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
    1) Delivery Type
    2) Delivery selection date
    Needs to be passed in import parameters.
    Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
    Thanks in Advance..
    Regards,
    Rajasekar .M

  • Automatic Batch determination while creating outbound delivery

    Hi,
    I have already performed following steps, but still i am facing problem for Automatic Batch determination while creating outbound delivery :
    1.CT01- Creation of Characteristics. ( Define Selection Class )
    2.CL01- change. ( Define Selection Class )
    Add Characteristics in u2018CHARu2019 tab And save .
    3.CU70 u2013 create u2018Sorting Sequenceu2019 and assign characteristics
    4.Batch Search Procedure & Strategy type
    V/C3 u2013 Batch Search Procedure and assign the strategy types
    a.To create condition type T. code V/C1
    b.To create access sequance T. code V/C2
    5.V/C5 - Allocate SD Search Procedure/Activate Check u2013 assign sales organization , order type into Batch search procedure.
    6.V/CL - Activate Automatic Batch Determination in SD - Activate automatic batch det. for delivery item categories u2013 select item category and activate auto batch determination
    7. VCH1 u2013 Create batch search strategy against strategy type as per the access sequence needed.
    Please let me know is there any other step, apart from it.
    Tx
    Uts

    Dear saravanan,
    Re :Check from ur material master view ' Sales: General/Plant Data' that availability check should be 02 and batch management should get activated .
    Done!
    Re: check CT01 - addnl data table name and field name maintained ( which field to be taken for batch determination )
    Done!
    Re:check CL01 - char - is maintained with CT01 char
    Done!
    Re: check from v/c1 'Sort sequence' and Qty proposal 1 are maintained correctly.
    Done!
    Still i am not able to get batch automatically...
    Is there any LIFO or FIFO settings i have to maintain in Material master.
    Pl guide.
    Tx
    Uts

  • Create outbound delivery with reference to purchase order

    Hi,
    I've created new plant and when i make purchase order i cant see the PO in VL10B, and there for i cant create outbound delivery.
    In the PO in Item Detail there is no shipping category.
    What i need to do ?
    Thank you.

    Step1: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Define Shipping Data for Plants.
    Define the Customer number, Sales Org, Distribution channel and Division for the Plant.
    The Customer you are assigning for the Plant has to be created in the System to create the outbound delivery.
    Step2: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Assign Delivery Type and Checking Rule.
        Then Assign the PO type and the supplying plant to the Delivery Type which is NL (for inter company) and Checking Rule.

  • IDoc type for LR Returns delivery

    Hi all,
    I want to use SHP_OBDLV_SAVE_REPLICA02 IDoc type to distribute LR delivery for a return SO to Decentralized WM. With this IDoc type, I get the error "IDoc type SHP_OBDLV_SAVE_REPLICA02 cannot be processed by  IDOC_OUTPUT_DELVRY"
    IDoc type DELVRY05 work fine but I want to used SHP_OBDLV_SAVE_REPLICA02. Is this possible?
    Thanks,
    Nick

    Hi,
    Message type is DESADV
    Basic type is DELVRY01 to 03 (can check the latest version or supported version)
    Function module : BORES_IDOC_INPUT_DESADV1 or IDOC_INPUT_DESADV1
    This is used for creating outbound deliveries, shipping  noticfication etc.
    Regards
    vk

  • Does item category TAS allow to create Outbound delivery doc?

    Hi experts,
    I have a problem with the delivery creation.  The scenario is:
    Our vendor missed to deliver a part to us. Say for example he missed to delivery the screw (used to adjust the time) in the wrist watch. This part is supposed to be assembled together with the wrist watch & delivered to our customer.
    Now we need to deliver this missed part to our customer. The initial watch has been shipped to the customer without the screw. But the cost of the screw is already included in the total cost of the watch.
    Now the vendor is going to send us this screw.  So my requirement is to create a subsequent free of charge kind of sales order that triggers a PR to the vendor & once this PR is converted to PO, on the PO
    the Free Item will be ticked as the Vendor charged us for the whole wrist watch. This is also a kind of subsequent free of charge delivery by the vendor.
    When I use item category TAS it does generates the PR & I converted this to a PO to this vendor. I also did the GR for this PO.  But when I create outbound delivery for this subsequent free of charge sales order,
    it says the item is not relevant for delivery.
    Could you tell me how to handle this situation & what item category to use which will allow me to create
    Outbound delivery so that I can proceed to post goods issue & create 0 dollar invoice?
    Thanks for your help.
    Regards,
    Pri

    Check the item category configuration for TAS. It does not have the tick for 'Item relevance for delivery'.
    This can be seen in the following path:
    IMG > Sales and distribution > Sales > Sales documents > Sales document item > Maintain item categories.
    The idea of having a 3rd party sale (with item category TAS) is that the item is directly delivered from your vendor to customer. When you perform goods receipt of the PO, it will not ask for a storage location, since the product does not enter the plant premises.
    This is a one step method to dispatch goods directly. Hence the outbound delivery is not required once GR is done.  The next step is to enter a vendor invoice followed by customer billing document.
    If you check the accounting part of the GR material document it will be
    Cost of goods sold DR
    GR/IR clearing account CR
    However, in your case, since the material is a FOC, there should not be an accounting document, and hence no vendor invoice verification / customer billing.
    In standard, the item category TAS is relevant for billing. Hence if you do not require billing (being FOC), I suggest you use another item category (a copy of TAS) without billing relevance. I guess everything else should fall in place.
    Regards,
    Aroop

  • Creating outbound delivery with reference to inbound delivery

    Dear all,
    My requirement is as follows:
    I get an inbound delivery from my vendor for the our sales orders. (For n number of sales orders having same shipping point, shipto party ad sold to party, we get one inbound delivery) As of now we are using that inbound delivery and read data from LIPK and LIPS and using 'BAPI_DELIVERYPROCESSING_EXEC' to create outbound delivery.
    But, it is creating one delivery each for every sales order. What we require is to create only one outbound delivery.
    I have searched in forums and tried to use VL10A, VL10C but since the delivery dates of each order are different I cant use those transactions.
    Now I have two options:
    1) Take inbound delivery as reference and create outbound delivery. Are there any FM's or BAPI's for this which will create 1 outbound for each inbound?
    2) Can we combine multiple sales orders into a single delivery when the delivery dates are different.
    Could you please help me.
    Thanks in advance,
    Aravind

    Hi Aravind,
    I am facing some issues while creating Outbound delivery using the BAPI 'BAPI_DELIVERYPROCESSING_EXEC'. I am getting the error message in return parameter as "No instance of object type OutboundDelivery has been created. External reference:"
    If you are successful in creating Outbound delivery, please suggest what may be the issue for this message. Iam passing the exact sales order no and item no., quantty and unit of quantity. Also manual creation of Delivery using VL01N is successful but using the BAPI it is unsuccessful. Please suggest with your valuable points on this.
    Regards,
    Vimala P

  • IDOC - Change outbound delivery in SAP

    Hello ,
    I would like to change the outbound delivery in SAP(with the picked quantity ) using an IDOC triggered from external system .
    Im using SHPCON / DELV / IDOC_INPUT_DELVRY . Im not very sure about the fields that i should use to pass the picked quantity and also not sure whether the message type SHPCON can be used for this . Could someone throw light on this.
    Thanks,
    Jeeva.

    If you want to change the PICK values use SDPICK message.

  • FM for create outbound delivery with order reference

    Hi,
      Can u pls tell me the function module name for create outbound delivery with order reference.
    regards,
    Mahi.

    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: /  t_created-document_numb.
    Thanks
    Naren

  • RFC to Create Outbound Delivery without Reference

    Hello, we used the function module  "SHP_VL10_DELIVERY_CREATE" to create a PO and outbound delivery. Our business process has changed, just need to create an Outbound Delivery without reference to an order. Having trouble identifiying what function module to use? Looks like SHP_VL10_DELIVERY_CREATE is dependant on a sales order.
    Any ideas?

    Hi,
    BAPI_DELIVERYPROCESSING_EXEC
    refer this thread:
    Re: BAPI to create outbound delivery
    Best regards,
    Prashant

  • Extending an IDoc Type or Creating Custom IDoc type

    Hi Experts,
    We need to modify IDoc Type "DESADV01" for adding extra fields. Should I extend this IDoc Type or Create a new Custom IDoc type with the extra fields? Which is the best practice? This is my first time with IDoc functionality. Please let me know.
    Thanks for the help.

    Hi Dev,
    Simple solution man.
    Try to create an extension for the Idoc you wanted to extend.
    Steps would be as follows: -
    1) Go to WE31, create the z-segments and make them ready
    2) Go to WE30, give some name for the extension and select the radio button extension and click on create button
    3) It will ask you necessary details like which idoc you wanted to extend...Give the details and add the z-segments and save it.
    4) Release it
    Thats it.
    Hope this solves your problem.
    Thanks,
    Babu Kilari

  • Exit to set the automatic PGI and picking while creating outbound delivery

    Hi experts,
    Could anybody suggest how to set the automatic PGI and Picking while creating outbound delivery.
    Currently we are settting VBUK-WBSTK field with value C. But PGI is not happening.
    kindly help me.
    Regards,
    Ravi

    Hello Parihar,
    thanks for reply.
    yes we know that "This process of picking and GI involves reducing the stock and allocating the goods to the delivery"
    if you go for Custom program and Use FM WS_DELIVERY_UPDATE, we can do Picking and PGI.
    our requirement is to do pickong and PGI while creating Delivery it self, based on this output types will be processed.

  • Function Module for Creating Outbound Delivery

    Hi All,
    Please provide me the FM Name which will create the outbound delivery same as VL01N transaction and I needs to update Serial Numbers also. Please help me to find the FM which will create outbound delivery and behave same as VL01N transaction.
    Thanks in advance.

    hi
    check FM 1:
        CLEAR: ls_request.
        ls_request-document_type      = 'A'.
        ls_request-document_numb      = tvbap-vbeln.
        ls_request-document_item      = tvbap-posnr.
        ls_request-quantity_sales_uom = tvbap-KWMENG.
        ls_request-PLANT              = tvbap-werks.
        ls_request-STGE_LOC           = tvbap-lgort.
        ls_request-MATERIAL           = tvbap-matnr.
        ls_request-batch              = tvbap-charg.
        ls_request-date_usage         = p_datvw.
        ls_request-date               = p_date.
        ls_request-time               = p_time.
        APPEND ls_request TO lt_request.
      CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    * EXPORTING
    *   DELIVERY_EXTEND         =
    *   TECHN_CONTROL           =
      TABLES
        REQUEST                 = lt_request
    *   PARTNER                 =
    *   PARTNER_ADDR            =
    *   TEXT_HEADER             =
    *   TEXT_LINES              =
        CREATEDITEMS            = CREATEDITEMS
        RETURN                  = RETURN
    *   EXTENSION1              =
    *   EXTENSION2              =
    *   CO_CHAR_VALUES          =
    *   BATCH_ATTRIBUTES        =
    *   BATCH_VALUES_CHAR       =
    *   BATCH_VALUES_CURR       =
    *   BATCH_VALUES_NUM        =
    *   TOKENREFERENCE          =
    or FM2:
      CALL FUNCTION 'W_FRM_DELIVERY_CREATE_GENERAL'
        EXPORTING
          I_INTERNAL_COMMIT   = 'X'
          I_NO_LOCK_DOCS      = 'X'
          I_INIT_UNIT_CONV    = 'X'
        TABLES
          T_DOCUMENTS         = ITAB_DOCUMENTS
          T_MESSAGELOG        = ITAB_MESSAGELOG
          T_VBLS              = T_VBLS
        EXCEPTIONS
          NOTHING_TO_DO           = 1
          MESSAGE_ACCORDING_LOGS  = 2
          OTHERS                  = 3.
    regards,darek

Maybe you are looking for

  • Interactive quicktime failure by keynote

    i am using keynotes 2.0 with quicktime pro. i am thinking to creating a quicktime movie, which can be clickable in last frame linked to a webage. i tried adding HREFtrack in quicktime pro but it fails. so i import the movie to keynotes and try to exp

  • Regarding Entity bean

    Does new version of OAS 4.0.8.1 or JDeveloper 3.0 support Entity Bean . Can anyone help me? from Prashant

  • Unable to view nodes tat are added dynamically in Jtree

    i'm very much new in swings. please take a look at my code and correct me. i need to add all java, cpp and c files in a project folder to my jtree as nodes. the project folder is selected using jfilechooser. my file nodes are inserted, but they are n

  • Upgrading from WM 5.0 to WM 6.0

    Hi, I am looking for a feasible option for below scenario, 1. Is there any possibility to have both SAP WM 5.0 and SAP WM 6.0 on a same SAP ECC 6.0. 2. If above point is possible, can we restrict few users to make use of SAP WM 5.0 and few users to  

  • How Depressing-my screen just freezes and melts....

    Well due to no significant chagnes, installments or downloads my emac tends to run about 1 to 3 minutes after startup and then lock up. Most of the time my application that I have open kind of melts on my screen-it becomes fuzzy and unreadable. It do