HAP_S_BODY_ELEMENTS SAP (Body - Elements) Structure details
Description: Body - Elements
Related tables to HAP_S_BODY_ELEMENTS
Access table HAP_S_BODY_ELEMENTS
Structure field list including key, data, relationships and ABAP select examples
HAP_S_BODY_ELEMENTS 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 "Body - Elements" 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_HAP_S_BODY_ELEMENTS TYPE HAP_S_BODY_ELEMENTS.
The HAP_S_BODY_ELEMENTS table consists of various fields, each holding specific information or linking keys about Body - Elements data available in SAP. These include PARENT (Internal Row ID (Fixed - Foreign Key for Cell Tables)), CHILD (Internal Row ID (Fixed - Foreign Key for Cell Tables)), BROTHER (Internal Row ID (Fixed - Foreign Key for Cell Tables)), AP_LEVEL (Hierarchy Level).. 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 HAP_S_BODY_ELEMENTS 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 |
ROW_IID | Internal Row ID (Fixed - Foreign Key for Cell Tables) | HAP_ROW_IID | NUMC | 4 | |||||
PARENT | Internal Row ID (Fixed - Foreign Key for Cell Tables) | HAP_ROW_IID | NUMC | 4 | |||||
CHILD | Internal Row ID (Fixed - Foreign Key for Cell Tables) | HAP_ROW_IID | NUMC | 4 | |||||
BROTHER | Internal Row ID (Fixed - Foreign Key for Cell Tables) | HAP_ROW_IID | NUMC | 4 | |||||
AP_LEVEL | Hierarchy Level | HAP_AP_LEVEL | NUMC | 2 | |||||
ROW_SORT | Sort Elements | HAP_ROW_SORT | NUMC | 4 | |||||
ELEMENT_TYPE | Appraisal Element Type | HAP_ELEMENT_TYPE | CHAR | 2 | Assigned to domain | OTYPE | |||
ELEMENT_ID | Appraisal Element ID | HAP_ELEMENT_ID | NUMC | 8 | NUM08 | ||||
FOREIGN_TYPE | Appraisal Element - External Type | HAP_ELEMENT_FOREIGN_TYPE | CHAR | 2 | Assigned to domain | OTYPE | |||
FOREIGN_ID | Appraisal Element - External ID | HAP_ELEMENT_FOREIGN_ID | CHAR | 45 | CHAR45 | ||||
NUMBERING | Appraisal Element Numbering | HAP_ELEMENT_NUMBERING | CHAR | 40 | TEXT40 | ||||
NAME | Name of Appraisal Element | HAP_ELEMENT_NAME_XL | CHAR | 80 | TEXT80 | ||||
FREE_INPUT | Flag: Free Input for Appraisal Element Name | HAP_FREE_INPUT | CHAR | 1 | CHAR1_X | ||||
LAYOUT_TEXT | Text Layout | HAP_LAYOUT_TEXT | CHAR | 1 | HAP_LAYOUT_TEXT | ||||
LAYOUT_VALUES | Layout of Values (Dropdown List) | HAP_LAYOUT_VALUES | CHAR | 1 | HAP_LAYOUT_VALUES | ||||
LAYOUT_NOTE_LINE | Layout: Lines Reserved for Note | HAP_LAYOUT_NOTE_LINE | NUMC | 1 | NUMC1 | ||||
LAYOUT_MAX_CHAR | Layout: Maximum Number of Characters in Note | HAP_LAYOUT_MAX_CHAR | NUMC | 3 | NUMC3 | ||||
EXIT_ADD_FIX | Enhancement: Fixed Enhancement | HAP_EXIT_ADD_FIX | CHAR | 30 | Assigned to domain | HAP_AP_EXIT | |||
EXIT_ADD_FREE | Enhancement: Free Enhancement | HAP_EXIT_ADD_FREE | CHAR | 30 | Assigned to domain | HAP_AP_EXIT | |||
EXIT_DELETE | Enhancement: Deletion of an Element | HAP_EXIT_DELETE | CHAR | 30 | Assigned to domain | HAP_AP_EXIT | |||
USED_COLUMNS | Two digit number | NUMC2 | NUMC | 2 | NUMC2 | ||||
AVAILABILITY | Element Availability | HAP_ROW_AVAILABILITY | CHAR | 1 | HAP_ROW_AVAILABILITY |
Key field | Non-key field |
How do I retrieve data from SAP structure HAP_S_BODY_ELEMENTS using ABAP code?
As HAP_S_BODY_ELEMENTS 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 HAP_S_BODY_ELEMENTS as there is no data to select.How to access SAP table HAP_S_BODY_ELEMENTS
Within an ECC or HANA version of SAP you can also view further information about HAP_S_BODY_ELEMENTS 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