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

Function HR_READ_T7AR61 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_READ_T7AR61'".
EXPORTING
* BEGDA = "
* ENDDA = "
TABLES
OUT_T7AR61 = "
EXCEPTIONS
NO_ENTRY_FOUND_T500C = 1 NO_ENTRY_FOUND_T7AR61 = 2 ERROR_IN_CURRENCY_CONVERSION = 3
IMPORTING Parameters details for HR_READ_T7AR61
BEGDA -
Data type: T7AR61-BEGDAOptional: Yes
Call by Reference: No ( called with pass by value option)
ENDDA -
Data type: T7AR61-ENDDAOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_READ_T7AR61
OUT_T7AR61 -
Data type: T7AR61COptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_ENTRY_FOUND_T500C -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRY_FOUND_T7AR61 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_IN_CURRENCY_CONVERSION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_READ_T7AR61 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_begda | TYPE T7AR61-BEGDA, " | |||
| lt_out_t7ar61 | TYPE STANDARD TABLE OF T7AR61C, " | |||
| lv_no_entry_found_t500c | TYPE T7AR61C, " | |||
| lv_endda | TYPE T7AR61-ENDDA, " | |||
| lv_no_entry_found_t7ar61 | TYPE T7AR61, " | |||
| lv_error_in_currency_conversion | TYPE T7AR61. " |
|   CALL FUNCTION 'HR_READ_T7AR61' " |
| EXPORTING | ||
| BEGDA | = lv_begda | |
| ENDDA | = lv_endda | |
| TABLES | ||
| OUT_T7AR61 | = lt_out_t7ar61 | |
| EXCEPTIONS | ||
| NO_ENTRY_FOUND_T500C = 1 | ||
| NO_ENTRY_FOUND_T7AR61 = 2 | ||
| ERROR_IN_CURRENCY_CONVERSION = 3 | ||
| . " HR_READ_T7AR61 | ||
ABAP code using 7.40 inline data declarations to call FM HR_READ_T7AR61
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 BEGDA FROM T7AR61 INTO @DATA(ld_begda). | ||||
| "SELECT single ENDDA FROM T7AR61 INTO @DATA(ld_endda). | ||||
Search for further information about these or an SAP related objects