Error in wip calculation

Dear gurus,
While diong wip calculation system is giving error
+There are values for cost element 50000000 that are not assigned to any line ID**Message no. KJ161+
Diagnosis
Not all values for the cost element are assigned to a line ID.
Procedure
Assign the cost element to a line ID. If you don't want to include the cost element in results analysis, assign it to a line ID of category N.
You can access a detailed list of unassigned cost elements as follows: Start results analysis in the individual processing mode (transaction KKA1, KKA2, or KKA3). Select the field Full log. Execute the function. On the next screen, choose Logs -> Parameter List in the menu. A list is generated. The unassigned values are shown at the end of the list.
+If cost element "++++++++" was shown in the message, this is because in the assignment of costs and revenues to line IDs, you have not used a cost element other than the full masking "++++++++". In this case a presummarization eliminates the information on the cost element.+
What does it mean and what should I do to solve this error
Thanks
Sanket

Hi,
You can find oss notes in the link
https://websmp210.sap-ag.de/
Given below is suggested by oss
Summary
Symptom
When you execute the results analysis or WIP calculation, the system displays the message KJ161 ("There are values for cost element & that are not assigned to any line ID"). In earlier releases, there was only a general information message in this case.
Other terms
KKA1, KKA2, KKA3, KKAI, KKAJ, KKAK, KKAS, KKAV, KKAX, KKAO, work in process.
Reason and Prerequisites
Due to popular customer demand, this general information message was changed into an error message, even if a missing cost element assignment has no effect in some cases.
The cost element specified in the message is intentionally not assigned to any line item ID because the cost element is not to be taken into account.
Solution
For example, you have the following options to eliminate the problem in WIP calculation and results analysis and have the system ignore a cost element:
1. Option
Adjust results analysis Customizing so that the system no longer displays the error message for the cost elements affected.
Create a new line ID.
Assign the cost elements specified in message KJ161 and which you do not want to take into account to this line ID. Consider that the assignment does not depend on the cost element alone.
Add this line ID to the update and assign category 'N'. The system will not take into account the values from line IDs with category 'N' during the results analysis. On the individual processing log, the system displays these values under N(i) and N(p).
2. Option
Adjust the results analysis Customizing so that the system cannot display the error message anymore.
Create a new line ID. It is to function as a remaining collector.
Select category 'N' in Customizing of the assignment if the respective values are to be ignored.
Select category 'D' if the respective values are not to be lost. Then you have the option later, for example, to assign a cost element missing up to now explicitly to another line ID. Then results analysis reposts the affected values in the next run of the remaining collector line ID to the correct line ID.
Assign all remaining cost elements to this line ID. You can do this by adding a wildcard entry in Customizing of the assignment and assign it to the new line ID.
3. Option
Adjust the results analysis Customizing so that the system displays the error message only if there are values not equal to zero.
Create a new line ID. It is to function as a remaining collector.
In the assignment Customizing, select the category 'N'.
Assign all remaining cost elements to this line ID. You can do this by adding a wildcard entry in Customizing of the assignment and assign it to the new line ID.
Use customer enhancement 1 of the results analysis to check whether or not there is a balance for the remaining collector line ID. Customer enhancement 1 is described in SAP note 26002.
Insert the source code from correction instructions number 257651 of this SAP note (302823) into customer Include ZXKAGU01 of customer enhancement 1. The source code uses a line ID - called 'RES' - as the remaining collector line ID in this case; the source code uses a line ID here named 'RES'; it may also have a different name.
The system now only displays message KJ161 if the cumulative balance of the remaining collector line ID is not equal to zero.
4. Option
Using customer enhancement 7, you can influence the message type of message KJ161.
In this case, refer to notes 198983, 455735, and 495279, which describe the customer enhancement and contain the program corrections required for the function outlined here.
Insert the source code from correction instructions number 257470 of this note (302823) into customer Include ZXKAGU07 of customer enhancement 7.
This causes the system to output an information message instead of an error message. If you select the message type J instead of I for the transfer to the user exits, the system suppresses the message completely.
Additional information
Unlike during the individual processing, message KJ161 does not necessarily have to occur during the collective processing of the results analysis because presummarized data may occur during the collective processing under certain conditions. This situation may result in the system already excluding records with the affected cost elements in advance, for example, when there are several records for the same cost element that balance to zero in every period.
If the object to be accrued by mistake was posted to with a cost element which is not assigned to the results analysis in the Customizing, and if this posting was reversed, in spite of the posting reversal the system can generate message KJ161 can be displayed for this cost element during the execution of the results analysis. The reason for this is that the first posting for example, is a debit posting and the reversing posting is a credit posting. This is managed in two table entries in the CO: one entry for the debit posting and another entry for the credit posting. There are results analysis methods which process these entries separately and which do not summarize these entries. For this reason, it is not possible to group these entries before the assignment to a line Id. A case by case summary would require a runtime-intensive analysis for each imported data record which would impair the performance too much. Therefore, also use one of the four options listed above for this purpose.
Regards,
satyajit

Similar Messages

  • WIP Calculation Error - KKAX

    Dear All,
    When I run the KKAX (WIP Calculation),I got the foloowing error message:
    There are values for cost element S43100 that are not assigned to any line ID
    Message no. KJ161
    Diagnosis
    Not all values for the cost element are assigned to a line ID.
    Procedure
    Assign the cost element to a line ID. If you don't want to include the cost element in results analysis, assign it to a line ID of category N.
    You can access a detailed list of unassigned cost elements as follows: Start results analysis in the individual processing mode (transaction KKA1, KKA2, or KKA3). Select the field Full log. Execute the function. On the next screen, choose Logs -> Parameter List in the menu. A list is generated. The unassigned values are shown at the end of the list.
    If cost element "+++++++++" was shown in the message, this is because in the assignment of costs and revenues to line IDs, you have not used a cost element other than the full masking "+++++++++". In this case a presummarization eliminates the information on the cost element.
    I have done all the settings and checked throughly,but still Iam getting the above said error message.
    Can anybody help me on this ?
    Regards
    Su

    Hi,
    1. Go to OKGB...
    2. Decide which Line ID your cost ele S43100 belongs to... For eg: assume it shud belong to Line ID COP
    3. Copy the existing Line of COP and change the field "Masked Cost Ele" from existing value to S43100
    4. Transport this change across to all systems and then execute KKAX
    Regards
    Ajay M

  • Report to see WIP calculation details for sales order

    Hi,
    I want to know which is the best report to see the details of WIP calculation for a sales order. There is a WIP posting of 1 million to a sales order and i want to understand how this amount was computed.

    Hi,
    Yes when i went there and call up the line items report i got the following error :-
    Display of debits for object type SDI is not included
    Message no. KD232
    Diagnosis
    You want to display a report for the current sender. This function is currently only possible for the following object types:
    Cost Object
    Orders
    WBS Elements

  • KKAX - error 'Manual WIP/results analysis is not allowed for order

    We are running KKAX on some process orders.  A few of them get the error 'there are values for cost element 999999 that are not assigned to any line ID'; however, we do have a line id set up for the cost element, etc; when we drill down further on the message, what we end up with is 'manual wip/results analysis is not allowed'.  The business transaction for this is KABM.  I can see on the order that KABM is not a permitted business transaction. 
    We only have this problem on a few of the orders.  How is the KABM being invoked?  Is it caused by an order status?  How can I fix this?
    Thank you

    Hi Christian
    i have come up with the new business requirement
    I want to change some of the material in one of the plant into discreete.For that, I tried to delete the production version and then tried to uncheck repetitive manufacturing indictor in MRP4 view.
    But it is giving the following error
    Either you are attempting to delete production version 1000 or
    you haveattempted to deselect the repetitive manufacturing indicator for the production version.
    It is not possible to delete the production version or to
    deselect the repetitive manufacturing indicator for the following reasons:
    o Cutoff period for WIP calculation has not yet been
    established. For the period in which a goods receipt was last entered with reference to this production version.
    o The cutoff period for variance calculation has not been
    defined for the full life of the production version.
    Can you please help me out how to resolve this issue

  • KKAX WIP Calculation issue

    Hello All Experts,
    I am facing an issue while performing KKAX WIP Calculation. The error is quite simple that "Cost Element does not exist in controlling area XXXX on date XX.XX.XXXX.
    Where I can see all the "Activity Types" which are used in Operation and Work Centres are DON'T have this cost element in master data. So from where this cost element is getting picked up ? I checked in KA03 this cost element is not even created so no question arises of using in costing anywhere I guess.
    Experts guidance will be helpful on this !
    Thank you.
    Regards,
    Sharu....

    Self solved.
    This cost element is maintained in "OKGA Update of WIP Calculation" and the same is not created in system.
    Thanks all.
    Regards,
    Sharu.

  • Make to order WIP calculation with minus WIP

    Dear Grus!
    I'm in the make to order senario ,and using actual cost in WIP calculation.
    finished goods using standard cost valuation.
    Input 1000, output ( 100 USD *15EA), wip qty is 5EA. 
    now WIP become minus, so system generates error message.
    How I should configure in a correct way?
    Thank you ~
    Lynn

    Thanks for your answers,
    The message number is
    Plan cost <= actual cost. Cannot use method of apportionment (K,R)
    Message no. KJ228
    Sum across all apportionment numbers = 0. Cannot use MOA (K,R)
    Message no. KJ233
    MOA for reserves for unrealized costs in period 005 2009 was changed
    Message no. KJ221
    Negative wip indicatest that 1) you are not finished with the order and 2) at the WIP point in time, more value has been credited to the order that was issued to the order.
    This could be due to failed goods movements or incomplete confirmations, out of date cost estimates, etc.
    and standard cost is a little bit high, so the WIP balance is minus.
    Br
    Lynn

  • WIP calculation for Prod.order with status TECO

    Hello all.
    My question is the similar to WIP calculation for Prod.order with status DLV
    But I need that
    - if the Production order has status TECO - the system calculate WIP
    - if the Production order has status DLV u2013 the system settle the order.
    1.     I try to change u201CStatus Numberu201D in TCODE OKGC. But I have receive two different result:
    - if I change u201CStatus Numberu201D for status DLV from 3 to 2, then during WIP calculation of the order with status DLV u2013 WIP have been calculated.
    - but if I change u201CStatus Numberu201D for status TECO from 4 to 2, then during WIP calculation of the order with status TECO u2013 WIP have been CANSELED.
    2.     I try to change results analysis key for status TECO from u201CZu201D to u201CFu201D in TCODE OKG3. BUT during WIP calculation the system create error message KJ 363 which require that results analysis key must be change to u201CZu201D
    How can I resolve my problem?

    Hi,
    I don't have the answer if the requirement is that even after producing the materials, till the time accountant checks the order and does this action, it should remain in WIP. Honestly it doesn't make any sense to me or i have not understood this problem. Anyways as per my current understanding I can suggest the following process for your scenario.
    Once production is stopped in between the process, the order should be in PDLV status (partial confirmations happened in the order)
    Now go and clear the reservations manually from the production order .( delete the component line items from the order). Now depending on whether you are following WIP at actual cost, system will post the difference between credit and debit of that production order as WIP for the month end process.
    Once Accountant okays the entries in the production order, he can do the TECO and settle the order. Now WIP will be reversed and variance will be posted.
    To avoid the already produced goods mixing up with your other stock, u might want use Quality Management with the help of your PP consultant.
    Best Regards
    Vimal

  • WIP CALCULATION ON PRODUCTION ORDERS

    Hi,
    I have a problem for some production orders:
    WHEN PERFORMING THE WIP CALCULATION (maybe with transaction code KKAO) ON SOME PRODUCTION ORDERS WE ARE GETTING THE FOLLOWING ERROR MESSAGE:
    KJ161 "There are values for cost element xxxxxx that are not assigned to any line ID"
    Is there anyone that can help us to understand this error message and to solve this problem?
    Futher informations:
    Considering the report "Orders: Actual/Plan/Variance" (transaction code S_ALR_87012993) I have noticed that this production orders have fot that particular cost element of the error message a negative actual value. This was generated by 1 document for each production order that I can see in transaction code MB23. In this document there is a movement type 531 (Receipt of by-product into unrestricted-use stock).
    This document was made by transaction code COGI.
    Is it this document that has created the problem for THE WIP CALCULATION?
    How can we try to resolve it?
    Thank you for all your help.
    A.S.

    Hi,
    Please check the required settings in OKBG. Whether all required cost elements have been defined here?
    Hope it will help you to get the clues
    Regards,
    Jigar

  • Reverse WIP Calculation on Prod Order

    Issue: Cannot set DLFL flag on order because:  There is still WIP for ORD.
    I Set TECO and settle.  Error:  Status DLV/TECO was reversed after settlement of period 012 2007 
    Our Fiscal year 2008  began May  1 2007
    Order was DLV in Period 12 FY 2007.
    Year-end completed.
    Late in May (Per 01/2008) Production Planner - reversed all GI, GR and Confirmation and set DLFL status.
    Accountant discovered this, removed DLFL and tried to settle order properly, resulting in error:  Status DLV/TECO was reversed after settlement of period 012 2007
    Can't set DLFL, because of WIP.
    Can't settle order to Variance because of error.
    Can't reverse settlement from 2007 in 2008
    Can't open 2007 to reverse settlement.
    I would like to reverse WIP posting and then set DLFL status.
    Any thoughts on how to do this?
    Thanks
    Althea

    Hello,
    If the WIP on a production order (with full settlement) is cancelled depends on the status of the production order. In standard this is DLV or TECO and is maintained in the valuation method in Customizing.
    After the according status has been set on the order the WIP-calculation has to be executed again which will offset the WIP amount (i.e. 100 by -100). Thereupon variances and settlement have to be executed as well. After the settlement the WIP account in FI should have been offset as well.
    Regards, Michael

  • Using a different Plan Version in WIP calculation

    Hi experts.
    I am using version 97 as plan in a wip calculation. The problem is that to recognize plan incomings my system uses version 0 and in the result analysis they always appear as 0 because the version the system is taking to recover the planned incomings is 97 and it is empty.
    Is there any standard way to make it take version 97 only for costs?.
    Thanks.
    Alex

    yes. this is true, the predicates are not preserved, I found that out after posting. ok, Im really thinking bug here, I'll explain further.
    Im outside of prod time so can run the mview. the plan is pretty big so not going to post just yet, its just behavioural at this stage.
    explain for QUERY, = plan good.
    create table t1 as QUERY = plan good.
    insert to table as QUERY = plan good
    create mview as QUERY = plan bad. Not just timings are bad, the plan has completely changed. I stop the mview creation at this stage. good old ctrl+c.
    the only thing thats different is Im running MVIEW create. So I hit my ADDM again, can see the bad plan and bad timings. So I get the SQL_ID from the ADDM for the bad plan and run a 10053 on it using the 11.2 sqldiag dump. Im hoping to see why its choosing the bad path
    execute DBMS_SQLDIAG.DUMP_TRACE(p_sql_id=>'576wpd5g73q9c', p_child_number=>0, p_component=>'Compiler', p_file_id=>'BAD1');
    edit my BAD1 10053 trace file and I see...the plan is GOOD. Its estimated 2 seconds to run for the SQL_ID thats actually bad when running.
    This is why Im thinking bug.

  • Error in activating Calculation view

    Hi Gurus,
    Please help me in resolving this issue below as I get an error when activating calculation view.
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Unable to create hierarchy view: CREATE COLUMN VIEW
              SQL: transaction rolled back by an internal error: identifier is too long: the identifer
              description" is too long. Maximum length is 127:
    I have checked all content related to this error but not able to find a solution.
    Please advise

    Though your calc view name could be small, the 'fully qualified' calculation view name could be bigger than 127 character.
    Fully Qualified name = <packagename.packagename.packagename.....>/<calc view name>
    For each calc view that you activate, HANA internally creates more than one column views (based on your attributes) which are found under the _SYS_BIC schema and there it will fail if the column view name is exceeding 127 characters.
    Solution: make sure the fully qualified name is not too big
    Regards,
    Sesh

  • Project commintment as real in WIP calculation

    Hi.
    In our company we want to consider the commitment as real in WIP calculation, the problem is that i have customized it in OKG3, by puting field Commitments equa to A, because I want to consider purchase requisitions, and purchase orders commitment.
    The problem is that it is not working. Does anyone know if is there something else that i have to do.
    Of course if it is impossible to be done in a standard way, i can use and exit, but would like not to.
    Thanks.
    Alex

    Hi Alex,
    You can try the Results Analysis type 'F-WIP calculation on the basis of Actual costs' in the expert mode and use enhancement in the valuation basis.
    Hope this may solve your issue. There is no standard configuration for including commitments in the WIP calculation.
    Thanks
    regards
    Srinivasan Desingh

  • Error as no calculation procedure assigned to company code

    Dear Member,
    I am SAP hr Fresher, Im practising in IDES,
    When i create Personal Area iam getting
    Error as no calculation procedure assigned to company code???
    What should i do???????
    Help me out experts.......
    Thanks
    Jose

    Please execute t-code OX02 and assign your company code to the country in which it exists.
    Hope this helps,

  • Error in cost calculation for production order

    Dear All,
    I got error of cost calculation while release of Production Order due to price of some material is not mantain .
    What will happen if I release , save the Order with error & do Good Issue ???
    Ishwar

    Dear Ishwar,
    Check the log's created for costing and rectify the same.
    I feel its better to rectify the cost related errors and then release the production order and proceed to Good's Issue.
    Check whether there is a MAP for all the Raw-materials and an origin group in costing 1 view.
    The Finished product must be having a standard cost estimate that's valid for the current period.
    Revert back in case of any more help needed.
    Regards
    Mangalraj.S

  • WIP calculation for Sales Order no FI document

    Hi,
    We are using the MTO scenario with valuated salaes order stock and it wll carry revenue and costs wherein we configured the RA key correctly with valuation method as 01 and we defined all configuration correctlly line ID,s and assignment and posting rules etc,. We have incurred the cost on Prodction order assgined to Sales Order and to calculate the WIP  We have done the KKA3 and we run the VA88 it is not psoting any accounting document and it is settling the costs and COPA document is generatig.

    Hi,
    You might have to check your scenario.
    Normally when there is a CO-PA document generated, there is no WIP calculation happening.
    The COS/Revenue is being transferred to CO-PA.
    Kind Regards
    Umapathi G

Maybe you are looking for