HRTNM_SNAP_COST_ALV SAP (Individual Cost) Structure details
Description: Individual Cost
Related tables to HRTNM_SNAP_COST_ALV
Access table HRTNM_SNAP_COST_ALV
Structure field list including key, data, relationships and ABAP select examples
HRTNM_SNAP_COST_ALV 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 "Individual Cost" 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_HRTNM_SNAP_COST_ALV TYPE HRTNM_SNAP_COST_ALV.
The HRTNM_SNAP_COST_ALV table consists of various fields, each holding specific information or linking keys about Individual Cost data available in SAP. These include COCAC (Cost Category), COTYP (Cost type), CAGRC (Cost category group), CAGRT (Cost Category Group Type).. 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 HRTNM_SNAP_COST_ALV 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 |
KOBES | Cost item | KOBES | CHAR | 8 | Assigned to domain | KOBES | |||
COCAC | Cost Category | HRTNM_COCAC | CHAR | 8 | CHAR8 | ||||
COTYP | Cost type | HRTNM_COTYP | CHAR | 2 | HRTNM_COTYP | ||||
CAGRC | Cost category group | HRTNM_CAGRC | CHAR | 8 | CHAR8 | ||||
CAGRT | Cost Category Group Type | HRTNM_CAGRT | CHAR | 2 | HRTNM_CAGRT | ||||
C2483 | Generic 2483 Cost Category | HRTNMXX_C2483 | CHAR | 8 | HRTNMXX_C2483 | ||||
SUBVE | Subvention | HRTNM_SUBVE | CHAR | 1 | CHAR1 | ||||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
AMPTT | Amount PTT by person | HRTNM_AMPTT | CURR | 15(2) | HRTNM_AMPTT | ||||
AMHTT | Amount HTT by person | HRTNM_AMHTT | CURR | 15(2) | HRTNM_AMHTT | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
ONGHT | Number of Overnight Stays | HRTNM_ONGHT | NUMC | 5 | NUMC5 | ||||
IORDT | Internal order date | HRTNM_IORDT | DATS | 8 | HRTNM_ACCDT | ||||
INVDT | Invoice date | HRTNM_INVDT | DATS | 8 | HRTNM_ACCDT | ||||
ACCDT | Charging Date | HRTNM_ACCDT | DATS | 8 | HRTNM_ACCDT |
Key field | Non-key field |
How do I retrieve data from SAP structure HRTNM_SNAP_COST_ALV using ABAP code?
As HRTNM_SNAP_COST_ALV 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 HRTNM_SNAP_COST_ALV as there is no data to select.How to access SAP table HRTNM_SNAP_COST_ALV
Within an ECC or HANA version of SAP you can also view further information about HRTNM_SNAP_COST_ALV 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