TP39 SAP (Selection Variants) Table details
Dictionary Type: Table
Description: Selection Variants
Description: Selection Variants
Table field list including key, data, relationships and ABAP select examples
TP39 is a standard SAP Table which is used to store Selection Variants data and is available within R/3 SAP systems depending on the version and release level.
The TP39 table consists of various fields, each holding specific information or linking keys about Selection Variants data available in SAP. These include SELVAR (Selection Variant for Total Commitment), CURRENCY_DEFAULT (Display Currency), RATE_TYPE (Exchange Rate Type), LAYOUT (Layout for a List).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
Text table = TP39T
SAP TP39 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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
SELVAR | Selection Variant for Total Commitment | BP_TC_DTE_SELVAR | CHAR | 20 | BP_TC_DOM_SELVAR | FSBP_TC_SELVAR | |||
CURRENCY_DEFAULT | Display Currency | BP_TC_DTE_CURRENCY_DEFAULT | CUKY | 5 | TCURC | WAERS | FSBP_TC_CURRENCY_DEF | ||
RATE_TYPE | Exchange Rate Type | BP_TC_DTE_RATE_TYPE | CHAR | 4 | TCURV | KURST | |||
LAYOUT | Layout for a List | BP_TC_DTE_LAYOUT | CHAR | 12 | SLIS_VARI | FSBP_TC_LAYOUT | FSBP_TC_LAYOUT | ||
LIST_TYPE | List Output | BP_TC_DTE_LIST_TYPE | CHAR | 1 | BP_TC_DOM_LIST_TYPE | ||||
GROUP_NOT_ACTIVE | Deactivate Grouping for Total Commitment | BP_TC_DTE_GROUP_NOT_ACTIVE | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TP39 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TP39 to SELECT all data from the tableDATA: WA_TP39 TYPE TP39.
SELECT SINGLE *
FROM TP39
INTO CORRESPONDING FIELDS OF WA_TP39
WHERE...
How to access SAP table TP39
Within an ECC or HANA version of SAP you can also view further information about TP39 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