PC20A SAP (Cost Distribution) Structure details
Description: Cost Distribution
Structure field list including key, data, relationships and ABAP select examples
PC20A 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 "Cost Distribution" 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_PC20A TYPE PC20A.
The PC20A table consists of various fields, each holding specific information or linking keys about Cost Distribution data available in SAP. These include SEQNO (Sequential number), KBUNN (Company Code), KGBNN (Business Area), KSTNN (Cost Center).. 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: Cannot Be Enhanced
SAP PC20A 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 |
APZNR | PC205 assignment | APZNR | RAW | 1 | PRSPL | ||||
SEQNO | Sequential number | SEQHX | RAW | 1 | RAW1 | ||||
KBUNN | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
KGBNN | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
KSTNN | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
KPRNN | Percentage rate for cost distribution | KPRNN | DEC | 5(2) | DEC3_2 | ||||
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
AUFNN | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
PSPNN | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
SGMNT | Segment for Segmental Reporting | FB_SEGMENT | CHAR | 10 | Assigned to domain | ALPHA | FB_SEGMENT | ||
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER |
Key field | Non-key field |
How do I retrieve data from SAP structure PC20A using ABAP code?
As PC20A 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 PC20A as there is no data to select.How to access SAP table PC20A
Within an ECC or HANA version of SAP you can also view further information about PC20A 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