cancel
Showing results for 
Search instead for 
Did you mean: 

variance cal error

Former Member
0 Kudos

we have one PM order, WIP calculation in 2013.11 shows 20 USD, no accounting entry is generated,

then we run variance calculation in 2013.11 for target cost version 0,  hit abap dump:  runtime error: DBIF_RSQL_TABLE_unknown

SAPMKKS0, table VKKS0.

May I know how to resolve the error? if variance calculation is ok, does it generate accounting entry: Dr: WIP1(B/S) Cr: WIP2(P/L)?

or it is posted in KO88? when is the reversal WIP posted, is it in KO88?

Accepted Solutions (0)

Answers (2)

Answers (2)

rajneesh_saxena
Active Contributor
0 Kudos

Dear Siva

For ABAP dump you need to consult your Basis consultant or post a query in ABAP space to get good advises.

On Variance or WIP calculations (KKS1/KKS2/KKAX what ever t code you are using), system only generates the amount of variance or WIP it does not pass any FI entry. FI entries are always passed only on settlement (CO88/KO88).


In order to reverse WIP entry in FI, you need again to calculate WIP on the order when the order is completed. As the order is in completed state so the system will calculate WIP value to 0 and when you will settle this order using KO88, FI entry will be passed.


However, technically this can not be regarded as reversal of WIP entry. In this process system calculates how much WIP has already been calculated on this order and it passes an adjustment entry to make the value of WIP to ZERO. To be more clear let us take an example. Suppose one order is running for three periods. In first period WIP calculated $1000. Similarly in second period WIP is calculated $2000. In the third period when order is completed and you calculate  WIP on it, System will calculate WIP as ZERO and you can see in accumulated WIP column there is an amount of $3000-. In this period following FI entry for WIP will be passed for the accumulated amount and not for separate for $1000 and $2000.


CR. WIP (B/S)     $3000

    Dr: WIP (P/L)     $3000


Hope the matter is clear to you now.


Regards


Rajneesh Saxena



Former Member
0 Kudos

I run KO88, it says error: order must DLV or TECO, so in KO88, it didn't post to WIP FI side.

so I set order from REL to teco, in KO88, it post to production variance in stead of WIP.. which is wrong

if no accounting document generated, how can I verify WIP calculation and variance calculation has been performed?

instead of run WIP in three period, I incidently run WIP calculation three times in same period, how to correct error since accumlated WIP now is 1000*3=3000 for period 11, my WIP is 1000

rajneesh_saxena
Active Contributor
0 Kudos

Dear Siva

The error presented to you is for variance calculation and not for WIP. TECO and DLV is required only for variance and not for WIP. REL status is sufficient for WIP calculation and posting.

Secondly as you say that you have posted WIP for 3 times in the same period. for this you can reverse the two entries in KO88-main menu-reverse.

Regards

Rajneesh Saxena

Former Member
0 Kudos

as I said, my order still in REL status, how to reverse WIP, I can't run KO88 since it is not DLV or TECO

Former Member
0 Kudos

Hi..

If order have input amount and don’t have “DLV” or “TECO” as satus, order’s status is wip.

In this case, the order is exclude for variance calculation job . But to generate wip  FI doucment,

you should execute settlement job.

Variance calculation job include order with DLV or TECO status.

Former Member
0 Kudos

Hi..

You mean WIP reverse is that FI document for wip reverses?

I think that you want to cancel current  wip calculation job.

If yes,  there is no  reverse function for WIP calculation job.

Whenever you execute wip calculation, you can get  wip amount up to the date.

Former Member
0 Kudos

my WIP calculation shows actual cost debit 1000 USD, but my KO88 shows:

There are no accrued amounts; settlement is not possible.

Message no. KD256

rajneesh_saxena
Active Contributor
0 Kudos

Dear Siva

1     I run KO88, it says error: order must DLV or TECO, so in KO88, it didn't post to WIP FI side.

       That means you have calculated variance on order and tried to settle it. So how can the system calculate          and post WIP?

2     so I set order from REL to teco, in KO88, it post to production variance in stead of WIP.. which is wrong

       System behavior is correct as you have done TECO on the order and already calculated variance on it so it        has posted variance. Now you have to decide what is your order status? If it is actually REL only then               now you have to revoke TECO (which is not a good practice but needed here) and reverse variance                 using KKA2-reverse.

3      instead of run WIP in three period, I incidently run WIP calculation three times in same period, how to                  correct error since accumlated WIP now is 1000*3=3000 for period 11, my WIP is 1000.

         If the WIP is calculate many times without doing any operation on it (No GI no Activity confirmations) it will          calculate always the same WIP i.e. $1000 only and it will not add up again as 1000+1000+1000.


4     as I said, my order still in REL status, how to reverse WIP, I can't run KO88 since it is not DLV or TECO


       I don't understand it as once you are saying that no WIP is posted so far.


Regards


Rajneesh

Former Member
0 Kudos

Hi..

After you activate flow trace as below picture, you
execute settlement job and you analysis the cause through trace results.

rajneesh_saxena
Active Contributor
0 Kudos

Dear Siva

As you have already settled it to variance so this message you are getting. Reverse your variance and again calculate WIP and settle it.

Regards

Rajneesh

Former Member
0 Kudos

Hi, I already reverse the variance, calculate WIP, when I go to execute result analysis, it shows actual cost 1000, but when I go to menu "display result analysis", or "display line item of result analysis". or "simulate posting rules", it shows nothing, KO88 trace is activiated, but how to find the error? WIPR, RUCR is configured

Former Member
0 Kudos

Hi..

Can you post the trace result?

Former Member
0 Kudos

do you have email address I can forward to?

Former Member
0 Kudos

Hi..

Sorry, I don't want to open my e-mail address.

Former Member
0 Kudos

Hi..

First, you ask your BC for help to solve runtime error.

Through settlement job (CO88 or KO88), FI document related to WIP and production variance is generated.

The cancellation or reversal of WIP will be occurred through next month’s settlement job.

Refer to sap portal site.

Period-End Closing in Product Cost by Order: Scenario - Cost Object Controlling (CO-PC-OBJ) - SAP Li...

Period-End Closing in Product Cost by Period - Cost Object Controlling (CO-PC-OBJ) - SAP Library

Former Member
0 Kudos

thanks.

so for WIP calculation and variance calculation, there is no accounting generated.

so if my order is in REL status, not DLV or TECO, I run (1) WIP calculation for Nov, (2) Variance calculation for Nov, no accounting document generated and (3) I run KO88, it says error: order must DLV or TECO, so in KO88, it didn't post to WIP FI side.

if no accounting document generated, how can I verify WIP calculation and variance calculation has been performed?