TPR_PREF SAP (User's settings) Table details

Dictionary Type: Table
Description: User's settings




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




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 empty
Display/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
MANDTClient MANDTCLNT3Assigned to domainMANDT
UNAMEUser Name SYUNAMECHAR12SYCHAR12
VARIANTSCheckbox XFELDCHAR1XFELD
VARIABLESVariable active TPR_VABL_ACHAR1XFELD
SAFETYConfirmation prompts TPR_SATY_ACHAR1XFELD
TECHNAMTechnical names TPR_TECH_ACHAR1XFELD
OVERVIEWOverview icon TPR_OVER_ACHAR1XFELD
MERGEICONMerge icon TPR_MERG_ACHAR1XFELD
COPYICONCopy TPR_COPY_ACHAR1XFELD
DELICONDelete TPR_DELI_ACHAR1XFELD
SHOW_DATECheckbox XFELDCHAR1XFELD

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 table
DATA: 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 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!