SAP RH_GET_BUFFER_PLOG_TAB Function Module for Read infotype buffer, PLOG_TAB and other fields from MPHCOM00/FHVTAB00
RH_GET_BUFFER_PLOG_TAB is a standard rh get buffer plog tab SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read infotype buffer, PLOG_TAB and other fields from MPHCOM00/FHVTAB00 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 get buffer plog tab FM, simply by entering the name RH_GET_BUFFER_PLOG_TAB into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHAP
Program Name: SAPLRHAP
Main Program: SAPLRHAP
Appliation area: H
Release date: 02-Sep-1999
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RH_GET_BUFFER_PLOG_TAB 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_GET_BUFFER_PLOG_TAB'"Read infotype buffer, PLOG_TAB and other fields from MPHCOM00/FHVTAB00.
IMPORTING
BUFFER_COUNT_EXP = "BUFFER_COUNT
BUFFO_OBJECT_COUNT_EXP = "BUFFO_OBJECT_COUNT
PLOG_TAB_COUNT_EXP = "PLOG_TAB_COUNT
TB_BUFFER_COUNT_EXP = "TB_BUFFER_COUNT
TB_PLOG_TAB_COUNT_EXP = "TB_PLOG_TAB_COUNT
TABLES
BUFFER_TAB = "BUFFER
BUFFO_TAB = "BUFFO
PLOG_TAB_TAB = "PLOG_TAB
* TB_BUFFER_TAB = "TB_BUFFER
* TB_PLOG_TAB_TAB = "TB_PLOG_TAB
EXPORTING Parameters details for RH_GET_BUFFER_PLOG_TAB
BUFFER_COUNT_EXP - BUFFER_COUNT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BUFFO_OBJECT_COUNT_EXP - BUFFO_OBJECT_COUNT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PLOG_TAB_COUNT_EXP - PLOG_TAB_COUNT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TB_BUFFER_COUNT_EXP - TB_BUFFER_COUNT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TB_PLOG_TAB_COUNT_EXP - TB_PLOG_TAB_COUNT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RH_GET_BUFFER_PLOG_TAB
BUFFER_TAB - BUFFER
Data type: HRBUFFEROptional: No
Call by Reference: No ( called with pass by value option)
BUFFO_TAB - BUFFO
Data type: P1000Optional: No
Call by Reference: No ( called with pass by value option)
PLOG_TAB_TAB - PLOG_TAB
Data type: HRDBTABOptional: No
Call by Reference: No ( called with pass by value option)
TB_BUFFER_TAB - TB_BUFFER
Data type: HRTBUFFEROptional: Yes
Call by Reference: No ( called with pass by value option)
TB_PLOG_TAB_TAB - TB_PLOG_TAB
Data type: HRTBUFFEROptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RH_GET_BUFFER_PLOG_TAB 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_buffer_tab | TYPE STANDARD TABLE OF HRBUFFER, " | |||
| lv_buffer_count_exp | TYPE HRBUFFER, " | |||
| lt_buffo_tab | TYPE STANDARD TABLE OF P1000, " | |||
| lv_buffo_object_count_exp | TYPE P1000, " | |||
| lt_plog_tab_tab | TYPE STANDARD TABLE OF HRDBTAB, " | |||
| lv_plog_tab_count_exp | TYPE HRDBTAB, " | |||
| lt_tb_buffer_tab | TYPE STANDARD TABLE OF HRTBUFFER, " | |||
| lv_tb_buffer_count_exp | TYPE HRTBUFFER, " | |||
| lt_tb_plog_tab_tab | TYPE STANDARD TABLE OF HRTBUFFER, " | |||
| lv_tb_plog_tab_count_exp | TYPE HRTBUFFER. " |
|   CALL FUNCTION 'RH_GET_BUFFER_PLOG_TAB' "Read infotype buffer, PLOG_TAB and other fields from MPHCOM00/FHVTAB00 |
| IMPORTING | ||
| BUFFER_COUNT_EXP | = lv_buffer_count_exp | |
| BUFFO_OBJECT_COUNT_EXP | = lv_buffo_object_count_exp | |
| PLOG_TAB_COUNT_EXP | = lv_plog_tab_count_exp | |
| TB_BUFFER_COUNT_EXP | = lv_tb_buffer_count_exp | |
| TB_PLOG_TAB_COUNT_EXP | = lv_tb_plog_tab_count_exp | |
| TABLES | ||
| BUFFER_TAB | = lt_buffer_tab | |
| BUFFO_TAB | = lt_buffo_tab | |
| PLOG_TAB_TAB | = lt_plog_tab_tab | |
| TB_BUFFER_TAB | = lt_tb_buffer_tab | |
| TB_PLOG_TAB_TAB | = lt_tb_plog_tab_tab | |
| . " RH_GET_BUFFER_PLOG_TAB | ||
ABAP code using 7.40 inline data declarations to call FM RH_GET_BUFFER_PLOG_TAB
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