Answer :
To use a user exit in validations, you have to perform following steps;
- copy SAP standard program GGBS002 to ZGGBS002
- create a user exit in this program (such as U902, U903 etc)
- the user exit you defined in the above mentioned program will be visible in validations on screen tab 'Exits'
- configure your validation with 'User exit' as option







