HAP_S_BODY_ELEMENTS SAP (Body - Elements) Structure details

Dictionary Type: Structure
Description: Body - Elements




ABAP Code to SELECT data from HAP_S_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_IIDInternal Row ID (Fixed - Foreign Key for Cell Tables) HAP_ROW_IIDNUMC4
PARENTInternal Row ID (Fixed - Foreign Key for Cell Tables) HAP_ROW_IIDNUMC4
CHILDInternal Row ID (Fixed - Foreign Key for Cell Tables) HAP_ROW_IIDNUMC4
BROTHERInternal Row ID (Fixed - Foreign Key for Cell Tables) HAP_ROW_IIDNUMC4
AP_LEVELHierarchy Level HAP_AP_LEVELNUMC2
ROW_SORTSort Elements HAP_ROW_SORTNUMC4
ELEMENT_TYPEAppraisal Element Type HAP_ELEMENT_TYPECHAR2Assigned to domainOTYPE
ELEMENT_IDAppraisal Element ID HAP_ELEMENT_IDNUMC8NUM08
FOREIGN_TYPEAppraisal Element - External Type HAP_ELEMENT_FOREIGN_TYPECHAR2Assigned to domainOTYPE
FOREIGN_IDAppraisal Element - External ID HAP_ELEMENT_FOREIGN_IDCHAR45CHAR45
NUMBERINGAppraisal Element Numbering HAP_ELEMENT_NUMBERINGCHAR40TEXT40
NAMEName of Appraisal Element HAP_ELEMENT_NAME_XLCHAR80TEXT80
FREE_INPUTFlag: Free Input for Appraisal Element Name HAP_FREE_INPUTCHAR1CHAR1_X
LAYOUT_TEXTText Layout HAP_LAYOUT_TEXTCHAR1HAP_LAYOUT_TEXT
LAYOUT_VALUESLayout of Values (Dropdown List) HAP_LAYOUT_VALUESCHAR1HAP_LAYOUT_VALUES
LAYOUT_NOTE_LINELayout: Lines Reserved for Note HAP_LAYOUT_NOTE_LINENUMC1NUMC1
LAYOUT_MAX_CHARLayout: Maximum Number of Characters in Note HAP_LAYOUT_MAX_CHARNUMC3NUMC3
EXIT_ADD_FIXEnhancement: Fixed Enhancement HAP_EXIT_ADD_FIXCHAR30Assigned to domainHAP_AP_EXIT
EXIT_ADD_FREEEnhancement: Free Enhancement HAP_EXIT_ADD_FREECHAR30Assigned to domainHAP_AP_EXIT
EXIT_DELETEEnhancement: Deletion of an Element HAP_EXIT_DELETECHAR30Assigned to domainHAP_AP_EXIT
USED_COLUMNSTwo digit number NUMC2NUMC2NUMC2
AVAILABILITYElement Availability HAP_ROW_AVAILABILITYCHAR1HAP_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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!