on 10-10-2013 10:52 AM
Hi Guys,
I would like to add a user exit to a PS validation so that whenever a user tries to execute CJ02 for a project that starts with '1' , it should give an error message.
I tried that using the check e.g. prerequisite PROJ-PSPID = '1*' check SYST-UNAME <> 'JOHN' with a message if prerequisite is met and check is NOT fulfilled, but it doesn't work. Where do you associate the created user exit with a step?
Regards,
Darlington
Validations only run at save (and that is if they are set to run automatically). So the user will have access to the transaction and be able to make changes but it would not let them save. Is that what you want?
Authorizations sound like a better way to handle this requirement. Adding to what Ross said, you could also use Access Control Lists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Darlington,
Judging by what you are doing, you could control this with SAP Security. Or if you have EHP3 you could activate the business function to control projects using the ACL to prevent people from changing them.
Failing that, if you want to prevent users from CJ02 using a validation in GGB0, you should be able to perform these checks without the need for coding any additional exits. Note the timing of the validation checks may not perform as you expect however.
Regards
Ross
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Darlington,
OPSA transaction.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.