Changes to Purchase order also changes sales order prices

We have a unique problem which cannot be replicated and occurs once in a while. Sometimes when a purchase order which has the account assignment as sales order is changed, the corresponding sales order line item suddenly loses its net value and becomes worth $0.
This problem happens once in 1000 sales orders and cannot be replicated again in the quality or the productive system. Has anyone ever experienced something similar in their SAP system.

Hi Santosh,
In addition to the above
Using FM ME_READ_CHANGES_EINKBELEG we can get the changes done to a PO on a particular day.
Any change to the PO is recorded in the table XCDHDR and changes to a particular field of is recorded in XAEND with present value and the previous value.
Please check if this solves ur purpose.
Regards,
Kishore Gaddam
Edited by: kishore gaddam on Mar 11, 2010 7:38 AM
Edited by: kishore gaddam on Mar 11, 2010 7:45 AM

Similar Messages

  • Scehdule Line Date getting change to future date once the Sales Order is saved

    Hello Experts,
    Good Morning to you all,
    This is with respect to the Issue we are facing for the Orders having Product Allocation on multiple materials. Please find enclosed the detials below.
    Issue : Scehdule Line Date getting change to future date once the Sales Order is saved. These Order's are having Product Allocation on multiple materials.
    Description:
    We have implemented Product Allocation few months back.
    We have Product Allocation on multiple materials which are in demand and has been reserved for the Customers of different PA behaviors.
    When we are trying to create the Sales Orders for the normal customer who is not on Product Allocation. The Order Schedule Line is getting changed to future date once the Sales Order is saved after initial creation.
    These Order's are having materials of Product Allocation.
    I have enclosed the sample screen shot of the error we are getting which saving the Sales Order and also the Order Schedule Line screen shot showing future date.
    Error Message : There may be Product Over Allocation in Delivery Group 001.
    Message No : VV023
    This is a random behavior we are coming across and out of 10 Order 2 or 3 Orders is getting this Issue.
    Please share your inputs how to rack this Issue.
    Your suggestions will be highly appreciated.
    I am unable to upload the attacments dont know what the reason.
    Thanks,
    Farhan.

    Check whether you need to carry out the coding corrections as recommended in the following note:-
    Note 52067 - Message VV023/VV024, but no prod.alloc.processing    
    But I wonder this is for older versions and not sure whether this would help you to overcome from the issue.
    G. Lakshmipathi

  • Changes Allowed on the 3rd Party Sales Order when PO is created

    Hello,
    We have a requirement to change the Sales Order even if the PO is already created for teh 3rd party order. I am not sure which fields and what changes can we do if the PO is already created for the 3rd Party sales order.
    Can you please guide me in pointing to the configuration or any user exit that we can control the field changes on the 3rd party sales order when teh PO is already created.
    Thank you!
    Chandrakant

    Venu,
    FIRST ANSWER THE BELOW TWO QUESTIONS.
    1. Did you understand what Shiva has mentioned?
    He has clearly mentioned that  you can change the PO qty and in standard it self the same PO changed  qty will be reflected in Sales order schduline lines qty, and he also mentioned that if this is not happening then advised to refer the Note 1361281.
    2. Did you read the note?
    It says that It will occur if the sales order line item is part of the delivery group or if you have set the complete delivery indicator for the sales order. And it also advised to apply the program code to over come the issue.
    Please note: before commenting others just check once in system then talk, don't just blindly through the ball, it will not have good results.
    Before also mentioned the same, but you still repeating the same.
    Sorry Moderators that i have mentioned some lines in the Note here.
    thanks,
    Srinu.

  • Change of Sold to Party in Sales order created with Reference to Contract

    Dear Gurus
    I want to change the sold to party in Sales Order created with reference to contract.
    When I create a Sales order with reference to contract the system copies all the partner functions- Sold to, Ship to, Bill to and Payer alongwith other data.
    However Sold to is marked as "Grey" and not changable, rest of the partners can be changed.
    There is no subsiquent document created with reference to this Sales Order.
    Please advice.
    Thanks a lot.
    Regards
    Raghu

    Hi ,
    Please follow the below mentioned step.
    1) Create a partner function letts say Authorized SP .
    2) Assign all the possible authorised  SP (customer) in the contract.
    3) When you create sales order with reff to Contract. Put the customer for whom you wish to create a sales order in release partner tab.
    Hop this will resolve our problem
    Regards,
    Krishna O

  • Change Request demanded while creating a Sales Order

    Dear All,
    I am creating a Sales Order. The solution is using user exits to communicate between SD and TEM.
    Whenever we create a Sales Order its corresponding sales order and line item is updated in TEM table HRVPAD25.
    While saving the Sales Order, its asking for a Change Request which is by default the Customizing Request created for functional configuration of that particular solution.
    Sales orders however are created successfully.
    Can anyone throw some light on the issue?
    regards,
    Prosenjit.

    Solved

  • Do not change the payment term created a Sales Order with reference

    Hi Gurus,
    Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.

    Hello ,
    As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
    as standard sap redetermines the payment terms with change in partner function, you may use the exit
    USEREXIT_MOVE_FIELD_TO_VBAK- header level
    USEREXIT_MOVE_FIELD_TO_VBAP- Item level
    in this you could write a small code which will not change the payment terms when payer is redetermined
    hope this helps
    Thanks
    akasha

  • Issue while updating(Changing) quantity on line at quick sales order form

    Hi,
    I am facing a issue while changing quantity ordered on the order line in quick sales order form. (R12.1.3)
    Although the same logic works exactly as required in 11.5.9.
    There is a custom logic, post booking line status is Awaiting Shipping.
    Now when quantity is changed +(Saved), the status changes to a custom state but at the same time a new row is created with the same line id but different reservation id in the MTL_RESERVATIONS.
    The quantity here is the difference between the original quantity and the new entered quantity.
    And post completion of the custom logic the original row is updated, but being there a additional row the quantity reserved at the shipping tab comes wrong.
    Our requirement is of update which is happening but not the additional insert which is going into MTL_RESERVATIONS.
    The logic is perfect in 11.5.9 and no additional insert is being made.
    Kindly help and give some ideas for the possible reason the issue.
    Please ask for more information if required.
    Thanks,
    Vishal

    Hi Mahendra,
    I have gone through the note id that you have given. sorry to say that, that is refering to diffrent issue.
    Actually what i did is, At form header level, I have hide the fileds using the folder options. once after changes I have closed the form and re-opened it. by that time I can see that Button names got changed in bottom of the "Quick sales order form". Not sure how it become changed. there five buttons over the form, only two button names got changed.
    Kindly suggest any other options.

  • System doesnt let me change the delivery quantity greater than sales order

    Hi,
    In delivery document , when I change delivery quantity greater than related sales order quantity , system just show the Message no. VL363 but let me change the quantity.
    Is it any way that system do not let me to change delivery quantity greater than its related sales order?
    thanks.
    Lida.

    Is it any way that system do not let me to change delivery
             quantity greater than its related sales order?
    Go to zeroVLP,  select the item category and maintain "B"  for the field  Check overdelivery

  • Cannot change Tax Code from the referenced sales order line

    hi,
    Has anyone ever got this error when creating Sales Order(SO): "*cannot change Tax Code from the referenced sales order line*"?
    The error occur with order type Return.
    This SO is created by copying from another SO.
    Please help.
    Regards & thanks,
    eRie

    hi,
    Has anyone ever got this error when creating Sales Order(SO): "*cannot change Tax Code from the referenced sales order line*"?
    The error occur with order type Return.
    This SO is created by copying from another SO.
    Please help.
    Regards & thanks,
    eRie

  • Changing Profit Center in Partially Delevered Sales Order

    Dear Experts,
    Can anybody tell me how we can Change Profit Center in Partially Delivered Sales Order?. in Standard, System allows to change  PC in open sales Order without any subsequent documents.
    There is business requirement to change PC in all Open Sales Orders.
    br,
    vgl.

    Try this.
    Go to MASS, Key in Object Type BUS2032, select Table MASSVBAP and click on "Fields".  There select the field "MASSVBAP-PRCTR" and execute.
    Next paste those open sale orders and again execute.  There maintain the required Profit Center on top cell and click Carry out mass change.
    thanks
    G. Lakshmipathi

  • I need to modified or changes in Ordering Document of Sales order

    Dear All,
    Currently i have a task to modified the changes in Ordering Document of Sales Order where
    Products
    You have ordered the products described below for use in the U.S., and not for resale, unless otherwise specified.
    Currency Used On This Document........
    Changes required in U.S. ----- Pakistan
    Please advice how can i do this.

    How does one remove the following text from the Ordering Document that is generated from Sales Order Preview and Print?
    "Products
    You have ordered the products described below for use in the U.S., and not for resales unless otherwise specified"

  • Condition value need to change at quotation level not in sales order

    Hi,
    As client requirement, Condition value and new condition type can be added at Quotation if Sale Order is created with reference of same Quotation than system should not be allowed for editing or adding new condition type.
    If Sales Order is created without reference than system should be allowed for edit or add condition.
    Please resolve my query.
    Thank You!
    Chakradhara

    Hi Chakradhara,
    you need to define a requirement in VOFM where you check table VBFA field VBELV.
    If system retrieves data when accessing to this table with VBELV equal to your quotation number and VBTYP_N equal to C (sales order) means that sales orders have been created from your quotation. If so, then field sy-subrc should be equal to 4.
    When you add your new condition to your price schema, don´t forget to place the requirement created in column requirement.
    Ask for the help of an abaper for coding the requirement.
    Regards,
    JM

  • Planned Order creation for Sales Order and Purchase Order

    Hi
    We have a following requirement.
    In normal scenario when we have demand for material  which was created by MD61 and in addition to that if there is Sales Order the 1st planned order gets revised.To better expalin this consider possible scenario
    You create plan via MD61 for 200 qty .The system creates Planned Order for 200.
    Now there is Sales Order for 150 peices.Then what happens is original  Planed Order of 200 is changed to 50 and another planned order is created for 150 peices.The requirement is not summed.
    Now in new scenario instead of Sales Order there is Intercompany Purchase Order of 150 peices.
    Now the system is not changing original Planned Order of 200,but it created another planned order of 150.So now there are 2 Planned Orders of 150 and 200.
    What I want to know is there any way wherein the system will reduce the original planned order (similar to Sales Order scenario)
    Regards

    Hi,
    Use Strategy 52 in urs case.
    PIR witll be created .
    None convertable planned order will be created.
    Once you get sales order for that material.
    New planned order will be created which will consume PIR( planned order ).
    Eg.
    PIR 10.
    Planned order 10 qty.
    Sales oder 6
    Planned order for SO 6 qty
    Planned order through pir will become 4 qty.
    Regards,
    Vishal

  • Purchase order based on Sales order

    Hi,
    I try to create Purchase order based on Sales order.
    The error message :
    "Base document card and target document card do not match"
    My code:
    oPurOrder.Lines.BaseEntry=oSalesOrder.DocEntry
    oPurOrder.Lines.BaseLine=oSalesOrder.Lines.Linenum
    oPurOrder.Lines.BaseType=17
    Could you help me please ?
    Tks.
    Laetitia

    Hi,
    Looking at your code I will check how you fill the fields in the oPurOrder object because the code you copied is only for the document lines and the error refers to the document itself (maybe you forgot to assign the cardcode property).
    If you are basing the document, a good and reliable method is to export the base to a xml file and load the target using this file. This way you garantee that all the info of the document is copied. After that you could use your code to update the info you want to change the same way you pasted it in your post.
    Hope it helps,
    -M

  • Deletion purchase requisition linked to sales orders

    Hi gurus,
    in my SAP system there are purchase requisition created by schedule line from sales orders. For different reasons the sales orders were deliveried and billed with stock free and not with customer stock.
    When I try delete de purchase requisition, because the sales order is completed, the system alarms a message that is not posible to delete in purchase requisition else in sales order. But the sales order is completed and we don't touch it.
    Any idea to delete this purchase requisitions?
    Thank you, I will revvard all answers..

    Hi Mancho ,
    Try to run the program BANF_OHNE_KDAUF in Transaction SE38 and delete the PR.
    The other way would be to change the item category in Sales Order - Line Item so that no PR is generated.But in this case i doubt whether system permits u to change the Item category as u had completed the subsequent process.Just check it.
    Unfortunately currently i am not at my system to check the same.
    Regards
    Ramesh Ch

  • Cost analysis through Purchase Order created from Sales Order

    Hi Experts,
    This is the scenario: There is an Item No. which is not stocked in warehouse and is purchased only when customers ask for it. The cost of the sales order line having this item is calculated by the Purchase Order line on which the item is there. (The PO have items for other Sales Orders as well. And, Sales Orders have multiple item types) The Sales Order have the PO no. against it and Purchase Order has SO no. against the line. This is all done using MS Access and Sage Accounts. Lots of free typing and manual cost analysis involved.
    I have gathered from this forum that we can create Purchase Order from the Sales Order. The Document No. information can be pulled from one another using Formatted Search. Can we do the accounting and cost analysis as well?
    Please let me know if I have not made myself clear.
    Thank you in advance and kind regards.
    IC
    Edited by: iancameron03 on Sep 20, 2011 4:35 PM

    Hi Ian,
    I concur with Faraz, it is better if you use procurement document facility in doing back to back transaction from SO to PO.
    However, in your case, I'm afraid you can't analyze the gross profit and recording the accounting related activity as your request using standard SAP B1 function.
    As for gross profit case:
    Since you're actually using workaround in order to evade all hassles in maintaining all item master data related to this case, you create just one item code called S1 right?
    SO DocEntry - SO Line # - Item Code - Item Name - Quantity - Price
    1001 - 0 - S1 - Table - 2 - 100
    1001 - 1 - S1 - Chair - 8 - 25
    1001 - 2 - S1 - Cloth - 3 - 10
    PO # - PO Line # - PO BaseEntry (SO DocEntry)  - PO BaseLine (SO Line #) - Item Code - Item Name - Quantity - Price
    2001 - 0 - 1001 - 0 - S1 - 2 - 100
    2001 - 1 - 1001 - 1 - S1 - 8 - 25
    2001 - 2 - 1001 - 2 - S1 - 3 - 10
    Note that standard B1 gross profit calculation is that system will compare selling price for each item with item cost / certain price list of each respective item. However, in your case, you put all item as a single item master. Thus, system couldn't compare Table to Table, Chair to Chair, Cloth to Cloth since the item cost for these 3 items will be the same, the price list for these 3 items will also be the same since it is actually only one master data. Of course you could update the gross profit calculation manually for each SO, but to be honest it seems rather weird to do this manually.
    So, in order to simulate the gross profit calculation, you need to create a custom query and comparing PO line no with SO line no.
    As far as accounting related recording concern, I'm afraid you can't do it
    1. SO 1 : Item Table - Selling price 130 ; Item Chair - Selling price 30
    2. PO 1 (linked to SO 1) : Item Table - Purchase price 100 ; Item Chair - Purchase price 25
    3. SO 2 : Item Table - Selling price 150 ; Item Chair - Selling price 40
    4. PO 2 (linked to SO 2) : Item Table - Purchase price 110 ; Item Chair - Purchase price 30
    Correct me if I'm wrong, you want to record accounting wise that CoGS of Delivery based on SO 1 is 100 for Table and 25 for Chair, isn't it? No matter what costing method you use, you can't achieve this.
    If you use moving average, system will average both Table and Chair cost price, since it is actually one item master data. Even if you distinguish each item as a master data, system will average the cost price for Table and Cloth by the time GR for PO 1 and PO 2 occurred.
    Example (order by sequence of event):
    1. GR based on PO 1 - Table - Purchase price = 100, therefore Item cost = 100
    2. GR based on PO 2 - Table - Purchase price = 110, therefore Item cost = 105 (considering quantity only one for both PO)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 105, not 100
    To certain extent, same thing could be said with FIFO costing method
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 2 - Table - CoGS incurred will be 110 (qty 1)
    At first glance, it seems right since the CoGS for SO 1 is 100, tied up with purchase price for PO 1. And CoGS for SO 2 is 110, tied up with purchase price for PO 2. But we're using assumption here, we're assuming the sequence of Goods Receipt of PO and Delivery of SO occurred in the very same sequence as the issuance of SO and PO.
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 2 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 1 - Table - CoGS incurred will be 110 (qty 1)
    If above scenario / sequence that happened, you will get the wrong figure of gross profit since the Delivery of SO 2 will take the item cost based on GR of PO 1. Since we're actually talking about real life business process, who can guarantee that above scenario wouldn't happen? It is possible that you send goods to customer who ordered late in real life, too much possibility that it is better for you to mitigate such result.
    My suggestion would be that you record the accounting transaction based on standard business process, no need to really capture the actual cost and actual gross profit for certain SO and PO. Too complicated, and the software itself doesn't cater this kind of requirement. Best thing you could do only create custom query for gross profit simulation calculation, but for very accurate accounting recording, IMO you should forget it. Hope this help.
    Best Regards,
    Hendry Wijaya

Maybe you are looking for

  • How can I be using so much data on my iPhone 5

    How can I possibly be using so much data on my iPhone. I usually listen to Pandora for about an Hour each day I drive to work. So far (the first 8 days of my billing cycle I have used about 1 GB of data. According to Verizon's calculations I based on

  • Goods Issue of more than 500 items

    Is it possible to post for than 500 items? The following error is hit when doing 261 posting in MB1A. There are many items in the production order to backflush. Maximum number of items in FI reached Message no. F5727 Diagnosis The maximum number of i

  • Mass Change Of Vendor Code in Purchasing Info Records

    Hi All, I have one query and I already search a lot for it but didn't find any specific solutions. I want to change a vendor code in around 1000 Purchasing Info Record, I had already tried for Mass Maintenance Through T. Code - MEMASSIN, But I found

  • Can't print large images

    Hello, I'm printing a set of large, stiched images. There are thirty-eight images in the set and the first eight went fine. Suddenly I can't print from CS3. I choose print and the print dialog comes up. It is up for a minute or two (normal with the f

  • I have problems restoring tabs and saving pin apps with Firefox 5 on Mac OS X version 10.6.7

    I bought a Macbook Pro a few months ago and since installing Mozilla Firefox on my system, I have never been able to restore previous sessions after closing Firefox. I currently use Firefox 5 and I've tried pinning open tabs as apps tabs but those to