Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Program RGGBR000 exits in FI - any commo point for all of them?

Former Member
0 Kudos
325

Hello Guys,

I have a question , we have several exits ( Substitutions, Validations ) activated and their abap  code is in the program ( PoolMóds) ZRGGBR000 , What I want to do and my question also is : is there any common point  where I could put some extra validations ? , i want the exits valid for some user and not for others so i was thinking in a piece of code like : if sy-uname ='xxxx1' . execute the forms . endif   ?  I know there is a form:   form get_exit_titles tables etab. I tried deleting the form from structure exits however it execute the exit anyway. any suggestions ? thank you very much

3 REPLIES 3

Former Member
0 Kudos
124

Your auditors will probably not like to see special code for certain users in a user exit. Instead try to do it with authorizations.

Rob

0 Kudos
124

Thank you Rob for your answer , What do you mean with authorizations ?

Former Member
0 Kudos
124

Hi José,

Why don't you just use different sets(create in GS01) for users and use it in the pre-requisite or inside the exit. It is not advisable to hardcode user names in the code, so better try to use some FI sets.

Regards,

Karthik D