The above configuration steps are enough for performing Results Analysis, and calculating WIP for an Internal Order.
Let us now see using an example how, based on the above configuration, WIP is calculated for an Internal Order.
Below are the steps involved in testing the above configuration:
1. Create an Internal order and assign the RA Key created above to it. I have created an I.O. 400760 and assigned RA Key ZRKY01 to it.
2. Using transaction code KPF6, post plan costs to the Internal Order.
3. Using transaction code KPF6, post plan revenues to the Internal Order. If actual revenue is posted, but plan revenue is not posted, then the system throws an error while executing Results Analysis for the order.
4. Post actual costs to the Internal Order using transaction FB01.
5. Post actual revenue to the Internal Order using transaction FB01.
6. Execute Results Analysis using transaction code KKAI or KKA1.
KKAI ⇒ For Multiple Internal Orders. Results analysis is updated in table COSB automatically.
KKA1 ⇒ For a single Internal Order. Results analysis is not updated in table COSB automatically.
Double-clicking on the above line gives the below detailed screen. (same as t-code KKA1)
(Earlier we had posted USD 8,000 as planned costs, but in the above RA analysis, Planned costs turn out to be USD 10,000. This is because, if Actual costs > Planned costs, then Planned costs are overwritten by Actual costs.)
Costs Affecting Net Income = (Actual Cost * Actual Revenue) / Plan revenue
= (10000*30000)/35000 = 8571.43 USD
Costs Affecting Net Income can be posted to CO-PA.
WIP = Actual Costs - Costs Affecting Net Income = 10000-8571.43 = 1428.57 USD
WIP can be posted to FI and EC-PCA.
Below SAP help link contains more detailed documentation on the formulas:
(01) Revenue-Based Method with Profit Realization
After an update run using t-code KKAI, table COSB is updated with RA values.
I hope the above blog post helps in clarifying the steps involved and the prerequisites of Results Analysis & Work in Process calculation for Internal Orders with Planned Costs & Revenues.
I have explained in detail about posting WIP amount to FI, as well as the settlement of an Internal Order to CO-PA.