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,
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,