Item number in sales order versus delivery not equal

Hello Guru's,
Please help me solve this problem, i created a sales order with 6 items in it and save it. Before I create the delivery I deleted the sales order item number 1,2 and 3 so the item that was redy for delivery are sales order items nubmer 4,5 and 6. When i created a delivery for this materials the item number that was in it is not 4,5,6 but 1,2,3 so the item number 4 in the sales order was considered as the 1st item in teh delivery. What will I do in order that when i create a delivery for a sales order it will capture the item number maintained in the sales order.
example :
sales order-
item   material number  material description
1              123                      abc                           deleted
2               456                     def
3               789                     ghi
delivery
1               456                     def
2               789                     ghi
it should be
delivery
2               456                     def
3               789                     ghi
please help..
thanks.

Hello Ysabella,
Your requirement is justified since the numbering in the sales order would usually follow the sequence given in the customer's purchase order. If there are a lot of items in the PO, and if this sequence is messed up, then the customer would lose track of what he/she ordered and what he/she received.
To ensure that the item number from the Sales order is copied to the delivery, all you have to do is set a flag in transaction VTLA at the header level - 'Copy Item number' (V_TVCPLAK-POSVO).
I hope this helps you solve the problem.
Cheers
Nikhil

Similar Messages

  • Link from sales order to delivery not complete

    2007A
    We have a few cases where the link from a sales order to delivery is not complete. For example, we have a sales order with 2 lines on it. We copy to delivery and add. Remarks field has the comment "based on sales order ...." However if you try to get to base document the icon is not available. In looking at the base document, base reference, base line fields on the items they are blank.
    We also have instances of this where there were 20 lines on a sales order, we copy to delivery and 19 lines are linked but one is not.
    Any ideas as to why this might be happening?

    Hi Keith ,
    It looks like an application error to me if the action is straight forward - copy from SO to Delivery .
    If you can replicate the issue , it is definitely a bug and you probably need to test with upgrade if it is happening or not .
    So far , I would look for a higher version of patch and see if that issue is particularly addressed and resolved .
    Also use this query for more help
    SELECT DISTINCT T0.DocNum FROM ODLN T0, DLN1 T1 WHERE (T0.DocEntry = T1.DocEntry) AND (T1.BaseEntry = [%0] OR T1.BaseRef = [%1])
    Hope this helps
    Bishal
    Edited by: BIshal Adhikari on Dec 11, 2009 9:47 AM

  • Delivery block at item level in sales order,Qty should not be confirmed

    Dear all
    We have a below requirment
    We will have multiple line items in sales order and put delivery block at item level.If delivery block is put at item level it should not confirm the qty and pass on to MRP
    But if we put at header level delivery block,schedule line qty at item level are not getting confirmed.So requirements are not passed to MRP-This is correct .Working as per SAP standard configuration.
    Can you tell how to activate the same for item level delivery block.if same delivery block is put at item level,it is confirming the quantity.But we don't want confirmation of qty to happen.
    Can you give us solution
    Regards
    Sudha

    We had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
    Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
    Check the  customizing OVZ8: if the flag  Transfer of Requirement
    Transfer of requirements of the requirement class should be ON.
    In the sales order the requirement type is determined by the combination sales order item + MRP type.
    Refer SAP Help URL below
    [Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]

  • Joining Sales Orders and Delivery Notes in Query

    Hi Experts
    Please could someone provide me with the correct SQL syntax for joining tables ORDR, RDR1, ODLN and DLN1 in a query?
    I need to show a list of the (rows of all open sales orders) and (closed sales order (which have a delivery note) between certain dates).
    Thanks
    Jon

    Hi Gordon
    Thanks for your help.  Could you help me a little further?  I am writing the query to show me a mixture of (Open Order rows which contain item code 'C&P') and (closed orders between 2 dates which also contain C&P) - both need to have the customer having property 54 set as 'Y'
    Working with what you sent me it almost works but for some reason I cannt fathom it won't show the open orders only the closed.  I think it may have some do with my last JOIN
    This is what I have:
    SELECT T0.DocNum 'Delivery No', T0.DocDate 'Delivery Date',  T3.Quantity 'Delivery Quantity', T1.DocNum 'S/O No', T1.DocDate 'SO Date', T1.DocStatus, T3.ItemCode, T3.Dscription, T2.Quantity 'SO Quantity', T2.Quantity-T3.Quantity 'Balance Quantity', T2.LineTotal'C&P Price After Discount', T2.DiscPrcnt, T2.Project, T4.QryGroup54'Carriage Deal', t2.freetxt, t1.comments
    FROM DBO.DLN1 T3
    INNER JOIN DBO.ODLN T0 ON T3.DOCENTRY = T0.DOCENTRY LEFT JOIN DBO.RDR1 T2 ON T3.BaseENTRY = T2.DOCENTRY AND T2.ItemCode = T3.ItemCode LEFT JOIN DBO.ORDR T1 ON T2.DOCENTRY = T1.DOCENTRY INNER JOIN OCRD T4 ON T0.CardCode = T4.CardCode
    WHERE (T2.ItemCode LIKE 'C&P%%' AND T1.DocStatus='O' and t4.qrygroup54='Y')  or (T2.[ItemCode] LIKE 'C&P%%' AND T1.[DocStatus] = 'C' and T4.QryGroup54='Y' and (T0.DocDate Between '[%0]' and '[%1]'))
    Thanks
    Jon

  • How to have a custom Item Number in Sales Order Items

    Hello Experts,
    We are creating a sales order using IDoc, sales order gets created but, its not taking value what we are populating in Item Number field for Item. Defualtly its filling 10,20 and so on...
    Is there any thing that I need to maintain, so that SAP accepts the custom number for Item number.
    Please help,
    Thanks,
    Suma

    Hi Suma,
    In VOV8, you can see the fields Number system..here u can see sub item increment u can enter 12 here then the next item number will be 500012, 500024 and so on. But if u want to maintain external number range then follow this steps.
    Determine which external number ranges are provided for the relevant
    document type. Choose the function "Maintain number range" of the
    document type (for example: Purchase order -> Maintain number range)
    for this purpose.
    Choose a number range and note its number.
    Enter the number of the desired number range.
    Thanks,
    Raja

  • Delivery address on item level in Sales Order causes delivery split

    Hi all,
    I have an issue where our customer is sending in EDI-orders with delivery address on item level. This generates different SAP addresses for each line in the Sales Order later causing a delivery split in VL01n. Normally a SO contains 20 items where 10 needs to go to one physical address and the other 10 to another. What I would like is to only split on the physical address and not on each SAP address. E.g. 2 deliveries created instead of 20.
    Its ECC 5.0.
    Anyone has experience to share on this issue?
    Thanks
    BR
    Peter

    We had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
    Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
    Check the  customizing OVZ8: if the flag  Transfer of Requirement
    Transfer of requirements of the requirement class should be ON.
    In the sales order the requirement type is determined by the combination sales order item + MRP type.
    Refer SAP Help URL below
    [Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]

  • Status of sales order and delivery notes

    Hello,
    what is the status of sales orders that permit to create delivery notes for this sales orders.
    And what is the status that block us to create delivery Notes.
    Regards.
    Zied.

    Hi..
    1. The over all status of the sales order in header shuld be Being processed...Rejection status shud be  nothing rejected..Delivery status shuld be Not delivered....Credit status shuld be Approved/released
    2. Status will be Blocked if any block is assing to the sales order or else it wud be Not blocked
    Reg,
    JJ
    Edited by: Jagsap on Nov 25, 2009 11:03 AM

  • Unable to Query item number in Sales order form

    Hi Gurus,
    After selecting customer name in the sales order form, i am trying query the part number but application is hangs.
    Can you please let me know is it problem with DBA or technical?
    Recently we uploaded (migrated ) part numbers to oracle..
    Please advise.
    thanks
    AK

    Hi AK,
    check this link
    *PERFORMANCE: ITEM LOV TAKING TOO MUCH TIME ON SALES ORDER FORM IN 12.1.1 [ID 1066964.1]*
    Thanks
    -Arif.

  • Want to copy Serial number from Sales Order to Delivery

    Hi Gurus, I want to copy the serial number from the sales order to the delivery. ¿How can I do this?
    Thanks in advance
    -ITalo

    Please check if you get some helpful tip from the link below:
    http://help.sap.com/bp_bl603/BBLibrary/HTML/126_EN_IN.htm
    Regards,
    Rajesh Banka

  • Item text from sales order to delivery

    Hi All,
    I have GTIN number in item texts and it has value to it, but in the delivery only text is comming as GTIN number, no value is comming for it. Can some one please help me how to check why it is not comming and how to resolve this.
    I have to show the same text with value in the Invoice also. I donot even see txt there, no value also.
    Please help me.
    Thanks,
    Veni.

    Hi Siva,
    VOTXN is not valid for me, so used VOTX only. I selected the radio button for sales document -> item, text types. Pressed 'All' push button. Here I see that checkbox for Billing document is not checked, these are disabled here, How should I check the billing document check box.
    Thanks,
    Veni.

  • Delivery schedule line number in sales order is not populated in production

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Will reward points.
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • Delivery schedule line number in sales order is not populated  in productio

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • No Sales Order Item number in PCA document on Delivery

    Hi,
    We have an issue as below:
    Sales Order (Not a CO object)>Delivery is done> We cannot see Sales Order item number in the PCA document whereas it appears in Accounting Document.
    After Billing, a CO-PA document also generated.
    Thanks to provide any information on this.
    Umapathi G

    Hi,
      For billing documents, the information from the respective sales order and from the sales order item in the line item table GLPCA is only in the fields AUBEL and AUPOS.    
      You post a goods issue for delivery. If you post the goods issue for a sales order stock, the information of the sales order is updated in the profit center document (field GLPCA-KDAUF). If the goods issue is posted from the make-to-stock inventory, then the sales order information is not updated.
    regards
    Waman

  • Delivery of sub-items from a sales order

    Hi experts,
    We have a business requirement to be able to modify the customer's transmitted order line in a sales order. However, we would like to retain the customer's original order details.
    In order to do this, we wanted to capture the original request as a line item in the sales order with a item category not relevant for delivery and billing. We then create a sub-item for the original line with UEPOS populated for the sub-item. This sub-item is relevant for delivery and billing.
    However, we find that with the copy routine 101, SAP does not allow only the sub-item to be delivered. With the routine 110, SAP does bring in the sub-item, but blanks out the material number ( since it expects product substitution ).
    Would appreciate inputs from the forum
    Regards
    Rohit Zalani

    Hi Rohit,
    It is ideally required to have both higher item and subitem in delivery. However the moment there is a sub item, the delivery quantity for higher level item becomes 0 and hence this will not affect the quantity to be delivered. Hence the presence of higher level item will not impact the delivery or PGI in anyway. You can check this.
    Similarly for billing, you can check the Billing quantity field in copy control between delivery and invoice. The value has to be either G or H based on the scenario you want.
    Having said all these things, I think just adding the customer entered material either in the customer material field in sales order (I think VBAP-MATWA) or in some other Z field will relieve you of this big complexity. So unless or otherwise your customer i adamant on this, you can think of a simpler solution than the multiple levels of items.

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

Maybe you are looking for