USH02 SAP (Change history for logon data) Table details
Dictionary Type: Table
Description: Change history for logon data
Description: Change history for logon data
Table field list including key, data, relationships and ABAP select examples
USH02 is a standard SAP Table which is used to store Change history for logon data data and is available within R/3 SAP systems depending on the version and release level.
The USH02 table consists of various fields, each holding specific information or linking keys about Change history for logon data data available in SAP. These include BNAME (User Name in User Master Record), MODDA (Modification date), MODTI (Modification time), MODBE (Last Changed By).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP USH02 table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
BNAME | User Name in User Master Record | XUBNAME | CHAR | 12 | Assigned to domain | XUBNAME | XUS | ||
MODDA | Modification date | XUMODDATE | DATS | 8 | DATUM | ||||
MODTI | Modification time | XUMODTIME | TIMS | 6 | UZEIT | ||||
MODBE | Last Changed By | XUMODIFIER | CHAR | 12 | BNAME | ||||
TCODE | Not More Closely Defined Area, Possibly Used for Patchlevels | CHAR4 | CHAR | 4 | CHAR4 | ||||
REPID | ABAP Program Name | REPID | CHAR | 40 | PROGNAME | ||||
BCODE | Password Hash Key | XUCODE | RAW | 8 | XUCODE | ||||
GLTGV | User valid from | XUGLTGV | DATS | 8 | DATUM | ||||
GLTGB | User valid to | XUGLTGB | DATS | 8 | DATUM | ||||
USTYP | User Type | XUUSTYP | CHAR | 1 | USTYP | XUUSTYP | |||
CLASS | User group in user master maintenance | XUCLASS | CHAR | 12 | Assigned to domain | XUCLASS | XUG | ||
UFLAG | User Lock Status | XUUFLAG | INT1 | 3 | XUUFLAG | ||||
ACCNT | Account ID | XUACCNT | CHAR | 12 | XUACCNT | ||||
PASSCODE | Password Hash Value (SHA1, 160 Bit) | PWD_SHA1 | RAW | 20 | SHA1_HASH | ||||
CODVN | Code Version of Password Hash Algorithm (New Systems) | XUCODEVER2 | CHAR | 1 | XUCODEVER2 | ||||
PWDINITIAL | Indicator: Password Is Initial (= Set by Administrator) | XUPWDINIT | INT1 | 3 | IBOOLEAN3 | ||||
PWDSALTEDHASH | Password Hash Value (Various Algorithms and Codings) | PWD_HASH_STRING | CHAR | 255 | PWD_HASH_STRING | ||||
SECURITY_POLICY | Security Policy Name | SECURITY_POLICY_NAME | CHAR | 40 | SEC_POLICY_CUST | SECURITY_POLICY_NAME |
Key field | Non-key field |
How do I retrieve data from SAP table USH02 using ABAP code
The following ABAP code Example will allow you to do a basic selection on USH02 to SELECT all data from the tableDATA: WA_USH02 TYPE USH02.
SELECT SINGLE *
FROM USH02
INTO CORRESPONDING FIELDS OF WA_USH02
WHERE...
How to access SAP table USH02
Within an ECC or HANA version of SAP you can also view further information about USH02 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects