KWFCOST SAP (Period relevant task cost data) Structure details
Description: Period relevant task cost data
Structure field list including key, data, relationships and ABAP select examples
KWFCOST is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Period relevant task cost data" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_KWFCOST TYPE KWFCOST.
The KWFCOST table consists of various fields, each holding specific information or linking keys about Period relevant task cost data data available in SAP. These include KOKRS (Controlling Area), PLVAR (Plan Version), OTYPE (Object Type), OBJID (Object ID).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP KWFCOST structure 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 | |||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
PLVAR | Plan Version | PLVAR | CHAR | 2 | T778P | PLVAR | POP | ||
OTYPE | Object Type | OTYPE | CHAR | 2 | T778O | OTYPE | POT | ||
OBJID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
DATBI | Valid To Date | DATBI | DATS | 8 | DATUM | ||||
DATAB | Valid-From Date | DATAB | DATS | 8 | DATUM | ||||
PERBI | Last Period | TO_P | NUMC | 3 | RPMAX | BPE | |||
GJRBI | Valid-to year | GBISJ | NUMC | 4 | GJAHR | GJAHR | |||
PERAB | First period | FROM_P | NUMC | 3 | RPMAX | VPE | |||
GJRAB | Valid-from year | GABJA | NUMC | 4 | GJAHR | GJAHR | |||
LSTAR | Activity Type | LSTAR | CHAR | 6 | CSLA | LSTAR | LAR | LART_EMPTY | |
UNIT | Unit of Measure | ABC_UNIT | UNIT | 3 | T006 | CUNIT | MEINS | ||
QUANTITY | CO-ABC Quantity | ABC_QUANT | QUAN | 15(3) | ABC_QUANT | ||||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
KSGRU | Cost Center Group | KSGRU | CHAR | 15 | GRPNAME | KSG |
Key field | Non-key field |
How do I retrieve data from SAP structure KWFCOST using ABAP code?
As KWFCOST is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on KWFCOST as there is no data to select.How to access SAP table KWFCOST
Within an ECC or HANA version of SAP you can also view further information about KWFCOST 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