SAP Reports / Programs | Basis Components | Security | User and Authorization Management(BC-SEC-USR-ADM) SAP BC

RSUSR_LOCK_USERS SAP ABAP Report - Lock / Unlock Users







RSUSR_LOCK_USERS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSUSR_LOCK_USERS into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RSUSR_LOCK_USERS. "Basic submit
SUBMIT RSUSR_LOCK_USERS AND RETURN. "Return to original report after report execution complete
SUBMIT RSUSR_LOCK_USERS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: BNAME = D .
Title: Lock / Unlock Users
Text Symbol: 100 = Activity Selection
Text Symbol: 101 = Test Selection
Text Symbol: 102 = Lock Users (Local Lock)
Text Symbol: 103 = Unlock Users (Local Lock)
Text Symbol: 104 = Set the End of the Validity Period to Today (Only for Valid Users)
Text Symbol: 105 = Set the End of the Validity Period to Yesterday (Only for Valid Users)
Text Symbol: 200 = Own user is not processed
Text Symbol: 201 = Error in selection
Text Symbol: 202 = Lock User
Text Symbol: 203 = Unlock User
Text Symbol: 204 = Selected Users
Text Symbol: 205 = Last Day of the Validity Period:
Text Symbol: 206 = No selection. Validity period:
Text Symbol: 502 = Set
Text Symbol: 503 = Not set
Text Symbol: 504 = Password Lock (Incorrect Logons)
Text Symbol: 505 = User Locks (Administrator)
Text Symbol: 506 = Selection by Locks
Text Symbol: 507 = All Users with Administrator or Password Locks
Text Symbol: 508 = Differentiation of Locks
Text Symbol: 509 = Only Users Without Locks
Text Symbol: 036 = Selection by Validity of User
Text Symbol: 000 = User Selection
Text Symbol: 001 = User
Text Symbol: 002 = Group for Authorization
Text Symbol: 003 = Security Policies
Text Symbol: 004 = Days Since Last Logon
Text Symbol: 005 = Days Since Password Change
Text Symbol: 008 = Users with Initial Password
Text Symbol: 013 = Users with Deactivated Password
Text Symbol: 015 = Dialog Users
Text Symbol: 019 = Users with Incorrect Logon Attempts
Text Symbol: 021 = Standard Selection
Text Symbol: 023 = Selection by User Type
Text Symbol: 024 = Selection by Status of the Password
Text Symbol: 025 = Selection by Logon Attempts





Text Symbol: 026 = Users with no Incorrect Logon Attempts
Text Symbol: 028 = User Without Logon Date
Text Symbol: 029 = System Users
Text Symbol: 030 = Communications Users
Text Symbol: 031 = Reference Users
Text Symbol: 032 = Service Users
Text Symbol: 033 = Users wtih Productive Password
Text Symbol: 034 = Users Valid Today
Text Symbol: 035 = Users Invalid Today


INCLUDES used within this REPORT RSUSR_LOCK_USERS

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SUSR_SUIM_API_RSUSR200 call function 'SUSR_SUIM_API_RSUSR200' exporting it_bname = bname[] it_class = class[] it_secpol = secpol[] iv_dtrdat = dtrdat iv_dbcda1 = dbcda1 iv_valid = valid iv_notvalid = notvalid iv_user_lock = lv_u_locks iv_pwd_lock = lv_p_locks iv_locked = locked iv_unlocked = unlocked iv_faillog = faillog iv_succlog = succlog iv_unused = unused iv_diaguser = diaguser iv_commuser = commuser iv_sysuser = sysuser iv_servuser = servuser iv_refuser = refuser iv_defpass = defpass iv_initpass = initpass iv_nopass = nopass importing et_users = lt_users return = lt_return.

SUSR_DISPLAY_LOG call function 'SUSR_DISPLAY_LOG' exporting display_in_popup = ' ' tables it_log_sprot = lt_log_sprot exceptions others = 0.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'KEYNR' "#EC NOTEXT value_org = 'S' tables value_tab = lt_f4_text exceptions parameter_error = 1 no_values_found = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'KEYNR' "#EC NOTEXT value_org = 'S' tables value_tab = lt_f4_text exceptions parameter_error = 1 no_values_found = 2 others = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSUSR_LOCK_USERS or its description.