SAP HR_ES_GET_METOD_DATA Function Module for
HR_ES_GET_METOD_DATA is a standard hr es get metod data 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 es get metod data FM, simply by entering the name HR_ES_GET_METOD_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: 34CS
Program Name: SAPL34CS
Main Program: SAPL34CS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_ES_GET_METOD_DATA 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_ES_GET_METOD_DATA'".
EXPORTING
P_IDSEG = "
P_METOD = "
* P_DATE = SY-DATUM "
IMPORTING
P_FORBO_DATA = "
P_RESOL_DATA = "
P_FORFI_DATA = "
P_FORFQ_DATA = "
P_FORIA_DATA = "
P_FORDE_DATA = "
P_WA_T5ES3 = "
P_FOBOI_DATA = "
P_COLIN_DATA = "
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for HR_ES_GET_METOD_DATA
P_IDSEG -
Data type: Q0061-IDSEGOptional: No
Call by Reference: Yes
P_METOD -
Data type: T5ES3-METODOptional: No
Call by Reference: Yes
P_DATE -
Data type: T5ES3-ENDDADefault: SY-DATUM
Optional: No
Call by Reference: Yes
EXPORTING Parameters details for HR_ES_GET_METOD_DATA
P_FORBO_DATA -
Data type: PESS0_FORBO_TABOptional: No
Call by Reference: Yes
P_RESOL_DATA -
Data type: PESS0_RESOLOptional: No
Call by Reference: Yes
P_FORFI_DATA -
Data type: PESS0_FORFIOptional: No
Call by Reference: Yes
P_FORFQ_DATA -
Data type: PESS0_FORFQOptional: No
Call by Reference: Yes
P_FORIA_DATA -
Data type: PESS0_FORIAOptional: No
Call by Reference: Yes
P_FORDE_DATA -
Data type: T5ES3-FORDEOptional: No
Call by Reference: Yes
P_WA_T5ES3 -
Data type: T5ES3Optional: No
Call by Reference: Yes
P_FOBOI_DATA -
Data type: PESS0_FOBOI_TABOptional: No
Call by Reference: Yes
P_COLIN_DATA -
Data type: PESS0_COLIN_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_ES_GET_METOD_DATA 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_error | TYPE STRING, " | |||
| lv_p_idseg | TYPE Q0061-IDSEG, " | |||
| lv_p_forbo_data | TYPE PESS0_FORBO_TAB, " | |||
| lv_p_metod | TYPE T5ES3-METOD, " | |||
| lv_p_resol_data | TYPE PESS0_RESOL, " | |||
| lv_p_date | TYPE T5ES3-ENDDA, " SY-DATUM | |||
| lv_p_forfi_data | TYPE PESS0_FORFI, " | |||
| lv_p_forfq_data | TYPE PESS0_FORFQ, " | |||
| lv_p_foria_data | TYPE PESS0_FORIA, " | |||
| lv_p_forde_data | TYPE T5ES3-FORDE, " | |||
| lv_p_wa_t5es3 | TYPE T5ES3, " | |||
| lv_p_foboi_data | TYPE PESS0_FOBOI_TAB, " | |||
| lv_p_colin_data | TYPE PESS0_COLIN_TAB. " |
|   CALL FUNCTION 'HR_ES_GET_METOD_DATA' " |
| EXPORTING | ||
| P_IDSEG | = lv_p_idseg | |
| P_METOD | = lv_p_metod | |
| P_DATE | = lv_p_date | |
| IMPORTING | ||
| P_FORBO_DATA | = lv_p_forbo_data | |
| P_RESOL_DATA | = lv_p_resol_data | |
| P_FORFI_DATA | = lv_p_forfi_data | |
| P_FORFQ_DATA | = lv_p_forfq_data | |
| P_FORIA_DATA | = lv_p_foria_data | |
| P_FORDE_DATA | = lv_p_forde_data | |
| P_WA_T5ES3 | = lv_p_wa_t5es3 | |
| P_FOBOI_DATA | = lv_p_foboi_data | |
| P_COLIN_DATA | = lv_p_colin_data | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " HR_ES_GET_METOD_DATA | ||
ABAP code using 7.40 inline data declarations to call FM HR_ES_GET_METOD_DATA
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 IDSEG FROM Q0061 INTO @DATA(ld_p_idseg). | ||||
| "SELECT single METOD FROM T5ES3 INTO @DATA(ld_p_metod). | ||||
| "SELECT single ENDDA FROM T5ES3 INTO @DATA(ld_p_date). | ||||
| DATA(ld_p_date) | = SY-DATUM. | |||
| "SELECT single FORDE FROM T5ES3 INTO @DATA(ld_p_forde_data). | ||||
Search for further information about these or an SAP related objects