SAP HR_IT_READ_CASELLA Function Module for









HR_IT_READ_CASELLA is a standard hr it read casella 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 casella FM, simply by entering the name HR_IT_READ_CASELLA 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_CASELLA 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_CASELLA'"
EXPORTING
IM_SEZIONE = "
IM_BEGDA = "
IM_ENDDA = "
* IM_TAKE_ITIOT = "
* IM_LAST_NONZERO_ONLY = "
* IM_FILL_WTTAB = "
IM_CASELLA = "

IMPORTING
EX_BETRG = "
EX_ANZHL = "

TABLES
IM_RT_TAB = "
* EX_WT_TAB = "
* IM_PAYROLL_RESULT = "
* IM_T5ITW5 = "
.



IMPORTING Parameters details for HR_IT_READ_CASELLA

IM_SEZIONE -

Data type: T5ITW5-CDQUA
Optional: No
Call by Reference: Yes

IM_BEGDA -

Data type: D
Optional: No
Call by Reference: Yes

IM_ENDDA -

Data type: D
Optional: No
Call by Reference: Yes

IM_TAKE_ITIOT -

Data type: BOOLE_D
Optional: Yes
Call by Reference: Yes

IM_LAST_NONZERO_ONLY -

Data type: BOOLE_D
Optional: Yes
Call by Reference: Yes

IM_FILL_WTTAB -

Data type: BOOLE_D
Optional: Yes
Call by Reference: Yes

IM_CASELLA -

Data type: T5ITW5-CODE
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for HR_IT_READ_CASELLA

EX_BETRG -

Data type: MAXBT
Optional: No
Call by Reference: No ( called with pass by value option)

EX_ANZHL -

Data type: PRANZ
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for HR_IT_READ_CASELLA

IM_RT_TAB -

Data type: PITRE_TAB_RT_INFO
Optional: No
Call by Reference: Yes

EX_WT_TAB -

Data type: PITRE_TAB_WT_INFO
Optional: Yes
Call by Reference: Yes

IM_PAYROLL_RESULT -

Data type: P15_TAB_PAYIT_RESULT
Optional: Yes
Call by Reference: Yes

IM_T5ITW5 -

Data type: T5ITW5
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for HR_IT_READ_CASELLA 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, "   
lt_im_rt_tab  TYPE STANDARD TABLE OF PITRE_TAB_RT_INFO, "   
lv_im_sezione  TYPE T5ITW5-CDQUA, "   
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, "   
lt_im_t5itw5  TYPE STANDARD TABLE OF T5ITW5, "   
lv_im_take_itiot  TYPE BOOLE_D, "   
lv_im_last_nonzero_only  TYPE BOOLE_D, "   
lv_im_fill_wttab  TYPE BOOLE_D, "   
lv_im_casella  TYPE T5ITW5-CODE. "   

  CALL FUNCTION 'HR_IT_READ_CASELLA'  "
    EXPORTING
         IM_SEZIONE = lv_im_sezione
         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_FILL_WTTAB = lv_im_fill_wttab
         IM_CASELLA = lv_im_casella
    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
         IM_T5ITW5 = lt_im_t5itw5
. " HR_IT_READ_CASELLA




ABAP code using 7.40 inline data declarations to call FM HR_IT_READ_CASELLA

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 CDQUA FROM T5ITW5 INTO @DATA(ld_im_sezione).
 
 
 
 
 
 
 
 
 
 
"SELECT single CODE FROM T5ITW5 INTO @DATA(ld_im_casella).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!