SAP K_KKR_HNODE_LIST_WITH_TEXTMOD Function Module for
K_KKR_HNODE_LIST_WITH_TEXTMOD is a standard k kkr hnode list with textmod 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 k kkr hnode list with textmod FM, simply by entering the name K_KKR_HNODE_LIST_WITH_TEXTMOD into the relevant SAP transaction such as SE37 or SE38.
Function Group: KRHT
Program Name: SAPLKRHT
Main Program: SAPLKRHT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_KKR_HNODE_LIST_WITH_TEXTMOD 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 'K_KKR_HNODE_LIST_WITH_TEXTMOD'".
EXPORTING
* CURHIEBG = ' ' "Cursor in the VDCO table
* FEATURES = ' ' "Indicator: with VDCO_INFO_TBL, return
HIART = "Hierarchy type
HIEID = "Hierarchy ID
* STATUS = '1' "Editing status
TOPHIEBG = "Upper hierarchy code
TABLES
VDCO_INFO_TBL = "List of the VDCO objects (with current texts)
EXCEPTIONS
CURRENT_VDCO_OBJECT_NOT_FOUND = 1 VDCO_TBL_IS_EMPTY = 2
IMPORTING Parameters details for K_KKR_HNODE_LIST_WITH_TEXTMOD
CURHIEBG - Cursor in the VDCO table
Data type: CKRCO-VARHIEBGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FEATURES - Indicator: with VDCO_INFO_TBL, return
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
HIART - Hierarchy type
Data type: CKRCO-HIARTOptional: No
Call by Reference: No ( called with pass by value option)
HIEID - Hierarchy ID
Data type: CKRCO-HIEIDOptional: No
Call by Reference: No ( called with pass by value option)
STATUS - Editing status
Data type:Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TOPHIEBG - Upper hierarchy code
Data type: CKRCO-VARHIEBGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for K_KKR_HNODE_LIST_WITH_TEXTMOD
VDCO_INFO_TBL - List of the VDCO objects (with current texts)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CURRENT_VDCO_OBJECT_NOT_FOUND - Starting point is not in the VDCO table
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
VDCO_TBL_IS_EMPTY - List of the VDCO objects is empty
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for K_KKR_HNODE_LIST_WITH_TEXTMOD 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: | ||||
| lv_curhiebg | TYPE CKRCO-VARHIEBG, " SPACE | |||
| lt_vdco_info_tbl | TYPE STANDARD TABLE OF CKRCO, " | |||
| lv_current_vdco_object_not_found | TYPE CKRCO, " | |||
| lv_features | TYPE CKRCO, " SPACE | |||
| lv_vdco_tbl_is_empty | TYPE CKRCO, " | |||
| lv_hiart | TYPE CKRCO-HIART, " | |||
| lv_hieid | TYPE CKRCO-HIEID, " | |||
| lv_status | TYPE CKRCO, " '1' | |||
| lv_tophiebg | TYPE CKRCO-VARHIEBG. " |
|   CALL FUNCTION 'K_KKR_HNODE_LIST_WITH_TEXTMOD' " |
| EXPORTING | ||
| CURHIEBG | = lv_curhiebg | |
| FEATURES | = lv_features | |
| HIART | = lv_hiart | |
| HIEID | = lv_hieid | |
| STATUS | = lv_status | |
| TOPHIEBG | = lv_tophiebg | |
| TABLES | ||
| VDCO_INFO_TBL | = lt_vdco_info_tbl | |
| EXCEPTIONS | ||
| CURRENT_VDCO_OBJECT_NOT_FOUND = 1 | ||
| VDCO_TBL_IS_EMPTY = 2 | ||
| . " K_KKR_HNODE_LIST_WITH_TEXTMOD | ||
ABAP code using 7.40 inline data declarations to call FM K_KKR_HNODE_LIST_WITH_TEXTMOD
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 VARHIEBG FROM CKRCO INTO @DATA(ld_curhiebg). | ||||
| DATA(ld_curhiebg) | = ' '. | |||
| DATA(ld_features) | = ' '. | |||
| "SELECT single HIART FROM CKRCO INTO @DATA(ld_hiart). | ||||
| "SELECT single HIEID FROM CKRCO INTO @DATA(ld_hieid). | ||||
| DATA(ld_status) | = '1'. | |||
| "SELECT single VARHIEBG FROM CKRCO INTO @DATA(ld_tophiebg). | ||||
Search for further information about these or an SAP related objects