01-14-2009 8:42 AM
hi all,
as per i know, i can check the authentication by check an object as the following
AUTHORITY-CHECK OBJECT 'ZOBJECT'
ID 'ACTVT' FIELD '_____'.
in case i have user id (user does not launch the program by himself) and i want to check the authorization. what can i do on this?
Regards,
Peerasit
01-14-2009 8:57 AM
You may use the RFC enabled FM [AUTH_VALUES_FOR_USER|https://www.sdn.sap.com/irj/scn/advancedsearch?query=auth_values_for_user&cat=sdn_all] and analyze the returned TABSET parameter.
Regards
01-14-2009 8:49 AM
You can control User Authorisation by adding the Tcode in the Users Authorisation Profile.
regards,
Jinson
01-14-2009 8:57 AM
You may use the RFC enabled FM [AUTH_VALUES_FOR_USER|https://www.sdn.sap.com/irj/scn/advancedsearch?query=auth_values_for_user&cat=sdn_all] and analyze the returned TABSET parameter.
Regards
01-14-2009 9:06 AM
Hey Raymond,
your answer hits the point!!
Thanks so much
Regards,
Peerasit
PS thanks for every response as well.
01-14-2009 9:00 AM
I'm implemeting RFC for WD Java, then the web sends an user id thru Bapi and I want to check the authorization on that Bapi. Any idea on this.
Thanks in advance,
Peerasit
01-14-2009 9:01 AM
Hi,
Go to transaction su21:
- Enter user name and click on view
- Go to profiles tab
- double click on the profile for the Basis authorizations
The object should be listed there together with the permitted activities if the user has the required authorisations.