SAP HR_IT_READ_RT_WT Function Module for
HR_IT_READ_RT_WT is a standard hr it read rt wt 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 hr it read rt wt FM, simply by entering the name HR_IT_READ_RT_WT into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPAYIT_VOCI
Program Name: SAPLHRPAYIT_VOCI
Main Program: SAPLHRPAYIT_VOCI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_IT_READ_RT_WT 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 'HR_IT_READ_RT_WT'".
EXPORTING
IM_LGART = "
IM_BEGDA = "
IM_ENDDA = "
* IM_TAKE_ITIOT = "
* IM_LAST_NONZERO_ONLY = "
* IM_LAST_ONLY = 'S' "
* IM_FILL_WTTAB = "
IMPORTING
EX_BETRG = "
EX_ANZHL = "
TABLES
IM_RT_TAB = "
* EX_WT_TAB = "
* IM_PAYROLL_RESULT = "
IMPORTING Parameters details for HR_IT_READ_RT_WT
IM_LGART -
Data type: LGARTOptional: No
Call by Reference: Yes
IM_BEGDA -
Data type: DOptional: No
Call by Reference: Yes
IM_ENDDA -
Data type: DOptional: No
Call by Reference: Yes
IM_TAKE_ITIOT -
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
IM_LAST_NONZERO_ONLY -
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
IM_LAST_ONLY -
Data type: CDefault: 'S'
Optional: Yes
Call by Reference: Yes
IM_FILL_WTTAB -
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HR_IT_READ_RT_WT
EX_BETRG -
Data type: MAXBTOptional: No
Call by Reference: No ( called with pass by value option)
EX_ANZHL -
Data type: PRANZOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_IT_READ_RT_WT
IM_RT_TAB -
Data type: PITRE_TAB_RT_INFOOptional: No
Call by Reference: Yes
EX_WT_TAB -
Data type: PITRE_TAB_WT_INFOOptional: Yes
Call by Reference: Yes
IM_PAYROLL_RESULT -
Data type: P15_TAB_PAYIT_RESULTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for HR_IT_READ_RT_WT 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_ex_betrg | TYPE MAXBT, " | |||
| lv_im_lgart | TYPE LGART, " | |||
| lt_im_rt_tab | TYPE STANDARD TABLE OF PITRE_TAB_RT_INFO, " | |||
| lv_ex_anzhl | TYPE PRANZ, " | |||
| lv_im_begda | TYPE D, " | |||
| lt_ex_wt_tab | TYPE STANDARD TABLE OF PITRE_TAB_WT_INFO, " | |||
| lv_im_endda | TYPE D, " | |||
| lt_im_payroll_result | TYPE STANDARD TABLE OF P15_TAB_PAYIT_RESULT, " | |||
| lv_im_take_itiot | TYPE BOOLE_D, " | |||
| lv_im_last_nonzero_only | TYPE BOOLE_D, " | |||
| lv_im_last_only | TYPE C, " 'S' | |||
| lv_im_fill_wttab | TYPE BOOLE_D. " |
|   CALL FUNCTION 'HR_IT_READ_RT_WT' " |
| EXPORTING | ||
| IM_LGART | = lv_im_lgart | |
| IM_BEGDA | = lv_im_begda | |
| IM_ENDDA | = lv_im_endda | |
| IM_TAKE_ITIOT | = lv_im_take_itiot | |
| IM_LAST_NONZERO_ONLY | = lv_im_last_nonzero_only | |
| IM_LAST_ONLY | = lv_im_last_only | |
| IM_FILL_WTTAB | = lv_im_fill_wttab | |
| IMPORTING | ||
| EX_BETRG | = lv_ex_betrg | |
| EX_ANZHL | = lv_ex_anzhl | |
| TABLES | ||
| IM_RT_TAB | = lt_im_rt_tab | |
| EX_WT_TAB | = lt_ex_wt_tab | |
| IM_PAYROLL_RESULT | = lt_im_payroll_result | |
| . " HR_IT_READ_RT_WT | ||
ABAP code using 7.40 inline data declarations to call FM HR_IT_READ_RT_WT
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.| DATA(ld_im_last_only) | = 'S'. | |||
Search for further information about these or an SAP related objects