2007 Mar 08 2:18 PM
Question: Using BAPI's (SAP_ABA version: 46C), how can I read the user lock attribute
Details: I develop a software that creates, modifies, deletes SAP users and read their attributes. I want my software to be able to know if a user is locked or not (it is already able to lock or unlock users with the BAPI's: BAPI_USER_LOCK and BAPI_USER_UNLOCK). My software is written in C, uses SAP R/3 release 4.6C, the 4.6C BAPI's (SAP_ABA 46C) and RCF 6.10. As my BAPI version is SAP_ABA 46C, I cannot use the BAPISLOCKD table (which a call to
BAPI_USER_GET_DETAIL would have returned) nor can I use the USR02-UFLAG table.
2007 Mar 08 2:21 PM
Hi,
USR02-UFLAG is the right field to check whether the user is locked or not.
You can use that field.
Regards,
Anji
2007 Mar 08 2:21 PM
Hi,
USR02-UFLAG is the right field to check whether the user is locked or not.
You can use that field.
Regards,
Anji
2007 Mar 08 5:48 PM
Hello Anji,
Thank you for your answer, but when I try to display the USR02-UFLAG table using the SE11 transaction in SAP GUI, the GUI returns the following error: "USR02-UFLAG does not exist. Check name". I suppose that USR02-UFLAG only exists in more recent versions than my SAP_ABA 46C.
Regards
2007 Mar 15 9:19 AM
Hello Anji,
Sorry, but the denomination USR02-UFLAG for (table: USR02, field: UFLAG) was completely unknown from me (maybe because of my PC and Unix background)
Regards