USH02 SAP (Change history for logon data) Table details

Dictionary Type: Table
Description: Change history for logon data




ABAP Code to SELECT data from USH02
Related tables to USH02
Access table USH02




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 empty
Display/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
MANDTClient MANDTCLNT3Assigned to domainMANDT
BNAMEUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
MODDAModification date XUMODDATEDATS8DATUM
MODTIModification time XUMODTIMETIMS6UZEIT
MODBELast Changed By XUMODIFIERCHAR12BNAME
TCODENot More Closely Defined Area, Possibly Used for Patchlevels CHAR4CHAR4CHAR4
REPIDABAP Program Name REPIDCHAR40PROGNAME
BCODEPassword Hash Key XUCODERAW8XUCODE
GLTGVUser valid from XUGLTGVDATS8DATUM
GLTGBUser valid to XUGLTGBDATS8DATUM
USTYPUser Type XUUSTYPCHAR1USTYPXUUSTYP
CLASSUser group in user master maintenance XUCLASSCHAR12Assigned to domainXUCLASSXUG
UFLAGUser Lock Status XUUFLAGINT13XUUFLAG
ACCNTAccount ID XUACCNTCHAR12XUACCNT
PASSCODEPassword Hash Value (SHA1, 160 Bit) PWD_SHA1RAW20SHA1_HASH
CODVNCode Version of Password Hash Algorithm (New Systems) XUCODEVER2CHAR1XUCODEVER2
PWDINITIALIndicator: Password Is Initial (= Set by Administrator) XUPWDINITINT13IBOOLEAN3
PWDSALTEDHASHPassword Hash Value (Various Algorithms and Codings) PWD_HASH_STRINGCHAR255PWD_HASH_STRING
SECURITY_POLICYSecurity Policy Name SECURITY_POLICY_NAMECHAR40SEC_POLICY_CUSTSECURITY_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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!