‎2007 Apr 03 10:57 PM
Hi All,
Is there a Function module or BAPI to know whether the Central User Administration (CUA) is active on the system. I know that if there is a model view in the transaction SCUA then the CUA is active but is there a better way to determine the same?
Thanks for any help,
Sudhi
‎2007 Apr 03 11:14 PM
You can try the following function module
* get central user management system
CALL FUNCTION 'SUSR_ZBV_CENTRALSYSTEM_GET'
IMPORTING
CENTRAL_SYSTEM_LOGSYS = central_log_system
EXCEPTIONS
DUPLICATE_CENTRAL_SYSTEM = 1
NEW_SYSTEM = 2
OTHERS = 3.
IF SY-SUBRC <> 0 or central_log_system = space.
exit.
endif.If no central log system, then CUA is inactive?
Regards
‎2007 Apr 03 11:14 PM
You can try the following function module
* get central user management system
CALL FUNCTION 'SUSR_ZBV_CENTRALSYSTEM_GET'
IMPORTING
CENTRAL_SYSTEM_LOGSYS = central_log_system
EXCEPTIONS
DUPLICATE_CENTRAL_SYSTEM = 1
NEW_SYSTEM = 2
OTHERS = 3.
IF SY-SUBRC <> 0 or central_log_system = space.
exit.
endif.If no central log system, then CUA is inactive?
Regards