SAP HR_TIM_REPORT_ABSENCE_DATA_INI Function Module for
HR_TIM_REPORT_ABSENCE_DATA_INI is a standard hr tim report absence data ini 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 tim report absence data ini FM, simply by entering the name HR_TIM_REPORT_ABSENCE_DATA_INI into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRTA
Program Name: SAPLHRTA
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_TIM_REPORT_ABSENCE_DATA_INI 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_TIM_REPORT_ABSENCE_DATA_INI'".
EXPORTING
* OPTION_STRING = "
* TRIG_STRING = '01_/04_/22_/23_' "
* ALEMP_FLAG = "
* INFOT_FLAG = "
* TEXT_FLAG = "
* TEXT_AND_ABBR_FLAG = "
* SEL_MODUS = '2' "
IMPORTING
ORG_NUM = "
TABLES
* FIELDTAB = "
* FIELD_SEL = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLHRTA_001 Customer Exit: Att./Absence Reporting
IMPORTING Parameters details for HR_TIM_REPORT_ABSENCE_DATA_INI
OPTION_STRING -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TRIG_STRING -
Data type:Default: '01_/04_/22_/23_'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ALEMP_FLAG -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
INFOT_FLAG -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_FLAG -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_AND_ABBR_FLAG -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_MODUS -
Data type:Default: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_TIM_REPORT_ABSENCE_DATA_INI
ORG_NUM -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_TIM_REPORT_ABSENCE_DATA_INI
FIELDTAB -
Data type: THRTA_FIELD_NAMES_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
FIELD_SEL -
Data type: THRTA_FIELD_TEXT_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_TIM_REPORT_ABSENCE_DATA_INI 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_org_num | TYPE I, " | |||
| lt_fieldtab | TYPE STANDARD TABLE OF THRTA_FIELD_NAMES_TAB, " | |||
| lv_option_string | TYPE THRTA_FIELD_NAMES_TAB, " | |||
| lt_field_sel | TYPE STANDARD TABLE OF THRTA_FIELD_TEXT_TAB, " | |||
| lv_trig_string | TYPE THRTA_FIELD_TEXT_TAB, " '01_/04_/22_/23_' | |||
| lv_alemp_flag | TYPE THRTA_FIELD_TEXT_TAB, " | |||
| lv_infot_flag | TYPE THRTA_FIELD_TEXT_TAB, " | |||
| lv_text_flag | TYPE THRTA_FIELD_TEXT_TAB, " | |||
| lv_text_and_abbr_flag | TYPE THRTA_FIELD_TEXT_TAB, " | |||
| lv_sel_modus | TYPE THRTA_FIELD_TEXT_TAB. " '2' |
|   CALL FUNCTION 'HR_TIM_REPORT_ABSENCE_DATA_INI' " |
| EXPORTING | ||
| OPTION_STRING | = lv_option_string | |
| TRIG_STRING | = lv_trig_string | |
| ALEMP_FLAG | = lv_alemp_flag | |
| INFOT_FLAG | = lv_infot_flag | |
| TEXT_FLAG | = lv_text_flag | |
| TEXT_AND_ABBR_FLAG | = lv_text_and_abbr_flag | |
| SEL_MODUS | = lv_sel_modus | |
| IMPORTING | ||
| ORG_NUM | = lv_org_num | |
| TABLES | ||
| FIELDTAB | = lt_fieldtab | |
| FIELD_SEL | = lt_field_sel | |
| . " HR_TIM_REPORT_ABSENCE_DATA_INI | ||
ABAP code using 7.40 inline data declarations to call FM HR_TIM_REPORT_ABSENCE_DATA_INI
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_trig_string) | = '01_/04_/22_/23_'. | |||
| DATA(ld_sel_modus) | = '2'. | |||
Search for further information about these or an SAP related objects