TWKG SAP (Sales Price Calculation: Pricing Type) Table details
Dictionary Type: Table
Description: Sales Price Calculation: Pricing Type
Description: Sales Price Calculation: Pricing Type
Table field list including key, data, relationships and ABAP select examples
TWKG is a standard SAP Table which is used to store Sales Price Calculation: Pricing Type data and is available within R/3 SAP systems depending on the version and release level.
The TWKG table consists of various fields, each holding specific information or linking keys about Sales Price Calculation: Pricing Type data available in SAP. These include KALGR (Pricing type), VKALS (Sales Pricing: Sales Price Calculation Schema), KZKAB (Pricing document creation), KZBKA (ID: Background price calculation).. 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 or numeric)
Text table = TWKGT
SAP TWKG 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 | T000 | MANDT | |||
KALGR | Pricing type | KALGR | CHAR | 4 | KALGR | ||||
VKALS | Sales Pricing: Sales Price Calculation Schema | VKALS | CHAR | 6 | T683 | KALSM | |||
KZKAB | Pricing document creation | KZKAB | CHAR | 1 | KZKAB | ||||
KZBKA | ID: Background price calculation | KZBKA | CHAR | 1 | XFELD | ||||
KBART | Pricing document type | KBART | CHAR | 4 | KBART | ||||
EGKAL | Data held when basic purchase price changes | EGKAL | CHAR | 1 | EGKAL | ||||
KWAER | Sales Pricing: Pricing Currency | KAWAER | CUKY | 5 | TCURC | WAERS | |||
KURST | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
AVWAE | SP Calc.: Alternative Sales Currency | AVWAE | CUKY | 5 | TCURC | WAERS |
Key field | Non-key field |
How do I retrieve data from SAP table TWKG using ABAP code
The following ABAP code Example will allow you to do a basic selection on TWKG to SELECT all data from the tableDATA: WA_TWKG TYPE TWKG.
SELECT SINGLE *
FROM TWKG
INTO CORRESPONDING FIELDS OF WA_TWKG
WHERE...
How to access SAP table TWKG
Within an ECC or HANA version of SAP you can also view further information about TWKG 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