cancel
Showing results for 
Search instead for 
Did you mean: 

Exit or BADI/BAPI To check Relationship While saving in CJ20N

Former Member
0 Kudos

Hi All,

One of our client has a requirement to check relationship between activities while saving.


While creating any project they adopt the standard structure which contains no. of activities. After that they may include some more activities, now they want that there should be a check in such a way that it will check all activities link and should give a warning message if any activity is not linked(Means it should give warning for that activity which doesn't have Relationship.).

They may create/change Network using CJ20N,CN22 & CN21. We want to put a check while saving but we are unable to find any exit or BADI/BAPI or Enhancement spot for this. Need your suggestions.


Thanks,

Dheerendra

Accepted Solutions (0)

Answers (1)

Answers (1)

sunil_yadav2
Active Contributor
0 Kudos

Hi Dheerendra,

Please check BAPI BAPI_NETWORK_RELATION to check relationship. also check BAPI_NETWORK_MAINTAIN

thanks

Sunil

neminath
Explorer
0 Kudos

Hi Sunil,

Thanks for this input, but unfortunately, when you press Save button in CJ20N debugger doesn't stop in BAPI you gave.

Is there any other place where we can write our own logic to validate data in CJ20N before saving?