TPVAR2 SAP (Variants for Transfer Pricing: Assign Pricing Procedure) Table details
Description: Variants for Transfer Pricing: Assign Pricing Procedure
Table field list including key, data, relationships and ABAP select examples
TPVAR2 is a standard SAP Table which is used to store Variants for Transfer Pricing: Assign Pricing Procedure data and is available within R/3 SAP systems depending on the version and release level.
The TPVAR2 table consists of various fields, each holding specific information or linking keys about Variants for Transfer Pricing: Assign Pricing Procedure data available in SAP. These include KOKRS (Controlling Area), VARIANT (Variant for Finding Transfer Price), LFDNR (Sequence Number), KALSM (Procedure (Pricing, Output Control, Acct. Det., Costing,...)).. 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: Not classified
SAP TPVAR2 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 | |||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
VARIANT | Variant for Finding Transfer Price | TPVARIANT | CHAR | 3 | TPVAR1 | ALPHA | TPVARIANT | ||
LFDNR | Sequence Number | LFDNR | CHAR | 3 | LFDNR | ||||
KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | T683 | KALSM | |||
KALSM_ORD | Variants for transfer pricing: order of pricing procedures | TPVARORDNR | NUMC | 2 | NUM2 |
Key field | Non-key field |
How do I retrieve data from SAP table TPVAR2 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TPVAR2 to SELECT all data from the tableDATA: WA_TPVAR2 TYPE TPVAR2.
SELECT SINGLE *
FROM TPVAR2
INTO CORRESPONDING FIELDS OF WA_TPVAR2
WHERE...
How to access SAP table TPVAR2
Within an ECC or HANA version of SAP you can also view further information about TPVAR2 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