2012 May 10 4:48 PM
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
2012 May 10 4:52 PM
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
2012 May 11 11:21 AM
Thank you Rob for your answer , What do you mean with authorizations ?
2012 May 11 11:51 AM
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