Open PO items exists - Sale order canu2019t be archived

Hi all
While doing sale order archive, it says it has open PO items. But the PO line items and relevant PR line items are deleted. Still canu2019t archive the sale order. Pls guideu2026
Thanks in advance
ARAS

Open means usually that the ordered quantity - GR quantity and 'IR does not equal.
You have to analyze the situation in detail.
I guess it is a 3rd party order. What is the sales order quantity?
how much was ordered in the PO? how much was received, how much was the invoice?
Why does the PO have a deletion indicator?

Similar Messages

  • Sale order canu2019t be archived u2013 Open PO items exists

    Hi all
    While doing sale order archive, it says it has open PO items. But the PO line items and relevant PR line items are deleted. Still canu2019t archive the sale order. Pls guideu2026
    Thanks in advance
    ARAS

    Hi
    Can u send us the exact Error message??
    Ravi.

  • Open items in sales order

    what is the open item in sales order?
    how  can i list them if i am inputting the sales order?
    which tables should i use?

    Hi,
    Open Sales orders are nothing but the sales orders which are not Billed  or which are not Delivered.
    For this you can use the tables vbak,vbap,vbuk.
    first you can fetch the all the vbeln from vbuk by using the
    Lfstk and Fkstk as the filter criteria.
    LFSTK-Delivery status
    FKSTK-Billing status.
    then you can get the open order items from vbap and vbak.
    SELECT vbeln
               lfstk
               lfgsk
               fkstk
    FROM vbuk
        INTO TABLE i_vbuk
       WHERE ( ( lfstk EQ 'A'
         OR lfstk EQ 'B')
         OR (  fkstk EQ 'A'
         OR    fkstk EQ 'B' ) ) .
    Regards,
    Raj.

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Mass change - Move existing sales orders from Sales org A to Sales org B

    Good morning dear network,
    am seeking for your guidance on one specific matter.
    We are in the process of making changes to our billing / organisational structure (new sales orgs)
    One of the challenges is that we need to move existing open sales orders from one sales org to another (new) sales org.
    If all master records exist in the new sales org, is there a (technical) way of moving the existing sales orders from the current sales org into the new sales org, without having to replace each order individually ?
    would welcome any suggestions.
    Many thanks

    I would recommend to close the existing open sale orders by assigning Reason for Rejection and create new sale orders in the newly created sales organisation.
    This is due to the fact that you need to ensure each and field in the existing sale orders to match with the newly created sales organisation and it is bit time consuming.
    Still if you prefer to what you had indicated, LSMW is the better option
    thanks
    G. Lakshmipathi

  • Delete the line item in sales order in VA01/VA02 when the quantity is modif

    Hi SAP,
       I have requirement to delete a line item in sales order.Please suggest me to do the same.
      THe scenarios is , we are inserting a free good line item based on some condition and quantity, If the quantity is modified  the free good line item inserted needs to be deleted.
    Waiting for your responce
    Thanks,
        Billa
    Moderator message : Spec dumping is not allowed,search for available information. Thread locked.
    Edited by: Vinod Kumar on Nov 14, 2011 1:54 PM

    Hi,
    Can you also check the SALES LINE.
    Sales line is the combination of SALES ORGANISATION + DISTRIBTION CHANNEL +PLANT.
    Hope it was not maintained.
    Transaction code : OVX6
    PATH:  IMG->ENTERPRISE STRCTRE->ASSIGNMENT>SALES AND DISTRIBTION->ASSIGN SALES ORG- DISTRIBTION-PLANT.
    please revert if the error still exists.
    santosh

  • Automatically add line-items to sales orders

    Hello,
    Our client needs us to add line items to sales orders. The requirement is such that, when the users enter a material on a line item, they wish to see few more materials automatically added as new line items -- item category to be maintained as "Free" items. This appears similar to automatically getting BOM-sub-items for materials which have BOMs maintained. The client is not willing to maintain BOMs for materials in question. They instead have asked us to maintain sub-item materials in a Z-table and then fetch those to populate the subsequent line-items on the sales order.
    So far, we have tried to fiddle around with the XVBAK and XVBAP internal tables in sales exit (MV45AFZZ) and also tried to use BAPI within the same exit. Both methods do not work.
    Could you please guide us ? Thank you.
    Regards,

    Ist method:
    Maintain one Ztable with the fields of Material and sub materials.
    write BDC to create order,before entering the material  number check if material is existed in Ztable or not.
    If it exist take that material and added as a another line item.
    if not exist create like normal line item.
    2 nd method:
    Ask your MM functional consultant to maintain supression of materials concept.

  • Repricing an existing Sales Order

    Is there any way to make SBO reprice an existing sales order?
    For example, the Price LIst is updated and I want all existing open Sales Orders to be repriced according to the new Price LIst.

    This may only be done through DTW or SDK. There is no built-in function for it. Even worse, Sales Orders only keep price info but not price list. Unless you have a way to differentiate all the old prices with unique price list, it may not be possible.
    Thanks,
    Gordon

  • Import new sales order line in existing sales order

    Hi All,
    I want to import new sales order line in existing sales order using these open Interface tables or APIs.
    I did some test but the import request always give me the error message:
    You are trying to insert an existing order or update an order that does not exist. Please enter a correct operation code.
    Help..
    BR,
    Edited by: user7993358 on 2011/5/26 下午 8:48

    Hi,
    The script available in Oracle Note 746796.1 may be of help with your troubleshooting.
    Cheers,
    Arun

  • Adding lines to an existing sales order.

    Hi all,
    A client messaged me today saying they were unable to add a line (right click on a row and click add row) to an existing sales order in B1 (8.81 PL5) I noticed that if you right click on a row that has a "nettable" warehouse you are able to add a line, but you can't with a row that is using a drop ship warehouse. Is this system behavior? If so, is there a high level reason why you can't?
    Thanks
    Jeff

    Hi,
    Yes you are correct. If use drop ship warehouse, user can't additional row by "add row" option.
    Reason is, for drop ship warehouse, system automatically creates purchase order for that item through procurement confirmation wizard. ( Regardless of whether you  select check box under logistics tab).
    Thanks & Regards,
    Nagarajan

  • In VF02 to change existing Sales order

    Hi Gurus,
        Have Scenrios to change in exsting sales order ,to change the Condtion class based on the line itemwise.
    Please guide how to do it ,have check the sales order  BAPI_SALESORDER_CHANGE but its not working.
    Regards,
    san

    Hi vinod,
         Ve assigned the new condtion class  for new sales order its picking correctly but existing sales order are more than 8000 for that need to change...ve cant create new sales order some of are open sales order.that need to change existing one ,please guide how to achecive/
    Regards,
    san

  • To add line items to sales order using User exit.

    Hi ,
    I have to add line items to sales order .
    I have tried adding the code in usr exit move field _VBAP // Check VBAP and in savedocument _prepare . But in all the places I dont see it in VA01 . I can see it in the VA02 and VA03 . But I am not able to save the order as they have made the flooring term as mandatory field, and I am supposed to populate the XVBKD structure for this.
    Pls tell me whts the procedure like say , should I popluate the XVBKD / XVBAP / and should i use the bapi_SALES_ITEM_CHECK to populate the structures at the save_document prepare.

    Hi,
    1. It is not possible to delete records using DTW, only importing new records or updating existing ones are supported. These are the only valid operations via DTW.
    2. It is possible to delete the contents of an edit text field by using the character / or -1. However it is not possible to clear an entire row/line using this notation.
    Thanks & Regards,
    Nagarajan

  • Changing the Availability Check key in an existent Sales Order line

    Hello gurus.
    Is it possible to modify the Availability Check key (VBAP-MTVFP) of a material in an existent Sales Order line?
    I changed it in the material master, but since documents are not automatically updated, I wanted to modify this value in an existing sales order line. I am not even able to find the field in it.
    I had to delete the order line and create it again, but then I have troubles getting the exact same confirmed date that I had before.
    Any help? Thank you.

    You cant see at item level.  To see in sale order, click from top menu bar, Environment -- Availability.   Now you can see the availability check on top of the screen.
    Meanwhile, I dont think, this field will be in editable mode once partial delivery is made in which case, LSMW also wont help you.
    If your requirement is desperate to change the availability check, to me the available option is close the existing sale orders, create fresh orders after changing the availability check in material master.  On the other hand, if you want to change only in sale order, then the option is LSMW as you cant even succeeed in TCode MASS
    thanks
    G. Lakshmipathi

  • Restriction of number items in sales order

    hi,
    how can i restrict no of items in sales order?
    eg:
    sales order has been created for 10 items and all the 10 items
    quantity should be 72 not more than that and system should
    not allow to enter the quantity.where we can configure for
    this.
    regards,
    balajit

    You have to try with User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT or USEREXIT_SAVE_DOCUMENT in the same program
    thanks
    G. Lakshmipathi

Maybe you are looking for