EHPRCS_KEY_COST SAP (Key structure for costs) Structure details
Description: Key structure for costs
Related tables to EHPRCS_KEY_COST
Access table EHPRCS_KEY_COST
Structure field list including key, data, relationships and ABAP select examples
EHPRCS_KEY_COST 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 "Key structure for costs" 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_EHPRCS_KEY_COST TYPE EHPRCS_KEY_COST.
The EHPRCS_KEY_COST table consists of various fields, each holding specific information or linking keys about Key structure for costs data available in SAP. These include LGENT_CODE (Legal Entity), COST_CATEGORY_CATPIN (Unique phrase library identification), COST_CATEGORY_PHRID (Phrase), COST_TYPE_CATPIN (Unique phrase library identification).. 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 EHPRCS_KEY_COST 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 |
RECN | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
LGENT_CODE | Legal Entity | EHPRC_LEGENT | CHAR | 4 | Assigned to domain | BUKRS | |||
COST_CATEGORY_CATPIN | Unique phrase library identification | ESECATPIN | CHAR | 5 | Assigned to domain | ESDCATPIN | ESE | ||
COST_CATEGORY_PHRID | Phrase | ESEPHRID | CHAR | 15 | CHRI3 | ESDPHRID | ESA | ||
COST_TYPE_CATPIN | Unique phrase library identification | ESECATPIN | CHAR | 5 | Assigned to domain | ESDCATPIN | ESE | ||
COST_TYPE_PHRID | Phrase | ESEPHRID | CHAR | 15 | CHRI3 | ESDPHRID | ESA | ||
COST_STATUS_CATPIN | Unique phrase library identification | ESECATPIN | CHAR | 5 | Assigned to domain | ESDCATPIN | ESE | ||
COST_STATUS_PHRID | Phrase | ESEPHRID | CHAR | 15 | CHRI3 | ESDPHRID | ESA | ||
PLAN_COST | Planned Cost (BAPI) | EHPRC_COST_PLANNED_BAPI | DEC | 23(4) | BAPICURR1 | ||||
PLAN_COST_CURR | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
ACTUAL_COST | Actual Cost (BAPI) | EHPRC_COST_ACTUAL_BAPI | DEC | 23(4) | BAPICURR1 | ||||
ACTUAL_COST_CURR | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
COST_DATE | Field of type DATS | DATS | DATS | 8 | DATS | ||||
PARTNER_BP_CODE | Business Partner Number | BU_PARTNER | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | BPA | BUPA |
PARTNER_S_CODE | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
PARTNER_C_CODE | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
PARTNER_LE_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
REMARK | Remark - Cost | EHPRC_COST_REMARK | CHAR | 255 | EHPRC_TXT255 |
Key field | Non-key field |
How do I retrieve data from SAP structure EHPRCS_KEY_COST using ABAP code?
As EHPRCS_KEY_COST 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 EHPRCS_KEY_COST as there is no data to select.How to access SAP table EHPRCS_KEY_COST
Within an ECC or HANA version of SAP you can also view further information about EHPRCS_KEY_COST 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