‎2006 Oct 03 4:26 PM
Hi all!
I need to make a validation for transaction KP06 (Change cost element input planning), so that given a version number (VERSN) and a cost element (KSTAR), the system will check in a Z table if the change is allowed or not.
I have tried the following things:
- field-exits: according to a SAP note, don't work in this transaction
- user-exits: Enhancements 'COOMKPT4' and 'COOMKPLV'. Apparently doesn't go through them.
- standard CO validation: in transaction GGB0. Have tried the three possible points (line item, internal CO posting, document header). Doesn't go through them either.
Does anybody have any other ideas?
Thanx
‎2006 Oct 03 5:12 PM
I think the better option will be going for user exits.
Check the documentation of these two exits COOMKPLV and COOMKPT4 in SMOD. Create a project in CMOD. Keep break points and check which user exit is getting triggered.
Regards,
Prakash.
‎2006 Oct 03 5:07 PM
I'm not sure this will help, but its worth a shot...
Try going to SE38 to the program for KP06 (SAPLKPP0) and do a search for 'USER_EXIT' (be sure to hit the 'in main program' radio button).
I see a USER_EXIT for the PBO but I'm not sure if it will help.
‎2006 Oct 03 5:12 PM
I think the better option will be going for user exits.
Check the documentation of these two exits COOMKPLV and COOMKPT4 in SMOD. Create a project in CMOD. Keep break points and check which user exit is getting triggered.
Regards,
Prakash.
‎2006 Oct 03 5:14 PM
‎2006 Oct 03 6:45 PM
Prakash: Already tried that; didn´t work, but thanx anyway
Matt: I have a small report that told me those two enhancements were for that transaction, but it was a bit strange kp06 didn't stop at the break-points. I'll search again.
As for the other idea, i'm looking at the 'USER-EXIT' strings. You were right: there's one in the pbo that looks promising. Thank you.