SAP RH_SHOW_INTERNALS Function Module for Display Internal Information
RH_SHOW_INTERNALS is a standard rh show internals SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display Internal Information processing and below is the pattern details for this FM, 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 rh show internals FM, simply by entering the name RH_SHOW_INTERNALS into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRBAS00TOOLS_PP01
Program Name: SAPLHRBAS00TOOLS_PP01
Main Program: SAPLHRBAS00TOOLS_PP01
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RH_SHOW_INTERNALS 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 'RH_SHOW_INTERNALS'"Display Internal Information.
EXPORTING
* DUMP_LOK_SYST = "System Fields
* DUMP_LOK_STRUCTURE_BUFFO = "Structure for buffo_object_count and buffo_max
* DUMP_LOK_DYN_TAB_POINTER = "Dyn_tab_pointer
* DUMP_LOK_PPHDR = "Table pphdr
* DUMP_LOK_PPHDX = "Table pphdx
* DUMP_LOK_STRUCTURE_GLOB_FIELDS = "Global HR-IPA fields
* DUMP_LOK_PPPAR = "Global parameters PPPAR
* DUMP_LOK_STRUCTURE_GLOB_PARAM = "Structure for DEF_BEGDA and DEF_ENDDA
* DUMP_LOK_STRUCTURE_FIELD_SYMB = "Field Symbols
* DUMP_LOK_ENQUEUE_KEY = "Enqueue Keys
* DUMP_LOK_INV_ENQUEUE_KEY = "Inv. Enqueue Keys
* DUMP_LOK_BUFFER_COUNT = "No. of Entries in Table Buffer
* DUMP_LOK_STRUCTURE_BUF = "Structure for buf_pointer and anz_buf_index
TABLES
* DUMP_LOK_ENQ_TAB = "Enqueue table
* DUMP_LOK_BUF_INDEX = "Table buf-index
* DUMP_LOK_BUFFER = "Table Buffer
* DUMP_LOK_BUFFO = "Table Buffer
* DUMP_LOK_DYN_TAB = "Table dyn_tab
* DUMP_LOK_PLOG_TAB = "Table plog_tab
* DUMP_LOK_DATE_VIEW = "Table date_view
IMPORTING Parameters details for RH_SHOW_INTERNALS
DUMP_LOK_SYST - System Fields
Data type: SYSTOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_STRUCTURE_BUFFO - Structure for buffo_object_count and buffo_max
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_DYN_TAB_POINTER - Dyn_tab_pointer
Data type: POptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_PPHDR - Table pphdr
Data type: PPHDROptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_PPHDX - Table pphdx
Data type: PPHDXOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_STRUCTURE_GLOB_FIELDS - Global HR-IPA fields
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_PPPAR - Global parameters PPPAR
Data type: PPPAROptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_STRUCTURE_GLOB_PARAM - Structure for DEF_BEGDA and DEF_ENDDA
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_STRUCTURE_FIELD_SYMB - Field Symbols
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_ENQUEUE_KEY - Enqueue Keys
Data type: PPENQOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_INV_ENQUEUE_KEY - Inv. Enqueue Keys
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_BUFFER_COUNT - No. of Entries in Table Buffer
Data type: POptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_STRUCTURE_BUF - Structure for buf_pointer and anz_buf_index
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RH_SHOW_INTERNALS
DUMP_LOK_ENQ_TAB - Enqueue table
Data type: HRSOBIDOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_BUF_INDEX - Table buf-index
Data type: PPKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_BUFFER - Table Buffer
Data type: HRBUFFEROptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_BUFFO - Table Buffer
Data type: P1000Optional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_DYN_TAB - Table dyn_tab
Data type: HRDI_DYNOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_PLOG_TAB - Table plog_tab
Data type: HRDBTABOptional: Yes
Call by Reference: No ( called with pass by value option)
DUMP_LOK_DATE_VIEW - Table date_view
Data type: HRVIEWOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RH_SHOW_INTERNALS 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_dump_lok_syst | TYPE SYST, " | |||
| lt_dump_lok_enq_tab | TYPE STANDARD TABLE OF HRSOBID, " | |||
| lv_dump_lok_structure_buffo | TYPE HRSOBID, " | |||
| lv_dump_lok_dyn_tab_pointer | TYPE P, " | |||
| lv_dump_lok_pphdr | TYPE PPHDR, " | |||
| lv_dump_lok_pphdx | TYPE PPHDX, " | |||
| lt_dump_lok_buf_index | TYPE STANDARD TABLE OF PPKEY, " | |||
| lv_dump_lok_structure_glob_fields | TYPE PPKEY, " | |||
| lv_dump_lok_pppar | TYPE PPPAR, " | |||
| lt_dump_lok_buffer | TYPE STANDARD TABLE OF HRBUFFER, " | |||
| lt_dump_lok_buffo | TYPE STANDARD TABLE OF P1000, " | |||
| lv_dump_lok_structure_glob_param | TYPE P1000, " | |||
| lt_dump_lok_dyn_tab | TYPE STANDARD TABLE OF HRDI_DYN, " | |||
| lv_dump_lok_structure_field_symb | TYPE HRDI_DYN, " | |||
| lt_dump_lok_plog_tab | TYPE STANDARD TABLE OF HRDBTAB, " | |||
| lv_dump_lok_enqueue_key | TYPE PPENQ, " | |||
| lt_dump_lok_date_view | TYPE STANDARD TABLE OF HRVIEW, " | |||
| lv_dump_lok_inv_enqueue_key | TYPE HRVIEW, " | |||
| lv_dump_lok_buffer_count | TYPE P, " | |||
| lv_dump_lok_structure_buf | TYPE P. " |
|   CALL FUNCTION 'RH_SHOW_INTERNALS' "Display Internal Information |
| EXPORTING | ||
| DUMP_LOK_SYST | = lv_dump_lok_syst | |
| DUMP_LOK_STRUCTURE_BUFFO | = lv_dump_lok_structure_buffo | |
| DUMP_LOK_DYN_TAB_POINTER | = lv_dump_lok_dyn_tab_pointer | |
| DUMP_LOK_PPHDR | = lv_dump_lok_pphdr | |
| DUMP_LOK_PPHDX | = lv_dump_lok_pphdx | |
| DUMP_LOK_STRUCTURE_GLOB_FIELDS | = lv_dump_lok_structure_glob_fields | |
| DUMP_LOK_PPPAR | = lv_dump_lok_pppar | |
| DUMP_LOK_STRUCTURE_GLOB_PARAM | = lv_dump_lok_structure_glob_param | |
| DUMP_LOK_STRUCTURE_FIELD_SYMB | = lv_dump_lok_structure_field_symb | |
| DUMP_LOK_ENQUEUE_KEY | = lv_dump_lok_enqueue_key | |
| DUMP_LOK_INV_ENQUEUE_KEY | = lv_dump_lok_inv_enqueue_key | |
| DUMP_LOK_BUFFER_COUNT | = lv_dump_lok_buffer_count | |
| DUMP_LOK_STRUCTURE_BUF | = lv_dump_lok_structure_buf | |
| TABLES | ||
| DUMP_LOK_ENQ_TAB | = lt_dump_lok_enq_tab | |
| DUMP_LOK_BUF_INDEX | = lt_dump_lok_buf_index | |
| DUMP_LOK_BUFFER | = lt_dump_lok_buffer | |
| DUMP_LOK_BUFFO | = lt_dump_lok_buffo | |
| DUMP_LOK_DYN_TAB | = lt_dump_lok_dyn_tab | |
| DUMP_LOK_PLOG_TAB | = lt_dump_lok_plog_tab | |
| DUMP_LOK_DATE_VIEW | = lt_dump_lok_date_view | |
| . " RH_SHOW_INTERNALS | ||
ABAP code using 7.40 inline data declarations to call FM RH_SHOW_INTERNALS
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.Search for further information about these or an SAP related objects