SAP C026_BOTTOM_UP_STRUC_CLASSES Function Module for
C026_BOTTOM_UP_STRUC_CLASSES is a standard c026 bottom up struc classes SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for c026 bottom up struc classes FM, simply by entering the name C026_BOTTOM_UP_STRUC_CLASSES into the relevant SAP transaction such as SE37 or SE38.
Function Group: C026
Program Name: SAPLC026
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function C026_BOTTOM_UP_STRUC_CLASSES pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'C026_BOTTOM_UP_STRUC_CLASSES'".
EXPORTING
I_KLART = "Class Type
I_CLINT = "Internal Class Number
I_KLAH = "Class Header Data
I_HIER_ALLOWED = "Hierarchy Allowed
I_EXCLUDE_CLINT = "Internal Class Number
I_DATE = "Date and Time, Current (Application Server) Date
I_ONE_STEP = "Screens, display user entry
TABLES
IT_KSSK = "Classification: Allocations in Buffer
ET_HCL = "Classification: Internal Table for Class Hierarchy
IMPORTING Parameters details for C026_BOTTOM_UP_STRUC_CLASSES
I_KLART - Class Type
Data type: KLAH-KLARTOptional: No
Call by Reference: No ( called with pass by value option)
I_CLINT - Internal Class Number
Data type: KLAH-CLINTOptional: No
Call by Reference: No ( called with pass by value option)
I_KLAH - Class Header Data
Data type: KLAHOptional: No
Call by Reference: No ( called with pass by value option)
I_HIER_ALLOWED - Hierarchy Allowed
Data type: TCLA-HIERARCHIEOptional: No
Call by Reference: No ( called with pass by value option)
I_EXCLUDE_CLINT - Internal Class Number
Data type: KLAH-CLINTOptional: No
Call by Reference: No ( called with pass by value option)
I_DATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_ONE_STEP - Screens, display user entry
Data type: SY-DATAROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for C026_BOTTOM_UP_STRUC_CLASSES
IT_KSSK - Classification: Allocations in Buffer
Data type: CLZUORD_PUOptional: No
Call by Reference: Yes
ET_HCL - Classification: Internal Table for Class Hierarchy
Data type: GHCLOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for C026_BOTTOM_UP_STRUC_CLASSES Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_it_kssk | TYPE STANDARD TABLE OF CLZUORD_PU, " | |||
| lv_i_klart | TYPE KLAH-KLART, " | |||
| lt_et_hcl | TYPE STANDARD TABLE OF GHCL, " | |||
| lv_i_clint | TYPE KLAH-CLINT, " | |||
| lv_i_klah | TYPE KLAH, " | |||
| lv_i_hier_allowed | TYPE TCLA-HIERARCHIE, " | |||
| lv_i_exclude_clint | TYPE KLAH-CLINT, " | |||
| lv_i_date | TYPE SY-DATUM, " | |||
| lv_i_one_step | TYPE SY-DATAR. " |
|   CALL FUNCTION 'C026_BOTTOM_UP_STRUC_CLASSES' " |
| EXPORTING | ||
| I_KLART | = lv_i_klart | |
| I_CLINT | = lv_i_clint | |
| I_KLAH | = lv_i_klah | |
| I_HIER_ALLOWED | = lv_i_hier_allowed | |
| I_EXCLUDE_CLINT | = lv_i_exclude_clint | |
| I_DATE | = lv_i_date | |
| I_ONE_STEP | = lv_i_one_step | |
| TABLES | ||
| IT_KSSK | = lt_it_kssk | |
| ET_HCL | = lt_et_hcl | |
| . " C026_BOTTOM_UP_STRUC_CLASSES | ||
ABAP code using 7.40 inline data declarations to call FM C026_BOTTOM_UP_STRUC_CLASSES
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single KLART FROM KLAH INTO @DATA(ld_i_klart). | ||||
| "SELECT single CLINT FROM KLAH INTO @DATA(ld_i_clint). | ||||
| "SELECT single HIERARCHIE FROM TCLA INTO @DATA(ld_i_hier_allowed). | ||||
| "SELECT single CLINT FROM KLAH INTO @DATA(ld_i_exclude_clint). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_date). | ||||
| "SELECT single DATAR FROM SY INTO @DATA(ld_i_one_step). | ||||
Search for further information about these or an SAP related objects