‎2007 Jul 18 6:02 AM
Hi,
Iam working one user exit COPA0005 function module EXIT_SAPLKEII_002.
Data would be looked up from the following tables and parameters:
CE100 : Operating Concern table for generated line items.
T_ITEM : Available table used for transfer parameter.
I_ERKRS : Import parameter in function module.
Conditions is :
1. Check if operating concern (I_ERKRS) is 0001 than go to step 2 else go to step
4.
2. Read CE100 table and verify value for Item Category (CE100-PSTYV).
3. If Item Category(CE100-PSTYV) is TAS Than change Warehouse cost value
field(CE100-VV504) value to 0.00 irrespective of its current value.
else dont change value of warhouse cost value field(CE100-VV504) .
4. exit from function module.
This logic should be implemented for all line items in each billing document. E.g. if 5 line items are generated into COPA for one billing document step 1-4 need to be execute 5 times. Number of line items can be determined from T_ITEM table.
Any body helping the code?
Thanks & Regads
sudhakar
‎2007 Jul 18 6:08 AM
COPA0005 is well documented. Did you go through it? This should be quite simple to implement.
Cheers,
Sougata.