Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Validation for KP06

Former Member
0 Likes
1,273

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
876

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.

4 REPLIES 4
Read only

Former Member
0 Likes
876

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.

Read only

Former Member
0 Likes
877

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.

Read only

0 Likes
876

COOMKPLV and COOMKPT4 are for transactions KP97, KP98.

Read only

Former Member
0 Likes
876

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.