Skip to Content
0
May 25, 2012 at 07:34 AM

How does COSS table gets updated & its link with Resource??

611 Views

Hi,

In my case I need to enter resource during Process order confirmation with the help of Transaction COR6. During confirmation I need to enter 5 activity types i.e. LSTAR in field ISM01/02/03/04/05. We are using a Z table where we are capturing the summation of LSTAR. The logic used is as follows,

Concatenate "KL" + CRCO-KOKRS+ CRCO-KOSTL+ CRCO-LSTAR & prepare a value for field which be the input for field PAROB in table COSS. Also to get the final result we are giving more input like OBJNR which is obtained from table AUFK for input as AUFNR. The third input given is WRTTP = 4 in table COSS.

So finally the input for COSS is,

1) OBJNR

2) WRTTP

3) PAROB

Now in output we are calculating summation of MEG001+MEG002....+ MEG012.

In majority cases the summation value matches with AFRU table for summation of ISM01/02/03/04/05.

But it is seen that in few cases the values dont match.

Can any one pls tell me why is there a difference??

Thanks & Regards,

Rohan Somji