FuBa SUSR_AUTHORITY_CHECK_SIMULATE

Question: I will use the function SUSR_AUTHORITY_CHECK_SIMULATE
to check authorities to set flags in a db-tab.

I have sap_all and get a sy-subrc = 4.

Why ?
Checks this function only if a user has this authority object ?

Is there another function to simulate authority checks for users which gives me a sy-subrc = 0 for the profile SAP_ALL ?


Thanks for your help

Answer:
You are not filling the parameters out correctly, further you should not be using it, use AUTHOURITY-CHECK ABAP statement instead.
Copyright ?2007 - 2008 www.jt77.com