TPR_PREF SAP (User's settings) Table details
Dictionary Type: Table
Description: User's settings
Description: User's settings
Table field list including key, data, relationships and ABAP select examples
TPR_PREF is a standard SAP Table which is used to store User's settings data and is available within R/3 SAP systems depending on the version and release level.
The TPR_PREF table consists of various fields, each holding specific information or linking keys about User's settings data available in SAP. These include UNAME (User Name), VARIANTS (Checkbox), VARIABLES (Variable active), SAFETY (Confirmation prompts).. 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 TPR_PREF 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 | |||
UNAME | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
VARIANTS | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
VARIABLES | Variable active | TPR_VABL_A | CHAR | 1 | XFELD | ||||
SAFETY | Confirmation prompts | TPR_SATY_A | CHAR | 1 | XFELD | ||||
TECHNAM | Technical names | TPR_TECH_A | CHAR | 1 | XFELD | ||||
OVERVIEW | Overview icon | TPR_OVER_A | CHAR | 1 | XFELD | ||||
MERGEICON | Merge icon | TPR_MERG_A | CHAR | 1 | XFELD | ||||
COPYICON | Copy | TPR_COPY_A | CHAR | 1 | XFELD | ||||
DELICON | Delete | TPR_DELI_A | CHAR | 1 | XFELD | ||||
SHOW_DATE | Checkbox | XFELD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TPR_PREF using ABAP code
The following ABAP code Example will allow you to do a basic selection on TPR_PREF to SELECT all data from the tableDATA: WA_TPR_PREF TYPE TPR_PREF.
SELECT SINGLE *
FROM TPR_PREF
INTO CORRESPONDING FIELDS OF WA_TPR_PREF
WHERE...
How to access SAP table TPR_PREF
Within an ECC or HANA version of SAP you can also view further information about TPR_PREF 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