CREATE OUTBOUND DELIVERY WITH ORDER REFERENCE

Hi All,
I am working on VL01N Tcode for "CREATE OUTBOUND DELIVERY WITH ORDER REFERENCE", where Return Check serial number of incoming material in case of sales return and compare against serial number in outgoing delivery. If the serial number doesnu2019t match then it should throw an error.
For the same when serial number is entered after selecting, EXTRAS-> Serial Number. If it does not match with Return Check serial number of incoming material in case of sales return and compare against serial number in outgoing delivery, for the same i am using a BADI  LE_SHP_DELIVERY_PROC and method DELIVERY_FINAL_CHECK, i am not able to find where this value entered is stored.
Please help.
Regards,
Nagesh

Hi Venkat,
Thanx for the reply, but ANZSN field only mentions Number of serial numbers, but my query is to check Serial Number GERNR entered when selecting item number and selecting EXTRAS->SERIAL NUMBER and entered serial number with Check serial number of incoming material in case of sales return and compare against serial number in outgoing delivery.
Please let me know.
Nagesh

Similar Messages

  • 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

  • Problem in Outbound delivery with order reference

    Hi,
    I am facing problem with creation of outbound delivery with order reference from transaction VL01N. When i enter into the transaction with order key in, but in the tab Picking there is one column Pick quantity which is showing as grey field with zero value(Grey field don't allow to change the quantity). This Pick quantity is always allow to put us required quantity but i come across this kind of scenario very first time. Can you please help.
    Thank you.

    Hi,
    Your combination of Plant+Storage location is enabled for warehouse management. So directly putting the picking value is not possible. You have two options now.
    1. If you know howto put pickign through transfer orders, do it through LT03 and confirm teh TO for picking quantity to be updated in delivery. You have to find out teh stock in the source bin and use it in transfer order. You may get in touch with WM consultant, if you dont know how to do it.
    2. If you are ok with just doing picking without WM, then you can change the storage location in delivery and then try picking in delivery itself. The storage location should not be enabled for WM for the plant.

  • Create outbound delivery without order reference but with order data

    I am interested in creating an outbound delivery without order reference...but include data from a sales order that has already been PGI'd. Has anyone come up against this and found a solution?

    There is a button on VL01N transaction saying W/o Order Reference...
    Click on that and then enter the shipping type, delivery type... and in the main screen enter the data that u have in ur order...
    try that.... all the best
    reward points if helpful...

  • BAPI to Create Outbound Delivery Without Order Reference

    Hi everyone
    I need to create <b>outbound delivery without order reference</b> ( like i create manual in VL01NO) . Can anyone help me to find this bapi or function?
    Thanks & regards
       David

    Hi,
    Please check this BAPI.
    BAPI_DELIVERYFREE_PROXY_CREATE
    BAPI_DELIVERYPROCESSING_EXEC
    Regards,
    Ferry Lianto

  • Outbound delivery with order reference - VL01N

    Hi experts,
    I got this error while creating outbound delivery: "Error Info...   6R 094: There is no conversion factor for material E150C02".
    In develop environment it works fine !! I got this error just in production !
    What can I do ?
    Thanks a lot in advance.
    Regards.
    Marco

    Hi,
    The alternative UOM is not maintained for the material.
    Check in MM02 the material and maintain the alternative UOM whihc is needed to be maintained.
    Basically the UOM which is specified in the error message cannot be converted into the Base UOM. So maintain the same.
    Regards,
    Ankur Parab

  • Bapi for vl01no create outbound delivery without order reference

    Hi Guru's, i need help, I'm looking for BAPI VL01NO
    Any suggestions?
    Thanks for everything
    Edited by: GaBo_s Gabo on Sep 22, 2009 8:48 PM

    Hi,
    Following is the sample code for creation of outbound delivery Using BAPI 'BAPI_DELIVERYPROCESSING_EXEC'
    Which may be helpful.
    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, ' created'.
    Let me know if any issues.
    Thanks & Regards,
    Naveen

  • BDC for VL01N -outbound delivery with order reference

    Hi Sap Gurus...
    I have to prepare a BDC program which allows me to add the 'delivery qty' for multiple line items(from selected range from first screen of VL01N)....... Right now I have already prepared a BDC where delivery qty is already coming but its displaying  the 'delivery qty' for all the items...and I only want the delivery qty(to be displayed) for only those items entered in first screen of VL01N....
    Pls suggest......
    Thanks

    That would requires a standard report change....
    You may try with BAPI_DELIVERYPROCESSING_EXEC, first read [Note 577453 - Using BAPI BAPI_DELIVERYPROCESSING_EXEC|https://service.sap.com/sap/support/notes/577453] before programming.
    Regards,
    Raymond

  • Can we create outbound delivery with reference of purchase order

    Hi All,
    can we create outbound delivery with reference of purchase order?

    dear friend,
    as far as i know you can create it with the following references:
    -to sales order;
    -to STO;
    -to subcontract order;
    -to project;
    -without any ref
    are you talking about stock transport order ?
    regards,

  • I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.

    Dear Team,
    Can you please help me by providing the BAPI name for creating the outbound delivery for Scheduling Agreement in SAP SD .
    I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.
    The system says "missing data in the BAPI interface: VBAK VBTYP E". It seems another FM should be used for scheduling agreement only.
    Thank you for your help in this regard .

    Hi Raghu.
    As much as I don't want to do this but just to resolve this error I created an enhancement implementation in include LV50R_CREACSV form routine dcs_check_so_vs_interface and modified VBTYP to blank to avoid that error message.
    Got the tip from this thread http://scn.sap.com/thread/1972059
    Unless... anybody has a brighter idea (without modifying the standards)?

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

  • BAPi to create Outbound delivery with PGI

    Hi all,
    What BAPi , we can use to create Outbound delivery with PGI.
    Please help me in this regards.
    Deekshitha.

    Hi,
    Use the BAPI BAPI_GOODSMVT_CREATE
      check this link.... u will get all help from this code..
    http://sap4.com/wiki/index.php?title=BAPI_GOODSMVT_CREATE&printable=yes
    <b>rEWARD POINTS</b>
    rEGARDS

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

  • 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

  • BAPI for outbound delivery without order reference???????????????????

    hello folks
    i want to a bapi for transaction <b>VL01NO</b>. this transaction is used for creating outbound delivery <b>wihtout a order reference</b>. I did a search but was not able to find a bapi pls help.

    Hi,
    Could you please send me the sample code for BAPI_DELIVERYFREE_PROXY_CREATE? I am using the IDOC for outbound delivery w/o order reference. I didnt find any standard process code for this..
    Any suggestions on the same??
    Thanks,
    Prasad

Maybe you are looking for