on 03-05-2008 12:11 AM
I built a Validation with a User Exit on the Network Header (The Validation checks to make sure the network number matches the project number). I can fire the validation manually in the project by selecting the Network Header and via the menu selecting Edit > Validation/Substitution > Validation.
Even though firing the validation ends in an error, the system still allows the project to be saved.
How can I prevent a project from being saved if it fails a validation?
Can this happen regardless of what piece of the project is selected upon save?
Much of the validation documentation is geared toward FI. In that documentation it mentions activating a validation using ob28 which can't be used for PS. Is there a PS validation activation transaction?
Please help.
Better debug the validation with help of an Abaper:
Set a breakpoint at point where the rule is called up i.e., at the beginning of function module G_VSR_VALIDATION_CALL.
Execute the action in which you expect the callup of the validation. If the validation is called up, you can check the field contents that have been transferred.
I don't think the auto validation in the project profile influences the validation of network header/activity.
Regards,
Sreenivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
8 | |
6 | |
6 | |
5 | |
4 | |
2 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.