REYCPOSTCOST SAP (Cost items) Structure details
Description: Cost items
Structure field list including key, data, relationships and ABAP select examples
REYCPOSTCOST 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 items" 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_REYCPOSTCOST TYPE REYCPOSTCOST.
The REYCPOSTCOST table consists of various fields, each holding specific information or linking keys about Cost items data available in SAP. These include OBJNR (Object Number), KSTAR (Cost Element), WOGBTR (Net Amount in Object Currency), OWAER (Currency Key).. 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 REYCPOSTCOST 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 | Assigned to domain | BUKRS | BUK | C_T001 | |
OBJNR | Object Number | RECAOBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
WOGBTR | Net Amount in Object Currency | RECONETAMOUNT | CURR | 15(2) | RECACURR | ||||
OWAER | Currency Key | OWAER | CUKY | 5 | Assigned to domain | WAERS | OWS | ||
REFBK | Company code of FI document | CO_REFBK | CHAR | 4 | Assigned to domain | BUKRS | |||
REFGJ | Fiscal year of reference document | CO_REFGJ | NUMC | 4 | GJAHR | GJAHR | |||
REFBN | Reference Document Number | CO_REFBN | CHAR | 10 | ALPHA | BELNR | |||
REFBZ_FI | Posting Item of FI Reference Document | REFBZ_FI | NUMC | 3 | BUZEI | ||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
BELNR | Document Number | CO_BELNR | CHAR | 10 | Assigned to domain | ALPHA | CO_BELNR | BLN | |
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 |
Key field | Non-key field |
How do I retrieve data from SAP structure REYCPOSTCOST using ABAP code?
As REYCPOSTCOST 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 REYCPOSTCOST as there is no data to select.How to access SAP table REYCPOSTCOST
Within an ECC or HANA version of SAP you can also view further information about REYCPOSTCOST 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