How to correct old sales order with wrong Profit centre for which settmnt..

Hi All,
I have an issue as follows
Sales order has items 10 and 20.
From period Jan 2011 to May 2011, Item 10 had wrong Profit Centre assignmnet as 400004. Material also had Profit centre as 400004. Result Analysis and Settlemet to COPA has been done with this wrong profit centre assignmnet.
Profit centre (PC) at line item level was changed in the month of Jun 2011. Now all the settlemets and Result analysis is done on new PC 400084 and Material still has PC as 400004.
Now the issue is when I look in KE24, for item 10 settlment has happened in PC 400004 till May 2011.
From Jun 2011 onwards settlemet has happened in New PC 400084. This has caused imbalance in trial balance report.
Question is : how do I correct the wrong assignmnet of 400004 in item 10 for period before Jun 2011. Settlement postings are done and Fiscal year has also changed.
Best regards,
Karan a

Hi,
Reversal  the document  T.code FB08 and change assignment of 400004 and re post the document
Thanks,
Raviteja

Similar Messages

  • How to create a Sales order with ref to Contract using Function Module

    How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?

    We have a unique situation where we like change the sold-to customer of the sales order
    once order has been created. These orders have been created using either by function module
    BAPI_SALESDOCUMENT_COPY or using BDC (VA01, Copy with reference).
    These two processes work abosolutely fine except someone might have change the sold-to
    customer of the ship-to customer of the original sales order. If this the case then the new
    sales order will be created with the old sold-to and with not the new sold-to.
    We tried using BAPI_SALESDOCUMENT_CHANGE and commit afterwards. We checked
    the returned parameteres of the BAPIs and they are all successful but sold-to remains the
    same old one.
    Any help would be much more appreciated.

  • Old sales order with history needs to be canceled

    We have an old Sales Order which had a down payment but then a subsequent reversal of the down payment because the customer has canceled the order.  A balance remains for the part.  We've attempted to use VF11 to delete the item but that did not work.  Does ayone know how to get rid of the item once there has been some subsequent posts and clearings of those posts?
    Would F-32 be an option to clearing the original sales amount?
    Edited by: Daniel Goodhart1 on Jul 22, 2008 4:23 PM

    TTT
    Does anyone have any suggestions?

  • How to Restrict Return Sales Order with reference to a cancelled invoice

    SAP Standard is allowing to create Return Sales Order with reference to a cancelled invoice which practically should not be allowed.
    Has any body worked on this problem and what could be the possible solutions so that return sales orders can not be created against a cancelled invoice.
    Kindly share your possible solutions.

    Hi Standard Process will not allow to create a Sales Order With Cancelled invoice,
    Kindly go through at Copy Controls
    T.CODE:VTAF
    in that some body might have maintained between S1 invoice to RE Sales Document.
    Remove the settings then u will be not able to create Sales Order w.r.t to Cancelled Document.
    Rewards if Usefull
    B.Shyam Sunder
    SAP SD Consultant

  • Automatic Freight price on Sales Order with minimum total freight for order

    Hi,
    I am stuck trying to solve a freight pricing scenario on sales orders and I was hoping that someone might have seen this problem before. There are a number of basic requirements:
    1. The freight should be calculated automatically.
    2. The freight should be based on weight and shipping condition.
    3. The total freight of the order should be minimum X Euro.
    The problem we have is to try combining these three requirements since access sequences and condition records are not used on header conditions. The first 2 should be possibe to solve using a copy of standard item freight condition KF00 and creating a new access sequence including shipping condition. However, when including the last requirement we must see to the freight price of the complete Sales order and the system must automatically if the total reaches the minimum level.
    For example, say that we have a sales order with 2 items and the minimum freight for a total order should be 10 Euro. Based on weight and shipping condition the system automatically finds condition records giving item 1 a freight price of 2 Euro and item 2, 3 Euro -> giving us a total freight of 5 Euro.
    The system should see that the total freight of the 2 items does not reach the minimum freight price and automatically use the minimum price instead.
    I have been looking at the possibility to use 2 separate condition types (since the minimum should be a fixed price), or maybe it is possible to solve this through a user exit somehow? Has anyone seen this type of problem before?
    Any input and thoughts would be highly appreciated.
    Regards,
    /Dan

    Hi Dan
    For the 1st  query , maintain access sequence and assign it to the condition type and maintain condition record for that freight condition type
    For your 2nd query , in V/06 change the calculation type of the freight condition type to gross weight /Net weight
    But as  issue is concerned   in VK12 maintain minimum & maximum values. So if the Minimum value reaches then only the condition type triggers
    So in your pricing procedure say you have a 2 freight condition types of  ZXXX & YXXX . So assign minimum & maximum order values in VK12 for ZXXX condition type . And if its maximum value exceeds then YXXX condition type should trigger.
    Regards
    Srinath

  • Urgent- Wrong profit centre for service tax codr in MIRO

    Hi FI gurus,
    I am posting miro for which sales tax code is defined. This code is taking wrong profit center. There are profit centre for each factory location. So when entry is for particular location the tax should go to that profit centre.
    Please guide me how we can post to correct profit centre the tax amount, when the profit center is at each factory level.
    Helpful answers will be duly rewarded
    Thanks & Regards

    Hi,
    Check the tax  code attach or the acount automatically which is taking the profit centre in entry
    Warm Regards

  • How to close automatically sales order with open items ?

    Hi,
    There is a request from a client:
    he would like to be able to close the open items of a sales order which are not billed automatically according to a specific calendar. Moreover he would like to specify that ,generally speaking, the customer does not want to be delivered another time if there are leftovers in the sales order.
    I read in other posting that manually you can close open items in a sales order by adding a reason of rejection for the line item. Nevertheless, I do have one question about that. Imagine we only have one line of 100 pieces and we only deviver 90 pieces. When we put a reason of rejection in the sales order item of 100 quantity, what exactly will happen? How the system will know it only has to reject the 10 non delivered pieces and not the 100 pieces mentionned in the line item ? I also read that the price would change to zero but how can this be correct if we have 90 pieces to bill ?
    Thanks a lot for all your answers.
    Stéphanie

    Dear Stephanie,
    the reason for rejection change the status of the item itself to completed and it move the item from "active to be processed" to a simply statistical status.
    In the scenario you mentioned, as the reason for rejection is applied to the full item, you will set the full item as statistical, but your 90 pieces will continue being delivered and even eventually invoiced.
    Some discrepancies you may find only running some statistical reports, where also the net values information would not be in line as per your expectation.
    In order to prevent this discrepancy issue, I would advice you to contact a good abaper and develop a program that may massively rejects open items with not confirmed quantities, creating a new item for the open quantity if the sales line is partially confirmed.
    It means that, in your scenario:
    Order A > Item 1 for 100 pieces
                               > only 90 pieces delivered & invoiced
                               > 10 pieces open
    the result would be the following:
    Order A > Item 1 for 90 pieces
                               > 90 pieces delivered & invoiced
                  > Item 2 for 10 pieces rejected
    In this way you keep under control any report you may generate out of your sales and you can set as statistical items only quantities not processed further.
    I hope this explanation may help you.
    For any additional information on the reason for rejection I would remind you to SAP documentation and if you have the possibility to try to customize ans set your system with reason for rejection in order to discover directly with your eyes how these work.
    Regards,

  • How-to extend the Sales Order with the Project ID?

    Hello ByD Community,
    My problem is the following:
    I want to add an extension field to the Sales Order Header, which would be the Project ID assigned to this Sales Order.
    My use case only involve one Project ID per Sales Order, and the task will be the same from a Line Item to another. So I can only use the GetFirst() to retrieve only the first Line Item.
    Past week, I asked a similar question for the Purchase Orders and I succeeded to do it after a hint from Dan!
    As for the Purchase Order, I thought the Project Assignment was built through the SalesOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectReference, but it seems that it is different.
    So as soon as I try to check if this Association IsSet() it just returns me that it is not!
    I succeeded to bluntly push the TaskUUID in my Extension field for testing purpose, without any check and verification, but not the Project ID neither with good validations.
    I also tried to see with the SalesItem Association instead of the Item Node, but it is the same. Any time I try a different check it returns me the N/A for my field, which is my last condition if the association is not set! What is driving me crazy is that you have the Project ID is shown on the top of the Sales Order, but I just cannot find how to retrieve it in the Studio!!!
    Here is my sample code in my After-Modify event (I also tried with a On-Save) where the ProjectIDSalesOrder is my extension field in the Cloud Solution:
    import ABSL;
    if (this.Item.GetFirst().ItemAccountingCodingBlockDistribution.IsSet())
      if (this.SalesItem.GetFirst().ItemProduct.ProductCategoryHierarchyProductCategoryIDKey.ProductCategoryInternalID.Matches("130"))
           this.ProjectIDSalesOrder = this.SalesItem.GetFirst().ItemServiceTerms.ProjectTaskUUID.content.ToString();
         /*what I need actually is : this.ProjectIDSalesOrder =      this.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.GetFirst().ProjectReference.ProjectID.content;*/
      else {this.ProjectIDSalesOrder = "No project assigned";}
    else {this.ProjectIDSalesOrder = "N/A";}
    If anybody could help me on this, it would be greatly appreciated.
    Thank you community!
    Best regards.
    Jacques-Antoine

    Hello all,
    To follow up on this issue, I found that a QueryByElements is available in the SalesOrderOverview node. And we can Query the SalesOrder by ProjectID.
    Fine! However, we cannot retrieve the ProjectID. It is never proposed as a result in the Query. We can query againt a ProjectID but not retrieve it.
    As the ItemAccountingblockDistribution association seems to never be set, we can't retrieve the ProjectID from it neither.
    I will post an incident to see if the ProjectID can be released as an entity in the SalesOrderOverview. QueryByElements results, so as to be able to use it.
    Thanks for your attention.
    Jacques-Antoine

  • How to update multiple Sales Orders with one IDOC using IDOC_INPUT_ORDCHG

    Hi Gurus,
    Here's my scenario:
    Consider there are 2 Sales Orders for same Purchase Order -
    Open Quantity
    Sales Order 1
    Article A1
    1
    Sales Order 2
    Article A2
    1
    Say if I want to change Open Quantity of both SO 1 & SO2 by dispatching 1 Quantity each for Article A1 and A2 via ORDCHG, observed that in Include LVEDBF0N, XVBAK-VBELN is checked for only 1 Sales Order.
    Whether it is possible to update multiple SOs with one IDOC using IDOC_INPUT_ORDCHG?

    Hi,
    Check out this link, this deals with the problem you are facing.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • How to create a Sales Order with external number using BAPI

    Hi People,
    I am wonderning how to create Sales order using external number range by BAPI (SALESORDER_CREATEFROMDAT202).
    I tried search but could not succeed in finding the solution.
    Please share if anyone has some info.
    Thanks in advance.
    Regards,
    Praveen

    As per my understanding, the BAPI
    SALESORDER_CREATEFROMDAT202
    mentioned by you, is not BAPI. In fact, that is basic IDoc Type.  For processing an Inbound IDoc, we use FM IDOC_INPUT_ORDERS.
    If you want to create sales order other than IDoc, refer FM BAPI_SALESORDER_CREATEFROMDAT2. There you can provide external sales order no in SALESDOCUMENTIN. In addition to that check whether your sales doc type is relevant for external number range or not. If yes. then make sure you are providing external number according to the number range maintained.
    If you still have any concerns, please revert back.
    Thanks, JP

  • How to create a Sales order with ref. with serial number using BAPI

    Hi Gurus...
    I have a requirement where,  i need to create an order with reference to serial number using a BAPI.
    The inputs will be the Order type..Sales area..Sales office..Sales group..Sold-To-party..Material number...Serial number...
    When i create the order using VA01 the configuration data will be automatically copied from the BUMP order which will have all the required information.
    But to create using a BAPI, i am struck ed..Please help
    Thanks in advance..
    Srinu

    You can use this BAPI.
    You can pass ITM_NUMBER to the ORDER_ITEMS_IN parameter. I think this will act as serial number.
    Regards,
    Murali

  • Create Sales Order with reference to Quote for different customer

    HI Expert
    Any idea how I may be able to do this?
    Create Sales Order - for Customer B (VA01) with reference to a completed Quote for Customer A. While keeping the line items, quantity and pricing exactly the same.
    Quote - Customer A -
    >  Sales Order - Customer B
    Any suggestion will be greatly appreciated.
    Thanks

    HI
    Go toT-Code VTAA , IN Header Level "Copy Requirements" Field Maintain Routine "002"
    Go to VA01 , Enter the Order Type and press Enter and Enter the Sold to party , after that Sales Documents --> Create with Reference
    Regards,
    Prasanna

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • Sales Order with different Profit Center

    Hi All Experts,
       In material master, i was created profit center PBB2K for part A but it is showing different profit center when sales order created
       Please kindly advise why different profit center show in sales order?
       Thanks
    Regards,
    shirley

    Hi ,
    check 0KEM for any sales order substitution for profit center.
    In genreral the material master profit center defaults to profit center , But at sales order you can change the profit center other wise check 0KEM
    If helpful asign points.
    regards
    Prabhat

  • Change open sales order with new condition schema

    Hi SD Experts,
    I have to change condition type on condition schema. For example, now we have ZPVI (Discount %). I have to change with ZPFI (Discount %). But we have some open sales orders with old schema. Can I correct old sales orders with new condition schema? Is it possible?
    Thank you.
    Gulay Celik

    >
    Shai Sinai wrote:
    > 3) The item categories of document items are assigned to billing plan types. This customization does create separate billing plan for each item, but the billing plans of item are refrenced to the header billing plan (according database field FPLA-RFPLN and screen field RV60F-KFREL), what  means that item's values are not taken into consideration.
    >
    In this case it is obvious that it's not possible to have an item on the same document, which would have a billing plan different from the header. Unless, of course, you are ready to change the existing configuration or create a new item category, which would be independent from the header billing plan.
    If, despite configuration, such entry is possible in VA41/VA42, then you'll have to use BDC instead of BAPI. Unfortunately, BAPIs do not have all the same functionality that might be available in the transaction.

Maybe you are looking for

  • Keynote into powerpoint?

    I have a presentation to give in a class that is due in a few weeks and I will be making it on Keynote on my Macbook. I will need to transfer the file onto a flash drive and open it on my teachers computer. My teachers computer is a PC and I would ha

  • How do I change default email in I Photo

    I have 2 email accounts on laptop. I photo keeps defaulting to the wrong one. How do I change which email it uses to email photos? Thanks

  • JSF commandLink

    Hi all! I'm new to JSF and I'm working on my first proj. so pardon me for asking simple questions... I have commanLinks as follows: <h:dataTable value="#{pe.persons}" var="person"> <h:column> <h:form> <h:commandLink action="#{pi.info}"> <f:param valu

  • Export-import if database is down

    I had a query whether we can run the export and the import process if the database is down. Basically export process is the command, 'exp'. So, would this command run even if the database is down. Even, import command is run with command, 'imp', so,

  • Is there a know issue with loading the Google Toolbar on version 4.0.1.

    I recently loaded 4.0.1 and cant get my Google toolbar to work. I load it and it is fine. When I close and restart Firefox the toolbar is not there. There is a place for it and when I right click on the menu bar it is checked as if it I should see it