Costing component allocation to CO-PA value field via SD invoicing

Hi experts,
Somewhere a setting must be made that allocates costing component amount to CO-PA value fields.
I.e. this takes place when the CO-PA document is created belonging to the order/invoice created in SD.
Will appreciate to learn a transaction code where this setting is made.
BR,
Niclas

Hi,
costing-based CO-PA:
all values from billing documents flow to CO-PA based on KE4I T-code, quantities based on KE4M. If its necessary to reset some of the transferred values this can be done depending on the billing type using KE4W.
All other values that are posted with a PAOBJNR as cost object (=direct postings) are processed by mapping the cost element number to a value field in T-code KEI2.
Other values are settled to CO-PA by different settlement transactions (KEU5, KO88,...)
Best regards, Christian

Similar Messages

  • How to get elements in a multi-value field via javascript?

    The following will set variables.variable1 to variables.variable2 when the "Script Link" component is clicked...
    <Field>
    <Display class='Javascript'>
    <String>
    function myScript() {
    el=getElement(document.mainform,"variables.variable1");
    el2=getElement(document.mainform,"variables.variable2");
    el.value=el2.value;
    </String>
    </Display>
    </Field>
    <Field name='Script Link'>
    <Display class='Link'>
    <Property name='URL'>
    <String>javascript:myScript();submitCommand(document.mainform,%20'Recalculate');</String>
    </Property>
    </Display>
    </Field>
    My issue is, if variables.variabl2 is a list / multivalued, i get errors trying to traverse through the "array".
    How can i read and set an a list element via javascript function above? I've tried things like get() , and variables.variable2[0] .
    any help would be appreciated....
    is there an API somewhere i can reference?

    Hi,
    thanks for your reply!
    If I have the parameters in the URL and use the method GET it works all right.
    but I need the method to be POST. I suppose, I have the wrong way identifying the parameter name
    This is from VB
    varTarget = "http://localhost:9090/gm/getData" ' getData is my servlet
    xmlSendStr = "SQLStmt=SELECT TCPD_Cars.* From TCPD_Cars WHERE (((TCPD_Cars.CarIdent)=45));"
        xmlHttp.Open "POST", varTarget, True   'True means asynchronous
        xmlHttp.Send xmlSendStrthis is part of my Servlet
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter writer  = response.getWriter();
              String SQLStmt = request.getParameter("SQLStmt") ;
            //make the database query and get the returns
            writer.println(GetSQLData(SQLStmt));
            //close the write
            writer.close();                    
         }I would appreciate any suggestions

  • Value field from Manual Invoice FI

    Hi experts,
    Is it possible to create a value field to record the quantity of the materials sold through manual invoice of FI?
    Well, there are some materials which won't be sold via SO in our system, and hence when it is sold, it will be recorded through fb70 of FI. Well, I think there is no problem for the revenue and cogs.
    Thank you very much for your inputs
    Best Regards,
    Erwin

    Hi,
    I am so glad that both of you know each other, =)
    About that user exit, do u mean that i have to write an ABAP code to populate the qty from fb70 into valued field xxxx?
    Is there any way around this? as i am kind of new to user exits, but i am willing to learn
    However, if there is any standard way, i would try that first
    And Ajay, I have to thank you too, you have supported me since i was very new.
    If you remember the first time i post here, that was the very first time i started.
    Once again,  thank you
    Best Regards,
    Erwin Hartono

  • Value Field not fetching the data

    Dear COPA Experts,
    There has been an addition to the cost component structure for my current client. The cost component has been created and CK11n is showing the correct data for the correct cost component. I had to add value fields to my current COPA report to reflect the figures from the cost component. For that, I had created and activated the Value Fields in KEA6 and assigned it to the Operating concern in KEA0 and activated it. Then, I had assigned the value fields to the cost component structure in KE4R. I had then added the value field in the COPA form through KE95.
    When a new cycle is completed, It does not reflect the valuation in KE30 report. I had crossed checked in KE24 which is a standard report. The result in KE24 and KE30 report is same, i.e the valuation is not even reflected in KE24 report.
    Please guide me to where am I missing something?
    Best Regards...

    Hi,
      "When a new cycle is completed, It does not reflect the valuation in KE30 report". This statement is not clear. Are you expecting KEU5 cycles to populate this value field ? Normally this value field should be populated during billing (VF01) when the value of the cost component is populated in the value field.
    regards
    Waman

  • MTO--Cost component transfer to COPA

    Hi Friends,
    I have MTO  with sale order as cost object. It means COPA documnet will be created not at the time of billing but at the time of Sale order settlement. So first i have finished the production order settlement , then sale order settlement. While doing this system is transferring to COPA cogs as  single amount but it has to go cost component wise.
    Please advise me.
    Regards
    Rajesh A

    Hi,
    There is no problem in Cost component. Problem is that for each cost component i am not able to transfer to more than one value field. In my example CASH COST is not a cost compone , its description of the value field.
    Cost componet is Raw materiala ( fixed+ variable ) = i want to transfer to two value field  - 1. Material and 2 .Cash cost.
    But somehow system is updating the value only to the first value field which in this case material but not updating the second value field which Cash cost.
    Regards
    Ranjan

  • CO-PA Cost Component do not match with Standard Cost Component Values

    Dear Members,
    The CO-PA Cost Components (as mapped through KE4R), do not match with Standard Cost Component values for the Group Currency. In local currency the values match.
    System is correctly picking up VPRS value, both in local currency and Group Currency, which is equal to the total of Standard Cost Components however, it is the Value Fields linked to the Standard Cost Components in Group Currency that do not match.
    In KE40, the Indicator is 4:Released Standard Cost Estimate matching Goods issue Date.
    I have verified KEPH/CKMLPKEPH tables. The values are same as that of VPRS.
    Any help/clues?
    Regards
    Satya

    Hi,
    In case of billing documents the group valuation approach is managed in the data structures of the legal valuation in additional value fields. To control costs and revenues in the different views separately, you must create additional value fields and assign them to the data structures.
    The field contents must be filled via the CO-PA user exit, they cannot be entered by assigning conditions to value fields. The profit center valuation is updated in a separate ledger. No separate value fields are necessary.
    The exit to be used is function module 'EXIT_SAPLKEII_002' ( enhancement COPA0005 ). Within the exit you have the complete SD data avaialble in the tables 'T_ACCIT' and 'T_ACCCR'. The conditions can be found in T_ACCIT and the corresponding values ( linked via 'POSNR' ) in table T_ACCCR. The PA line item and the corresponding SD item in table ACCIT
    can be mapped via the line item field 'RPOSN' and the field 'POSNR_SD' in table ACCIT.
    regards
    Waman

  • Impact of Addition of New Value Fields in the existing Op. Concern-COPA

    Hi All,
    Want to know the steps of adding new value fields in the existing operating concern in COPA?
    What is the overall impact of addition of New Value fields in the running Operating Concern?
    How do we test the addition of new value fields?
    Is the addition of New Value fields to the running Operating Concern advisable?
    Your support and advice is highly anticipated and appreciated.
    Thanks & Regards
    9819528669
    Ohter details are as follows...
    VALUE FIELDS : Defines the Structure of your Costs & Revenues. (Op. Concern 120 Value Fields) 
    1)     The client requires three new value fields to be created. Value fields for :
    -     Other Airport Charges - International
    -     Cargo Commission Cost
    -     Personal Cost (Direct)
    2)     What are the Steps involved in creation of new value fields? The steps are :
    1)     Before creating new value field we need to check whether we can use already existing UNUSED value fields (There are 62 value fields created for the op concern 1000, in production the value fields TBUL1-L7 i.e. to be used (I assume) screen shot1 provided. My predecessor has used value field VV291, VV292, VV380 original description being TBUL3, TBUL4, and TBUL1. I believe he has changed the description in development client and created a transport request ref screen shot 2)
    2)     You can create new value field thru T-Code KEA6 (4-5 characters beginning with VV) u2013 My predecessor has reused the value fields originally created he has not created new one I believe. please provide give your comments)
    3)     Specify whether this field is for Currency or Quantity (currency defined in attribute of op concern and quantity defined by its own field u2013 unit of measure) u2013 My predecessor has configured the three value fields as Currency.
    4)     Describe how the values in this field are aggregated over characteristics. (SUM, LAS, AVG) u2013 My predecessor has aggregated all the three value fields as SUM and they are in Active status.
    5)     After the value field is created you have to add the value field (active status only) to the operating concern by Editing the Data Structure. (I guess this is done in the next step)
    6)     Assign newly created Value fields to the Operating Concern u2013 T-Code KEA0 (In development client the value fields are assigned to the op concern 1000 refer screen shot 3. In the production client also those three value fields exist (does it mean they are assigned? your comments please.) As they have the original description TBUL3, TBUL4, and TBUL1 refer screen shot 4.
    7)     After the Data Structure is defined you need to activate them. (creates plan vs actual database) u2013 Go to the data structure tab and Choose Activate. The status in dev client is Active with correct description but in the production client it is Active with the OLD description. After addition of the value field you need to regenerate the operating concern. T-Code KEA0 u2013 right?
    8)     Condition Types are assigned to Value Fields? Donu2019t know u2013 T-Code KE45 (I think this is NOT required in our case u2013 Please give your comments)
    9)     Define and Assign Valuation Strategy u2013 Cost assigned to Value fields u2013 T-Code KE4U (I think this is also NOT required in our case)
    10)     Define PA Transfer Structure for Settlement u2013 T-Code KEI1 (This step is crucial u2013 I think I have to to include newly created value fields, but am not aware how to do it and what is the connectivity or what happens after this is done)
    Note: My predecessor has created a Transport Request No# KEDK902167 for the value fields created by him.
    3)     Whether my predecessor has performed all the steps for value field creation? How to test it and check that?
    4)     If yes then,  Do I need to perform additional configuration or can I proceed to transport it to Production?
    5)     What is COPA Allocation Structure & PA Transfer Structure? Where and Why It is used?
    6)     What are the different methods of cost and revenue allocations in SAP?
    7)     I have checked the status of the value fields across clients, It is as followsu2026
         Value Field     Value Field For     Description     Development      Quality     Production
    1     VV291     Other Airport Charges International     TBUL3     Exists      DNE     DNE
    2     VV292     Cargo Commission Cost     TBUL4     Exists      DNE     DNE
    3     VV380     Personal Cost u2013 Direct     TBUL1     Exists      DNE     DNE
    #DNE : Does Not Exist (assumed since the description given to value field is not the same as in development client.)

    HI sree,
    ofter creation value field and saving that time reqwest number appeare copy the reqwest number and go through the se01 select that reqwest number select and transport click the truck symbole, and draft a mail to basis guyw.
    Thank You!
    Best Regards,
    pradheep.

  • Wrong updation of value fields

    hello,
    In a sales return invoice, the cost is getting updated in value field cost of free goods rather than value field cost .
    Please guide me in this .
    Thanks

    Hi Muscan
    What is the condition type in SD Pricing procedure for Cost during sale return? (Check your Sales Order - Pricing tab)
    See assignment of that cond type to val field in KE4I
    Regards
    Ajay M

  • Cost component with quantity

    Hi SAP Experts
    My client want material actual cost component report not only with value amount, but also with quantity.
    The material ledger was activated, I know using standard function, we can have material actual cost component report with value amount, like Tcode:MLCCSPD,  but cannot find any quantity information.
    Do anyone have the kind of requirement and how to achieve it ?
    If only customer development method, how to do it. thanks a lot!

    I tested the CKMLQS, it only get the current period BOM quantity, cannot trace to origin component quantity.
    for example:
    Previous Period:  material A  Qty 10 -----produce------>  material B Qty 10
    Current Period :  material B  Qty  7 -----produce-------> material C  Qty 7
    Now, Using report:CKMLQS, it only show material B quantity 7 consumed for material C, cannot see the origin component material A consumed quantity.
    I need to trace origin component(the lowest level of BOM) quantity, like amount value report(Tcode:MLCCSPD). 
    Anyone have suggestions? thanks
    Regards
    Robin

  • JComboBox : colors in the selected value field

    I have a JComboBox with a custom ListCellRenderer. However the JComboBox seems to change the colors of the Component that my ListCellRenderer creates when the Component is in the Selected value field. Some code is below...
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    public class ComboBoxTest {
      public static final void main(String[] args) {
        JComboBox cbox;
        Vector elements;
        elements = new Vector();
        elements.add("One");
        elements.add("Two");
        elements.add("Three");
        cbox = new JComboBox(elements);
        cbox.setRenderer(new MyRenderer());
        cbox.setEditable(false);
        JFrame frame = new JFrame();
        JPanel content = (JPanel) frame.getContentPane();
        content.add(cbox);
        frame.pack();
        frame.setVisible(true);
    class MyRenderer implements ListCellRenderer {
      public Component getListCellRendererComponent(
        JList list,
        Object value,
        int index,
        boolean isSelected,
        boolean cellHasFocus)
        String strValue;
        JLabel label;
        strValue = (String) value;
        label = new JLabel("<" + strValue + ">");
        label.setOpaque(true);
        if( isSelected ) {
          label.setForeground(Color.black);
          label.setBackground(Color.green);
        } else {
          label.setForeground(Color.white);
          label.setBackground(Color.black);
        return label;
    }This code simply creates a JComboBox with 3 String values, "One", "Two", and "Three". The renderer creates a JLabel with the String value enclosed in triangle brackets. The renderer also sets the colors of the JLabel to white on black if unselected and black on green if selected.
    When I run this program, the list portion of the JComboBox looks correct, but the entry in the edit field is wrong. It has the enclosing triangle brackets around the selected String, but the colors are still the default black on gray.
    What do I need to do to get the colors in the edit field to display correctly?
    - James

    A JComboBox is similar to a JSpinner in the sense that it has an associated editor that has an associated textfield....check out the link shown below
    http://forum.java.sun.com/thread.jsp?forum=57&thread=385077
    ;o)
    V.V.

  • Material ledger wrong cost component split

    i have change the price detemination from '2' to '3' in the material ledger in period 04/2011.
    now i wont to execute costing run for actual cost in period 10/2010. to do this i have update tables CKMLPRKEKO e CKMLPRKEPH..
    in this mode I don't have error in costing run, but i have a big problem . i don'have a correct cost component split becouse all the value is on row material.
    i give a look to the SAP table and i find table MLAUFKEPH and table MLKEPH that don't have data for period 10/2010.
    someone can help me?
    thank you.
    Your issue is not related to FI but with MM, therefore your thread was moved to MM forum so the experts will be able to help you better.
    FI Moderator.

    I think this table gets updated only during changes to the material price(Accounting View) thats basically price change.
    Once the Material is created, price changes are carried out using MR21.
    Rajeev

  • Is it possible to have Auxiliary Cost Component as Value Fields in COPA

    Respected Gurus,
    Is it possible to have Auxiliary Cost Component as Value Fields in COPA - Please Advise?
    Thanks
    PM

    Hi Praveen ,
    It is possible.. in Transaction KE4R .. we have to specify the cost component structure .. where you map the cost components with value fields..
    Please use your auxiliary Cost Comp Structure in KE4R to achieve your purpose
    Regards
    Sarada

  • Cost Component structure field and table names

    Hey all,
    i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements..
    any idea how to do this??
    i am very new to abap please take it easy on ur answer..
    i coulndt even find in which table and fields these values are stored...
    thank you

    I have an OSS note, it tells you step by step how to config the badi u need.. but does not mention about the logic u ll use.. it is up to you....
    so i need to find the field names and tell take these and post them to these columns...
    i dont know if i make any sence, but this is all i need to do...
    so i have the body i have the logic but i dunno the import and export fields...
    i believe the table is ckmlkeph.... and field that populate the columns are kst0XX, but i cannot see the field name and table name if i select a line in the column and F1 ????

  • Value field in cost element

    Dear Experts,
    I am facing an error after running copa cycle (cost allocation) through keu5.It is showing ''value field is not assigned to cost element this this.How to get the details of warning message showing in red ?
    Regards
    Partha

    Dear,
    Identify the PA settlement structure assigned to Assessment cycle using transaction KEU2 and then check this PA settlement structure in transaction KEI2. Here assign the cost element to the value field for valid assignment.
    Regards,
    Chintan Joshi.

  • Actual cost component values

    Hi
    We are facing an issue that actual cost component values in our system are not calculating correctly. We consider that there might be difference in our understanding regarding the calculation of actual cost component values.
    Therefore I want to understand that how actual cost component values are calculated in SAP Material Ledger. I will appreciate if anyone can elaborate this with example and formula, used for calculation.
    Regards

    Hi Saad,
    Please find below about the actual cost calculation in ML.
    In ML single -level and multi-level material settlements are available. Multilevel price determination calculates the periodic unit price for a material. The standard price, the single-level differences cumulated in the period, the differences between planned and actual prices, as well as input material differences (multilevel differences) are all taken into account.
    The material price calculated in multilevel price determination can be used for inventory valuation.
    The actual price for each material can be updated to the material master for the closed period.
    -During price determination, the system carries out the following calculation: 
    =>Daily Transaction
    1) Purchasing XYZ Qty 20 Std : 10, Actual : 11
       Dr) Stock XYZ 200                   CR) GRIR 220
    Purchase price differ XYZ 20
    2) Purchasing ZYX Qty 20 Std : 20, Actual : 22
       DR) Stock ZYX 400                   CR) GRIR 440
    Purchase price differ ZYX 40
    3) Good issue XYZ Qty 15 Std : 10
       DR) Material cost XYZ 150               CR) Stock XYZ 150
    4) Good issue ZYX Qty 15 Std : 20
       DR) Material cost  ZYX 300               CR) Stock ZYX 300
    5) Good receipt  234 Qty 15  Std : 40
      DR) Stock 234 600                    CR) Clearing 600
    6) Good delivery 234 Qty 10  Std : 40
       DR) Material cost  234 400         CR) Stock 234 400
    7) Good receipt  123 Qty 10 Std : 50
        DR) Stock123 500                    CR) Clearing 500
    8) Good issue  123 Qty 5 Std : 50
       DR) Material cost  123 250         CR) Stock 123 250
    9) Good receipt  ABC Qty 10 Std : 60
        DR) StockABC 600                    CR) Clearing 600
    10) Sold ABC Qty 5 Std 60
        DR) COGS 300                          CR) Stock ABC 300
    => Monthly Material Ledger Closing
    1) Single-level price determination
       DR) Stock XYZ  5 ( Current Stock 5 / Total Purchase Qty 20 *  price difference 20) 
       CR) Purchase price differ XYZ 20
    *Transfer price difference to 234  15 ( Good issue  qty 15 / Total Purchase Qty 20 *  price difference 20)
        DR) Stock ZYX  10 ( Current Stock 5 / Total Purchase Qty 20 *  price difference 40) 
        CR) Purchase price differ ZYX 40
    *Transfer price difference to 234  30 ( Good issue  qty 15 / Total Purchase Qty 20 *  price difference 40)
    2) Multi-level price determination
        DR) Stock234  5 ( Current Stock 5 / Total Good receipt 15 *  price difference 15) 
        CR) Transfer price difference to 234 from XYZ  15
    *Transfer price difference to 123 from 234  10 ( Good issue  qty 10 / Total Good receipt 15
           * price difference 15)
        DR) Stock  234 10 ( Current Stock 5 / Total Good receipt 15 *  price difference 30) 
        CR) Transfer price difference to 234 from ZYX 30
    *Transfer price difference to 123 from 234 20
            ( Good issue  qty 10 / Total Good receipt 15 *  price difference 30)
        DR) Stock 123 15  ( Current Stock 5 / Total Good receipt 10 *  price difference 30) 
        CR) Transfer price difference to 123 from 234 30
    * Transfer price difference to ABC from 123 15
                ( Good issue  qty 5 / Total Good receipt 10 *  price difference 30)
        DR) Stock  ABC 7.5 ( Current Stock 5 / Total Good receipt 10 *  price difference 15) 
        CR) Transfer price difference to ABC from 123 15
    *Not allocated price difference 7.5
                ( Sold qty 5 / Total Good receipt 10 * price difference 15)
    3) consumption revaluation
             DR) COGS ABC 7.5                     
             CR) Not allocated price difference 7.5
    => Current Actual Stock Amount
       1) XYZ Qty : 5 Actual Amount : 55 (actual price : 11)
       2) ZYX Qty : 5 Actual Amount : 110 (actual price : 22)
       3) 234 Qty : 5 Actual Amount : 215 (actual price : 43)
       4) 123 Qty : 5 Actual Amount : 265 (actual price : 53)
       5) ABC Qty : 5 Actual Amount : 307.5 (actual price : 61.5)
    I hope you understand the process of actual cost cal in ML.
    Regards,
    chandu.

Maybe you are looking for

  • My Itunes will not open, please help

    I am running version 10.7.0.21 - since upgrade itunes will not open.  I have visited the support site and done many things to get this working - taken hours of my time I do not have, including setting up a new user and same result. My PC is running W

  • Course material : SQL Programming & Design

    Hello, Monday I have an exam of SQL Programming & Design, witch I followed online on the oracle academy site. Now I see that the website is down! Is there a opportunity to view the course material? Greetz, Dries

  • Portal Implementation with Unicode options on R/3 systems

    Dear All, I have a very specific and unique query. We are implementing ESS, MSS, MBO for our clients, and in the process have upgraded the production servers to R/3 4.7 version ( Non - Unicode ). We're using EP 6.0 as the front for the same . My ques

  • Can you export all the tracks to protools?

    Even the virtual drummer or do you need logic

  • Help: Adobe PDF Convertor Installation Error

    I'm trying to install Adobe Acrobat 3D 8.1 on my Windows XP system. At then end of the installation process I receive the following error: "Warning 20225: Adobe Acrobat 3D setup was unable to create a new item: Adobe PDF Convertor. The Adobe PDF Prin