Delivery creation using VL10C

I am currently using VL10C to create a single delivery for mutliple sales orders and it is working well. The users want to be able to view the delivery prior to the number being assigned to ensure that it has created as expected. There are two options in VL10C:
Foreground - This will create a single delivery ignoring requested quantities but it will allow the delivery to be viewed prior to generating the number
Background - This combines deliveries but does not provide an opportunity for review prior to the number being generated. The net effect of this is that if something is wrong the delivery needs to be deleted. This is what I am trying to avoid
I have two questions:
1) Using standard functionality is there any way to execute VL10C in the back ground allowing sales orders to be combined into a single delivery while still being able to review the result of the delivery creation process prior to saving?
2) If there is no way to do this via standard config, is there a user exit or BADI that can be used to achieve this result? If so what is it?
Thanks in advance.

Always Back ground process you will not able to see background what is happening and you will able to see once delivery is created .For this case you are deleting outbound delivery if you are not satisfied with the results.
In that case you have to use fore ground process to create the delivery.If you User exit Badi also once you will able to see once delivery document generated.
Please follow Fore ground process and you have control on it.

Similar Messages

  • Delivery Creation using Batch Jobs

    Hi,
    I have set up automatic delivery creation using a batch job ( vl10batch). The program selects all sales orders in the last 3 days and creates delivery.
    The problem is if in a sales order there are multiple line items each with a different delivery date.
    If the delivert dates for all the line items fall within last 3 days the program selects all 3 line items and ceates 1 single delivery.
    We would like to see a different delivery getting created for each line item.
    Example: Sales order has 3 line items
    Item A ( Del Date: 4/2/2010)
    Item B ( Del Date: 4/5/2010)
    Item C ( Del Date: 4/6/2010)
    The batch program runs and created 1 single delivery followed by 1 TO.
    Is there anyway we can seperate the deliveries based on date in the batch job?

    Hello,
    check sales order is not signed as "Complete delivery", register "shipping". On item level you can set "fixed date and quantity" in register "schedule lines".
    Best Regards, Dirk

  • Inbound delivery creation using VL31N

    Hi All,
    I could find that the message type DESADV, IDoc type DELVRY01 and process code DELS is used for creation of this.
    Let me know if this is correct. When i checked in my system I could not find process code DELS. Do i need to do some additional settings to get this.
    What is difference between IDOC type DELVRY01 and DELVRY03. Which one should be used.
    Here the ASN received is triggering inbound delivery creation.
    Please let me know on this.
    Regards,
    Shahu

    Hi,
    Where did you check that process code in WE64?
    Check in the correct set(Inbound messages).
    DELVRY03 is the latest one. You should use it only.
    Regards,
    Ravi

  • Inbound delivery creation using shipment Idoc details

    Hi,
       My requirement is that I need to create inbound delivery using SHPMNT05 idoc sending from a different plant.
    Below are the fields I am getting from the SHPMNT05 Idoc. So I need to create  Inbound delivery in Receiving plant.
    SAP - Field     IDoc Segment- Position - Field Name
    LIKP-LFART     E1EDL21 – 001 – LFART
    LIKP-LIFEX     E1EDT01 – 001 – VBELN
    LIKP-LIFNR     E1EDT44 – 009 – LIFNR
    LIKP-MBDAT     E1EDL24 – 039 = ABRDT
    LIPS-LFIMG     E1EDL24 – 013 – LFIMG
    LIPS-MATNR     E1EDL24 – 002 – MATNR
    LIPS-VGPOS     E1EDL41 – 006 – POSEX
    LIPS-PSTYV     E1EDL26 – 001 – PSTYV
    LIPS-VGBEL     E1EDL41 – 002 – BSTNR
    LIPS-VRKME     E1EDL24 – 014 – VRKME
    VEKP-EXIDV     E1EDL37 – 001 – EXIDV
    VEKP-VHILM     E1EDL37 – 017 – VHILM
    VEPO-MATNR     E1EDL44 – 007 – MATNR
    VEPO-POSNR     E1EDL44 – 003 - POSNR
    VEPO-VBELN     E1EDL44 – 002 - VBELN
    VEPO-VELIN     E1EDL44 – 001 – VELIN
    VEPO-VEMEH     E1EDL44 – 006 – VEMEH
    VEPO-VEMNG     E1EDL44 – 005 – VEMNG
    Could you please help me to find some workaround to solve this ?
    Thanks in advance.
    Regards.
    Ranjith

    Hi Ranjith,
    I guess there is a BAPI " /SPE/INB_DELIVERY_REPLACE " which can be used to create an inbound delivery.
    Documentation-
    FU /SPE/INB_DELIVERY_REPLACE
    Short Text
    Create inbound delivery
    Functionality
    You can use this method to distribute inbound deliveries from an ERP system to a WM system.
    The following parameters are required:
    HEADER_DATA Inbound delivery header data
    SENDER_SYSTEM System of the sender
    HEADER_PARTNER Header data of the partners
    HEADER_DEADLINES Header data of the dates
    ITEM_DATA Item data of the inbound delivery
    ITEM_ORG Organisation data of the inbound delivery
    Notes
    The required parameters have the following required fields:
    Import parameter HEADER_DATA
    INB_DELVRY_NO
    DLV_TYPE
    Import parameter SENDER_SYSTEM
    SENDERSYSTEM
    Table parameter HEADER_PARTNER
    PARTN_ROLE = 'LF'   Vendor is required partner
    PARTNER_NO
    Table parameter HEADER_DEADLINES
    TIMETYPE = 'WSHDRLFDAT' Delivery date
    Table parameter ITEM_DATA
    INB_DELVRY_NO
    ITM_NUMBER
    MATERIAL
    DLV_QTY
    SALES_UNIT_ISO oder SALES_UNIT
    Table parameter ITEM_DATA_ORG
    PLANT
    Further information
    HEADER_PARTNER
    Since the partners in the delivery are not managed on an item basis, the ITM_NUMBER field in the BAPIDLVPARTNER segment is left blank and not analyzed.
    HANDLING_UNIT_ITEM
    If the BAPI is used as an external interface for an external system, the packing hierarchy should be described as usual by using external identification numbers for shipping materials (HDL_UNIT_EXID_INTO/HDL_UNIT_EXID).
    Parameters
    HEADER_DATA
    SENDER_SYSTEM
    TECHN_CONTROL
    HEADER_DATA_SPL
    HEADER_CONTROL_SPL
    HEADER_PARTNER
    HEADER_PARTNER_ADDR
    HEADER_DEADLINES
    ITEM_DATA
    ITEM_ORG
    ITEM_STOCK_TRANS
    ITEM_CODING_BLOCK
    ITEM_REF_PURCHASE_ORDER
    ITEM_SERIAL_NO
    ITEM_DATA_SPL
    TEXT_HEADER
    TEXT_LINES
    HANDLING_UNIT_HEADER
    HANDLING_UNIT_ITEM
    HANDLING_UNIT_SERNO
    HANDLING_UNIT_ITEM_SPL
    HANDLING_UNIT_HEADER_CROSS
    HANDLING_UNIT_IDENTIFIERS
    EXTENSION1
    EXTENSION2
    RETURN
    TOKENREFERENCE
    Exceptions
    Function Group
    /SPE/INB_DELIVERY
    Check if this helps.
    Reward helpful answers.
    Regards
    Parag

  • Error in delivery creation using VL10B

    Hi All,
    I have created the intercompany STO with shipping data determined in it. after executing the STO using VL10B system is giving following errors.
    Shipping for sales org. XXXX dist. chan. XX from plant XXXX is not possible
    Delivery from plant XXXX for material XYZ is not possible.
    Please suggest which config settings are required to eliminate this error.
    Edited by: Sandip Shambharkar on Apr 20, 2010 2:33 PM

    Dear Sandip,
    Please do check your setting if you have done otherwise refer below steps;
    1. You must assign a delivery type to the purchase order document type/supplying plant combination. You can do this in the IMG for purchasing under "Purchase Order --> Set Up Stock Transport Order --> Assign Delivery Type and Checking Rule". NL (Replenishment delivery) is provided for intra-company-code stock transfers and NLCC (Replenishment delivery cross company) for cross-company-code stock transfers. 2. You must assign sales and distribution (SD) organizational units to the supplying plant. They are a sales organization and a distribution channel. Purchasing --> Purchase order --> Set up Stock Transport Order --> Plant. 3. You must assign a customer master record to the receiving plant. IMG Purchasing --> Purchase Order --> Set Up Stock Transport Order --> Plant. You require a customer master record for the receiving plant. This customer master record must be created for the organizational units of the supplying plant (point 2) (Logistics --> Sales and Distribution --> Master Data --> Business Partners --> Customers --> Create -> sales and distribution VD01 or total XD01). For the intra-company-code stock transport, it is sufficent to create the customer master record as a goods recipient (VD01). For the cross-company-code stock transport with shipping and billing documents, a complete cutomer master reccord is required (XD01). 4. For the material to be transferred, you must create the sales organization data for the sales organization/distribution channel of the supplying plant (point 2), and you must maintain the sales view (general plant data) for the supplying plant. 5. If there is a cross-company-code stock transport, you must create a vendor master record for the purchasing organization of the receiving plant. You must assign the supplying plant to the vendor master record. The assignment is executed in the vendor master record from the purchasing organization screen using "Extras --> Additional Purchasing Data". 6. You must enter a shipping point for the combination of shipping condition (from the customer master record of the ordering plant, see point 3) - loading group (from the material master) - supplying plant, IMG: Logistics Execution --> Shipping 24.06.2009 Page 2 of 6 --> Basic Shipping Functions --> Shipping Point and Goods Receiving Point Determination --> Assign shipping points. If all the required settings have not been made, the system informs the user in the purchase order screen.
    Believe this could help you.
    tq
    rgsd,
    nanthakumar

  • VL150 message during delivery creation using VL10B

    Hi Friends
    I am creating a delivery of palnt to palnt stock transfer with reference to purchase order using T-code VL10B. but it is showing error 0 kg of stock avaliable.
    But the supplying plant contain the stock.
    pls provide the solution..

    Hi
    Go to MMBE, Give the Plant, Material, storage location and execute.
    In the Output, Double click the plant and check all the entries, whether it is been alloted for any like sales order and so on
    regards
    Prasanna

  • Regarding delivery creation using BAPI

    Hi,
    I am creating a delivery document number using BAPI_DELIVERYPROCESSING_EXEC.its working fine and giving delivery number also.but the problem is when i open the created delivery number in tc VL02N,the delivery and picking quatities are empty..what are the parameters i am missing ?so for me its not possible to issue PGI..
    what's the solution for this..and is there any function module to pick the quantity....
    Please reply soon..

    HI shilpa,
    Try to use below code
    DATA : lv_file_name TYPE string.            "File name
      lv_file_name = pv_file.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = lv_file_name
          filetype                = gc_asc
          has_field_separator     = gc_x
        CHANGING
          data_tab                = gt_upload[]
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          not_supported_by_gui    = 17
          error_no_gui            = 18
          OTHERS                  = 19.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Thanks,
    Amol

  • Delivery Creation using SAPMV50S or VL10B

    Hi All,
    We have created a STO with the delivery date as 02.17.2011...
    When we execute the program SAPMV50S....it creates delivery for the above PO even though its delivery date is in Feb.
    We executed SAPMV50S with date range as sy-datum + 2 days.
    On analysis we found that the STO was having committed date as 01.18.2011.....
    It is clear that the program considers the committed date to create deliveries....question here is ..can we change it via some config....or is some standard program available wherein it considers the delivery date and not committed date?

    can you tell me how did u do it?

  • Deliver\y Creation using Batch Job

    Hi,
    I have set up automatic delivery creation using a batch job ( vl10batch). The program selects all sales orders in the last 3 days and creates delivery.
    The problem is if in a sales order there are multiple line items each with a different delivery date.
    If the delivert dates for all the line items fall within last 3 days the program selects all 3 line items and ceates 1 single delivery.
    We would like to see a different delivery getting created for each line item.
    Example: Sales order has 3 line items
    Item A ( Del Date: 4/2/2010)
    Item B ( Del Date: 4/5/2010)
    Item C ( Del Date: 4/6/2010)
    The batch program runs and created 1 single delivery followed by 1 TO.
    Is there anyway we can seperate the deliveries based on date in the batch job?

    If you are looking forward to a delivery split by different delivery date, it should be possible.
    You should read note 546668, which explains the criteria of delivery split. Different LIKP-LFDAT can lead to delivery split.
    Basically, you just need to copy LIKP-LFDAT from corresponding item in header copy routine then you will get deliveries splitted by delivery date.

  • In VL10C,Unselected Line items are copied for delivery creation in VL01N

    Hello,
    I am trying to create outbound deliveries for an sales order using t.code VL10C. when I execute VL10C,it takes me to next screen with all sales order line items where i am selecting some line items & select Dialog button for delivery creation. In this case all line items of the sales order get copied into VL01N screen instead of copying only the selected line items.
    What may be the issue? Is this standard functionality of VL10C transaction? my requirement is  to create delivery for selected line items using VL10C transaction.
    Regards
    Goutham

    hi All,
    It's a standard SAP process... See OSS note 453947...
    For me it's a bug, not for SAP....
    But create deliveries for only selected item work in backgroung process ! According to user role parameter "selected items"
    Source code :
        SET PARAMETER ID 'VST' FIELD <cs_postab>-vstel.
        SET PARAMETER ID 'AUF' FIELD <cs_postab>-vbelv.                       -
    > only order number (not item)
        SET PARAMETER ID 'ALT' FIELD SPACE.                       "n_810897
        EXPORT lv50c-datbi FROM lf_datbi TO MEMORY ID 'LEDAT'.
        EXPORT d_tcode     FROM sy-tcode
               enque       FROM cx_list_profil-enque              "n_602290
               TO MEMORY ID 'CALLING_TCODE'.
        CALL TRANSACTION 'VL01N'  AND SKIP FIRST SCREEN.
    regards.

  • Creation of new internal delivery channel using AQ

    Hi,
    I wanted to route one of Trading partner data to a different queue.(no want to use existing queues - IP_IN /IP_OUT queue).
    This needs to create a new delivery channel using AQ in B2B.
    I have gone thru the steps & entered all entries, but I am not able to find any queues created in B2B schema.
    Do I need to create a queue using PL/SL in B2B to make it available as internal delivery channel or this setup itself will create a queue in B2B?
    PFA the entirs:
    for transport parameters
    - transport server (B2B server IP)
    - Protocol as AQ
    -URI - b2b.<uri_name> (name of Queue, wanted to create)
    - Hostname
    - Port
    -SID - b2b
    -consumer - b2buser
    - receiptient - null
    -Polling interval - 6000
    Transport server details:
    Host name - (IP)
    IP - Host IP
    username -
    Pswd - for B2B schema
    Any pointers will be a great help.
    Regards,
    MS

    As mentioned by TH in the above post, first thing is to create the data type that is used for messages - IP_MESSAGE_TYPE. This data type will already be present in the B2B database and could be reused.
    For a new data type you could do the following.
    ==============================================================
    Create a new data type using the following
    ==============================================================
    create type IP_MSG_TYPE as OBJECT (
         MSG_ID VARCHAR2(128),
         INREPLYTO_MSG_ID VARCHAR2(128),
         FROM_PARTY VARCHAR2(512),
         TO_PARTY VARCHAR2(512),
         ACTION_NAME VARCHAR2(512),
         DOCTYPE_NAME VARCHAR2(512),
         DOCTYPE_REVISION VARCHAR2(512),
         MSG_TYPE INT,
         PAYLOAD CLOB,
         ATTACHMENT BLOB
    Once you have created a new Data type ( or are reusing the existing data type), you need to create Queue Table that will hold the Outbound and Inbound message queues. The existing Queue table is "IP_QTAB" which can again be reused.
    For new Queue table you could do the following
    ==============================================================
    Create a new Queue Table using the following
    ==============================================================
    execute dbms_aqadm.create_queue_table (     queue_table => 'MY_QTAB',
                             queue_payload_type => 'IP_MSG_TYPE',
                             multiple_consumers => FALSE);
    If you need to reuse the datatype change the queue_payload_type to 'IP_MESSAGE_TYPE'.
    Once we have the Queue Table that will hold the queues, we need to add and start the queues that are to be used for the inbound and outbound messages.
    ==============================================================
    Create the new Queues into the Queue Table using the following
    ==============================================================
    execute dbms_aqadm.create_queue (queue_name => 'B2B.MY_OUT_QUEUE', queue_table => 'B2B.MY_QTAB');
    execute dbms_aqadm.create_queue (queue_name => 'B2B.MY_IN_QUEUE', queue_table => 'B2B.MY_QTAB');
    execute dbms_aqadm.start_queue(queue_name => 'B2B.MY_OUT_QUEUE', dequeue => TRUE, enqueue => TRUE);
    execute dbms_aqadm.start_queue(queue_name => 'B2B.MY_IN_QUEUE', dequeue => TRUE, enqueue => TRUE);
    If you are reusing the queue table IP_QTAB for creation of new queues, then reference that for the queue_table in above commands.
    You need to reference the queue_name eg. B2B.My_OUT_QUEUE in the B2B UI screen.
    Hope this helps.
    AKT

  • Delivery Document creation using buffered data?

    We're using BAPIs to create an STO with estimated volumes/dates.
    But, when the Actual information comes in, we first update the STO with actual volume, then create a delivery document. The problem is that the delivery document is using the estimated volume even though we've committed the volume change and can pull up the STO to see it prior to Delivery create.
    For STO, we're using:
    BAPI_PO_CREATE1 and
    BAPI_PO_CHANGE
    For Delivery creation, we're using:
    BAPI_OUTB_DELIVERY_CREATE_STO
    It seems that the Delivery is reading buffered information rather than what's actually been committed to the DB. Is there a way to bypass the buffer when calling this BAPI?
    thanks,
    Robert

    Found a note that has addressed the issue
    2008537 - Short dump while changing a replenishment delivery multiple times in one transaction

  • Deactivating Delivery Group Creation in VL10c

    Hi,
    We are using VL10c for creating deliveries for a list of sales orders. I choose background option in VL10c. When we do this, system is creating group numbers for the deliveries which we don't want. We actually do create the groups in VL06o before we do picking. So we don't want the group numbers to be created twice.
    So how can I prevent VL10c from creating the group numbers for the outbound deliveries? Is there a setting to make?
    Thanks

    Rahul,
    Under VOV7, check the item category that you have configured . Under Bills of Material / Configuration
    Create delivery group = X Form delivery group with one delivery date   OR
                                      A -Delivery group with correlated schedule lines under Bill Of Material / Configuration tab
    In va02 Screen, Click the "Shipping tab" in the main screen,
    Activate Complete dlv. indicator.
    Next to the "Material" Column you have "Delivery Group" Column in that you specify the delivery group you want the item to be asscociated with.
    Acording to your need enter like this
    SNo  Material          Delivery Group
    10     150000/01           1
    20     150000/01           1
    30     150040/01           2
    40     150040/01           2
    30     150040/01           2
    Proceed as follows.
    Regards
    Sathya

  • Bapi for creation of delivery by using SO,shipping point,delivery creation date

    Hi experts,
    I am looking for bapi that takes sales order,shipping point and delivery creation date and generates delivery.
    I have tried with bapi GN_DELIVERY_CREATE but i am not able to understand whether this bapi is used for inbound or outbound deliveries.If this bapi is ok then what are the mandatory fields for this bapi.
    Regards,
    Pankaj Jain

    Hi Pankaj,
    Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
    you can refer below code, it may be helpfull for you to create delivery.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
      zmeng 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 zmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = v_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-zmeng.
      t_request-quantity_base__uom  = t_vbap-zmeng.
      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.
    Regards,
    Prasenjit

  • Delivery document creation using vl01n

    Hi,
    I want to create a delivery document using VL01n.i need to create the doc for a particular selected item if there are many items for the order.i want to delete the remaining documents.
    how to handle this in BDC.

    just mention along with order ...
    from item
    as well as
    to item fields ....

Maybe you are looking for