Skip to Content
0
Former Member
Jan 08, 2008 at 08:13 AM

CJ20N enhancement

65 Views

Greetings friends!

I need help on enhancing the SAP standard transaction CJ20N, my first assignment ever. The requirement is pretty simple at face value: as the user creates a new project, I need to check the name of the project (which will be stored in the PROJ table) and check that there is no similarly named entry in the PRPS table.

I already searched for function module exits and BADIs using methods described in the book, but didn't find any. But a colleague of mine was able to find a BADI (PROJECTDEF_UPDATE), so this is what I started implementing.

My Questions Are:

1. Am I making the correct approach? Is the BADI related to my target T-code?

2. If it is the correct one, how do I get the data from the screen to the BADI and then ready a field should the original entry is rejected?

Cheers! Thanks in advance.

Best Regards,

Paul