KE27 Revaluation of COPA in case of 2 sales orders

Hi,
in our brazilian company, we have several processes that include 2 or 3
sales orders; according to the recommandation in help.sap.com library
Brazil:
SD u2013 Nota Fiscal Integration in SD u2013 Nota Fiscal Customizing in SD u2013
Future Delivery
=> e.g. Recommendation for Future Delivery Process: Create 2 sales
orders (VEF and VEFR)
If we try to run KE27 for an invoice, the actual revaluation is 0.
The reason is that the actual valuation of material ledger (for example
in transaction CKM3N) is connected to the first sales order, but the invoice is triggered by the second sales order.
It looks like KE27 is not able to read the valuation of the second
sales order.
How can the COPA document of this invoice be revaluated to actual costs
using KE27? Or is there another way to revaluate this?
thanks for your help - br,
Wolfgang Steinhart

Solved myself

Similar Messages

  • Preventing update to COPA tables for a particular Sales order type

    Hi ,
    We need to have incoming sales order transfer to COPA activated only for one particular sales order type activated.
    Earlier we implemented note 571697  for user exit to allow COPA update only for particular sales order type.
    This prevented the transfer of SO to actuals table, but off late the performance for VA01 and VA02 has decreased substantially.
    Upon checking, we found this is happening because of other CE4XXXX tables (excluding CE1XXXX) which are getting updated during creation/ change of SO. as the data in these tables is huge .
    If possible, please advise, right userexit to prevent update to these tables.
    Thanks.
    Neeraj

    Thanks for your inputs..I have few more queries on same.
    Initially we had incoming sales order activated in KEKF allong with implemented SAP note 571697, which helped us to update CE1XXXX only for a particular sales order type. This was initial requirement to have system updating COPA values only for one particular sales order type.Also, KEQ3 was also activated which resulted in updates to CE4XXXX. This was not a problem initially since we had few sales orders now that plant has grown old with more sales order (resulting in huge size of CE4XXXX) VA01 is impacted..
    Currently ,since we have KEQ3 activated so, Segment is created the moment we create sales order.. and table CE4XXXX is updated..
    As most of you have suggested to switch off sales order in KEQ3, i need to analyze the impact of this..
    From what i understand CE1XXXX will continue with updation for that order type... and CE4XXXX won't be updated in future..Please correct me if i am wrong..
    Also, please advise what all can be possible impacts on COPA reporting if I switch off from now onwards (client has been using this since long) , and what all should be the precautions that i should take while doing this.
    Thanks

  • COPA - Flow of values for Sales Order

    Team,
    We follow the process of creating an Inquiry and sales Order leading to billing. Values were flowing from Sales order properly when we were not creating the Inquiry. Now when the Inquiry is created , SO values are not flowing. When we run the post processing for transfer of values COPA says error message says " Create a Sales Order " for the inquiries which do not have SO. Where the SO's have been created - system says its duplicate and cannot be posted.
    Bottomline - SO values are not flowing to COPA.
    Please advise...
    Cheers
    Kartik

    Hi Karthik,
    I gues you are getting error KF755 in your process.
    Please first check the Long Text of error message KF 755:
    Sales document "" was not transferred to Profitability Analysis (CO-PA)  because it is not relevant for the analyses in CO-PA.
    This can be due to one of the following reasons (among others):
    - The document type is not profit-related, such as an inquiry.
    - The sales document shows zero for the quantity.
    - The sales document has been denied.
    - The sales document is locked due to credit reasons.'
    Please also check the attached notes 592231 and in particular note 20254.
    In case of make-to-order process the invoice will be assigned to the sales order and will not be directly transferred to COPA. With the order settlement the costs and the revenues (invoice) will then be posten to COPA.
    That means that in this case CO-PA is not updated during invoicing but via transaction VA88 for the sales order linked to it.
    You can check this if you look at table VBAP (for the relevant sales order). If the field KZVBR is set to 'E' the invoice belongs to an make-to-order process.
    Best Regards,
    Abhisek Patnaik

  • CCS Details are not getting updated to COPA in Sales Order Settlement(VA88)

    Dear Experts,
    Our scenario is MTO with valuated material.
    1. Production order is tagged to Sales Order.
    2. Production order is settled to Material and variance is getting posted to COPA.
    3. At the time of Delivery, COGS Debit (Cost Object- Sales Order), Credit - Inventory.
    4. At the time of Billing, Accounting Document is getting generated, COPA document is not getting generated.
    5. We  are not executing WIP. (as per Business process)
    6. Settlement is done thru transaction code VA88. COPA Document is getting generated.
    I am facing the following issues in the above MTO process.
    1. At time of sales order settlement thru VA88, In COPA, only COGS is getting as updated with one value field i.e. Material Cost.  Cost Component data (Material Depreciation, Labor etc..) is not getting updated to COPA.
    2. When I settle the Sales Order thru VA88, Billing Quantity is not getting updated to COPA though Quantity field mapping is done properly.
    Please help me how to resolve the above issues.
    Note: Same Cost Component Structure, we are using for Make to Stock scenario. Cost Component Data is getting updated Properly to COPA  (at the time of Billing)
    Regards,
    vgl
    Edited by: vglokam on Aug 31, 2010 10:52 AM
    Edited by: vglokam on Aug 31, 2010 10:54 AM

    Hi
    1. CCS (Cost Comp Split) wont be updated to COPA if you settle via sale order.. In sale order, COGS cost element is posted.. the same will get settled to COPA as one single value...
    In MTS, the CCS gets updated to COPA upon billing because of the "valuation" strategy customization... Billing posts to COPA in that case, COPA gets Sales Qty and it is valuated with CCS to give you the break up.. But, in your case, Billing is not posting to COPA, but to sales order.. hence, there is no qty flow into COPA upon billing.. thats why you dont get CCS for MTO
    2. The sales qty should be updated to COPA upon VA88.. For this, make the following settings in your PA transfer structure which is used during VA88
    1. Go to KEI1, Select your PA transfer structure...
    2. Add an assignment line in it... Check on "Qty Billed/Delivered" in the assignment line
    3. In the Tab "Value Field" below "source", assign Qty Field
    Now when you settle, it should update qty as well
    regards
    Ajay M

  • COPA - Multiple Sales Order with one wbs element.  COPA does not reference

    COPA - Multiple Sales Order with one wbs element.  COPA does not reference of reference of sales order.
    Hi All
    Currently we are in process of implementation of project related to Club Service for one of the client.
    Concept of this project is - there is "X" company engaged in supporting the different shared services for their client e.g. Client IBM - Shared Support Services of IBM is
    u2022     IDM
    u2022     Software Installation
    u2022     Help Desk
    u2022     Maintenance
    Co.. "X' is performing these services for IBM.    So for Co. "X" - IBM is one engagement. Like this way Co. X is performing such activities for many companies e.g. microsoft, HP, ABN AMRO etc.
    Objective - Get the consolidate report from COPA (Customer wise/services wise/sales order wise e.g. IBM/HelpDesk/10002/10).
    We propose a solution to create a project for each engagement and with WBS element. Each WBS element of different services e.g.
    Project IBM Inc.  100.100
    WBS Element    100.100.IDM 
    WBS Element    100.100.SoftIns
    WBS Element    100.100.HelpDesk
    WBS Element    100.100.Maintainance
    For this engagement (IBM), we are creating a sales order with line items (for services) and account assignment is WBS element.  In a sales order, there may be two lines for one services.   In a particular period, there are many such sales orders for this engagement... Milestone billing/period billing is used depending upon the services rendered.
    Now Cost Object will be WBS Element. So cost and revenue will posted to WBS and from this it goes to COPA.  In a month of May 2009 two - sales order is booked with three different line items with account assignment is WBS element.
    Sales Order Line Item No.....Item                  Account Assignment                      Revenue
    10000          100     IDM      100.100.IDM              1000
    10000          200     HELPDESK      100.100.HelpDesk              2000
    10000          100     Maintenance      100.100.Maintainance         3000
    Another Sales order booked with two different line items
    10000          100      IDM     100.100.IDM          3000
    10000          200      HELPDESK     100.100.HelpDesk          4000
    Cost will be booked directly against WBS element.
    In sales order level, there is no profitability segment, as cost object is WBS element.
    Billing, revenue will be posted directly to wbs element, from this revenue and cost of sales goes to COPA.
    Now in COPA,
    1.There is only one line for WBS element ex. 100.100.IDM with revenue 4000 (combing both the sales order)
    2.There is only one line for WBS element ex. 100.100.HelpDesk with revenue 6000 (combing both the sales order)
    3.There is only one line for WBS element ex. 100.100.Maintainance with revenue 4000
    In above case 1 & 2 we will not have reference of sales order and sales order line item in COPA table. There is only one line for this.  So we can not have reporting to sales order level.
    Is there any way by this the reference of sales order and sales order line will come in COPA for case 1 & 2.
    Please help in this issue.
    Regards
    Abhay Dev
    Ph:- 91-22-67782229
    Cell:- 91-9819175185

    Hi,
    For these case (multiple materials with different characteristics); have you consider going to next level of WBS Elements. Meaning; lets say currently you are assigning WBS "Engineering (which is a level 2 WBS)" to all the items in SO. Instead under "Engineering" create 2 or 3 level 3 WBS Elements as E1, E2 etc and assign them 1:1 to your sales order line items. This would eliminate the exit as welll as complex development option. And also will let you get all the data in COPA and in turn you can pull to BW as well for reporting. Just a thought.
    Regards
    Sreekanth

  • Sales order qty not updated in copa

    Hi Gurus,
    My client has activated Costing based COPA.
    We have activated Incoming sales orders with option
    Transfer with date of deliery/scheduled billing date.
    When We are posting sales order we are able to see a copa document with record type A.
    In that document we want to see the Sales order quantity or delivery quantity, delivery date fileds.Please let me know what all the value fields We need to assign.
    Do I need to write any derivation rule for incoming sales arders also.
    we are able to capture the  total price, material etc from the sales order in COPA document.We need only sales order qty or Delivery qty or delivery date to be updated in COPA document.
    Please suggest me
    Regards
    Chaitanya

    Hi Chait,
    Pl check whether your client has assigned SD Qty Fields to COPA Quantity fields in KE4M. Sd quantity fields are FKIMG- Billed Quantity, KWMENG-Order Quantity and the same shall be assigned to ABSMG-Sales Quantity. If not, please maintain the same. Otherwise, we need to look for some other work around solution.
    Trust this resolve your problem!
    Cheers!

  • Incoming Sales Order to COPA

    Hello,
    If we activate Incoming Sales Order scenario in COPA, then it creates a COPA document when sales order is created or changed.
    1. What happens when it is billed, does it creates one more COPA document with new record type F, and also retains the older one with record type A
    2. Also we need to activate for a given SALES ORDER TYPE, which will be like 3-5% of total sales orders that will be created, if not, it will create COPA documents for all other SALES ORDER TYPES as well, when the order is created, which is not required, and will lead to huge redundancy in data...How can i achieve this?
    Cheers
    Balla

    Hi Ajay,
    your suggestion (BAPI_COPAACTUALS_POSTCOSTDATA,..) sounds interesting.
    As per now, I never had the requirement to transfer "some" incoming sales orders to CO-PA and others not.
    From my point of view due to the fact that the record type "A" posting never gets "reversed" if the sales order is billed or cancelled there is only limited additional value if the incoming sales order transfer to CO-PA is activated.
    BR Christian

  • CC transfer order = posting as 'sales order' to COPA of sending plant (CC)

    Dear all,
    we are using cross company transfer orders for tranferring stock from plant A (belonging to CC A) to plant B (belonging to CC B). Therefore the purchaser of B enters a purchase order for vendor A (assigned to plant A in the vendor master data). In the material requirements lists of plant A we see the requirements from this purchase order. Based on the purchase order, a delivery is created for delivering from plant A, followed by an intercompany invoice. The intercompany invoice data are sent to COPA of operating concern A & controlling area A.
    Our SCM department (belonging to plant A) does part of the planning based on COPA reports, in which the sales orders to external customers are included. However we would also like to include the requirements (including values) triggered by the purchase orders from B. Does anyone know whether, and how this is possible in standard SAP. Or does anyone have an idea, how we could set this up?
    Thanks in advance.
    Kind regards,
    Mireille Velthuijse

    Hi Ankur
    It cant happen that copa doc is not posted when PSG is specified in the the settlement rule
    As regards Val Strategy, you should assign Val Str 001 to record type C and PV=01
    br, Ajay M

  • KE27 Trasfer to COPA

    Hi Gurus,
    After closing Material ledger closing, once revaluation done through KE27 to COPA, the value is not matching with Material ledger.
    One FG with reference to the sales order i am getting variance value  in material ledger which is not matching while doing KE27 to COPA.
    Kindly advise the  settings or the flow.
    Thanks.
    S.Siva.

    Hi,
    Thanks for your input, i did the same settings. After completion of CKMLCP, then i am looking CKME for the FG Item with referece to the Sales order. It has revalaution of  consumption i.e variance from the prodcution order. The same value is not updating after running in KE27.
    Is there anytihing need to do.
    Immediate response is highly appriciated.
    Thanks.
    S.Siva.

  • Revaluation in stock transfer to Sales Order stock from unrestricted

    User is trying to do a stock transfer posting from unrestricted to Sales order stock.  Now the system is throwing an error saying that account setting has not been done for UMB (OBYC setting).  I have given the GL for this UMB transaction type in OBYC>  UMB is for posting Gain/Loss from revaluation.
    I dont understand how a revauation happens when we transfer stock from unrestricted to Sales Order Stock ?  What is the purpose of that in our scenario, could you please explain.

    Hi:
            Normally it should not happen in case of stock transfer posting. Please check the movement type settings for valuation class of your material and see if the transaction type UMB has been set against valuation class in OMJJ...Account grouping.
    Hope it will help you.
    Regards

  • Incoming orders in COPA not working if Sales Order blocked for Credit Check

    Hi all,
    We need to build a report showing all incoming sales order by entry date and/or change date (change of values or quantities later on). COPA allows to do this, but the problem is that COPA line item table is only updated if the sales order is released from credit check (VKM3). I am looking for a solution to be able to record sales orders in COPA even if they are still blocked for credit check. By doing that we will be able to report all sales orders entered from COPA and provide basis for commissions calculation to the business.
    I have investigated possible COPA enhancements like COPA0005 but it doesn't seem to be used at the time of sales order save.
    Thanks.

    Hello ,
    Thanks for the reply
    As you said , the credit check in the service order is information message "Credit check (maximum percentage for ope
    exceeded)" .
    If you enter and come out this message then one more message will come , i.e., "The business transaction can not be carried out" detail message -  System status CNOK is active (ORD XXXXXXX).
    with the above message , system will not allow to do the Service order release.
    In this particular case , we have done the VKM1 for the sales order to unblock the order from credit check . But again system is checking the credit check at service order (created w.r.t sales order) . we are not able to control this .
    we also suggested the solution to the customer , saying removal of credit check for service orders . But customer requires credit check to happen at both the documents.

  • Want to add number of sales orders in a COPA report or form

    Hi All
    I created a COPA report that has two columns: sales from sales orders & sales from billing documents. Now I want to add columns which shows number of sales orders that make up sales. Can any one explain me , how can we acheive this  With a user exit, .
    thanks in advance for looking into this

    Hi Steve,
    Walter is very right in saying so.
    In SD module itself you can get some reports like this.
    Even in COPA you will get these kind reports.  But if your company is a big company and have lots of sales orders,
    Then you will have serious problems with System performance issue. 
    When you define that sale order is a segment level character, then system will ear up the resources and take very long time in executing the reports.
    But for some reason this requirement is a must case, then it is very simple
    you define Sale order in either form or report,
    then give the variable parameters like Co.Code, Period etc. you will get all the sales orders details for the selected period
    But think about not going for it before you make up your mind
    Best Regards
    Surya

  • Custom vendor,freight vendor in case of import purchase order

    Hi all,
    I make the purchase order for imported goods and provide the insurance vendor,custom vendor & clearing charges vendor in PO itself. But when i was go for MIRO for planned delivery cose system show me message as:
    Different invoicing party 1000055 planned for del. costs item in PO
    4500000280
        Message no. M8287
    Diagnosis
        You entered an invoice for delivery costs.
        In a delivery costs item for purchase order 4500000280, the invoicing
        party is 1000055. You are now posting the invoice to 1000040. This can
        be for one of two reasons:
        o   You entered 4500000280 in the field Purchase order, and 1000040 in
            the field Invoicing party.
        o   You entered a multiple allocation. The first item refers to a
            purchase order with invoicing party 1000040. Another item refers to
            purchase order 4500000280. The system copies the invoicing party
            from the first delivery costs item to all items, in this case
    Note:
    The category of this message can be changed in Customizing for Invoice
    Verification. This means that you can receive a message as an error
    message even though it is defined as a warning message in the standard
    system.
    The following documentation deals with the case applicable to the
    standard system only.
    cedure
    Check your entries and make any necessary corrections.
    If you want to allow delivery costs with different invoicing parties to
    be selected, change the system message to W in Customizing. To do this,
    you work through the step Define Attributes of System Messages in the
    Implementation Guide for Invoice Verification.
    The message is set as an error message in the standard system. In this
    case, the delivery costs are not selected.
    regards,
    dinesh

    Import Vendor return is like re export from business point of view.
    You can follow export sales process in sap.
    What i suggest is for example if it is raw material you can create a bom with parent material as X-01,child material as Y what
    you are returning to vendor.
    Note: Create parent material as HALB with sales view & accounting view with valuation of raw material.
    Do production goods receipt,it willl bring stock to parent material.
    Create customer for vendor.
    Adopt export sales process,create a sales order,delivery,billing,invoice,excise invoice,ARE1.
    Note : Discuss with FI consultant/core team take care of accounting effects in billing.
    Clear balances for customer or vendor using F-53 or F-58.
    Note : You need to tell excise/submit documents telling it is not actual export.
    or
    If you opt for purchasing route,then there is lot of customs formalities to be completed & also need to pay duties taken credit,depends on value of goods if it is high, you can opt for import vendor returns or ask vendor for debit memo which will be adjusted with future purchases against same vendor
    I also asked same question in forum, refer link for solution [ Import material - Vendor returned(Indian scenario)  |Import material - Vendor returned(Indian scenario);

  • Account-based COPA and having Cost Center as Real Object in Sales Order

    Hi,
    We have recently activated account-based COPA and in our SO, we realized the Profitability Segment being populated- that is not a problem in normal scenarios.
    However, in some cases, we would like to charge to a cost center instead of COPA. We have tried the 2 ways mentioned in the forum/on the web to include Cost Center in Sales Order:
    1. Go to OVF3 t-code and configure a default cost center for the order reason
    2. Change the SD Document Category under 'Define Sales Document Types' to 'I- Order w/o charge'.
    However both ways only open the Cost center field but still populates the COPA. At accounting entries, cost center will become a statistical object and COPA, the real object- which is not what we want.
    Is there a way to stop the auto-populating of Profitabiltiy Segment in SO when cost center is being entered?
    Thanks very much in advance for any suggestions.
    Regards,
    Huimin

    Solved by myself, with help of OSS Note: 44381 - Profitability Segment Not Required in SD Postings. Have a CO substitution rule to clear away the Profitability Segment number based on certain conditions. Thanks!

  • COPA update of KAUFN with purchase order number

    Hello
    After SAP upgrade from 6.00 to 6.04 the purchase order is no longer displayed/saved in field KAUFN and KDPOS in the profitability document. So far this functionality has worked perfectly for stock transfer orders.
    I have search for SAP notes without success - hopefully someone can help me :o)
    Thank you in advance!
    BR
    Søren Kirch

    Hi,
       During the upgrade note 321099 would have become part of the standard
    1.) note 321099 avoids that the AUBEL will be transfered to COPA as sales order number in case of a business transaction where AUBEL is NOT the sales order (e.g. if it is a purchase order)
    This will avoid an error message when you display a COPA document which contains such an "unvalid" sales order number.
    2.) You set back this logic in exit USEREXIT_PRICING_PREPARE_TKOMP in include RV60AFZZ by the lines
      if tkomp-aubel is initial.
         tkomp-aubel = xvbrp-aubel.
         tkomp-aupos = xvbrp-aupos.
      endif.
    This will copy the field AUBEL always to COPA as sales order number (KAUFN).
    regards
    Waman

Maybe you are looking for

  • Oracle 8i communicate with oracle 9i

    I'm planning to do data purging which transfer some old data in date range from oracle 8i to oracle 9i and then delete the old in oracle 8i. as i know, to communicate between database in same server, we need to use "Database Link" but if communicate

  • Since iOS5 upgrade, I have a lot of sync errors

    Hello all, I really need help here. Here is the story. 1. Plugged in my iPhone to upgrade to iOS5. 2. I did a backup first and everything went ok 3. I click on update and the process started and everything went fine until... For some reason, when the

  • USB Mouse Draining Too Much Power

    I have a 22" Cinema Display and I keep my USB Power Mac Mouse attached to the USB port in the back, but now both ports give the error message that the "USB Device" requires too much power. I can plug it into the keyboard and it works fine, does anyon

  • Image field on acrobat professional x.

    I'm trying to create an image field in a form that i've already done. Javascript action isn't working at all. Any suggestions? How can i do that? Or i really MUST HAVE acrobat livecycle designer, a windows software, from more than 4 years ago because

  • Cascading (dependent) parameters and REP_UTIL.PLL bug

    Using Report 10gR2, I found a bug in the REP_UTIL.PLL library that is found at: http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/tools/index.html The Parameter_Cascade.Define function is supposed to handle the master plus 3