3
SAP Note Header Data 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. l Create a new line ID. l 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. l 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. l 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. l 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. 302823 - Message KJ161 Version 14 Validity: 24.02.2009 - active Language English Released On 25.02.2009 08:59:00 Release Status Released for Customer Component CO-PC-OBJ-MTO Product Cost by Sales Order CO-OM-OPA-F Period-end Closing CO-PC-OBJ Cost Object Controlling PS-REV-RA Results Analysis Priority Recommendations / Additional Info Category Consulting Other Components

0000302823_KJ161

Embed Size (px)

Citation preview

Page 1: 0000302823_KJ161

SAP Note

Header Data

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.

l Create a new line ID.

l 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.

l 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.

l 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.

l 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.

    302823 - Message KJ161  

Version   14     Validity: 24.02.2009 - active   Language   English

Released On 25.02.2009 08:59:00

Release Status Released for Customer

Component CO-PC-OBJ-MTO Product Cost by Sales Order

CO-OM-OPA-F Period-end Closing

CO-PC-OBJ Cost Object Controlling

PS-REV-RA Results Analysis

Priority Recommendations / Additional Info

Category Consulting

Other Components

Page 2: 0000302823_KJ161

l Create a new line ID. It is to function as a remaining collector.

l In the assignment Customizing, select the category 'N'.

l 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.

l 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.

l 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.

l 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.

l 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

l 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.

l 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.

Validity

Correction Instructions

References

Software Component From Rel. To Rel. And Subsequent

SAP_APPL 46A 46B  

46C 46C  

470 470  

500 500  

600 600  

602 602  

603 603  

604 604  

605 605  

Correction Instructions

Software Component Valid from Valid to Number

SAP_APPL 46C 605 257470

SAP_APPL 46C 605 257651

Page 3: 0000302823_KJ161

This document refers to:

SAP Notes

This document is referenced by:

SAP Notes (5)

495279   Customer enhancement 7: Interface enhancement

455735   Function module EXIT_SAPLKKAG_007, enhancement KKAG0005

398627   INFO: CO-PC-OBJ (Results analysis/WIP calculation)

397799   INFORMATION: CO-OM-OPA (Order & Project Accounting)

198983   Customer enhancement 7 of RA, Docu.enhancement

152364   Messages KJ477, KJ478: non-assigned values

495279   Customer enhancement 7: Interface enhancement

198983   Customer enhancement 7 of RA, Docu.enhancement

152364   Messages KJ477, KJ478: non-assigned values

398627   INFO: CO-PC-OBJ (Results analysis/WIP calculation)

397799   INFORMATION: CO-OM-OPA (Order & Project Accounting)