RHCOST_OBJ SAP (Cost Distribution) Structure details
Description: Cost Distribution
Structure field list including key, data, relationships and ABAP select examples
RHCOST_OBJ 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_RHCOST_OBJ TYPE RHCOST_OBJ.
The RHCOST_OBJ table consists of various fields, each holding specific information or linking keys about Cost Distribution data available in SAP. These include GSBER (Business Area), KOKRS (Controlling Area), ROTYPE (Object type of real CO account assignment (internal only)), KOSTL (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: Can be enhanced (character-type)
SAP RHCOST_OBJ 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 |
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
ROTYPE | Object type of real CO account assignment (internal only) | OTYPE_REAL | CHAR | 2 | Assigned to domain | OTYPE | |||
KOSTL | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
POSNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
FIKRS | Financial Management Area | FIKRS | CHAR | 4 | Assigned to domain | FIKRS | FIK | ||
FINCODE | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
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 | |
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
DART | Service Type (Public Service Germany) | DART | CHAR | 2 | T5D7C | DART | DAR | ||
UDART | Service Category (Public Service Germany) | UDART | CHAR | 2 | T5D7E | UDART | UDA | ||
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 RHCOST_OBJ using ABAP code?
As RHCOST_OBJ 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 RHCOST_OBJ as there is no data to select.How to access SAP table RHCOST_OBJ
Within an ECC or HANA version of SAP you can also view further information about RHCOST_OBJ 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