SAP HRF_DE_READ_ORG_DATA Function Module for
HRF_DE_READ_ORG_DATA is a standard hrf de read org 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 hrf de read org data FM, simply by entering the name HRF_DE_READ_ORG_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRF_DE_READ_DIMS
Program Name: SAPLHRF_DE_READ_DIMS
Main Program: SAPLHRF_DE_READ_DIMS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRF_DE_READ_ORG_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 'HRF_DE_READ_ORG_DATA'".
EXPORTING
* MS_DATA = "MetaStar line
* PAYROLL_INTER_PERSON = "
* PAYROLL_NAT_PERSON = "
* PAY_HEADER = "
* TIM_B2 = "
* LANGUAGE = "
* SELECTIONS = "
* FORM_OUTPUT_SELECTION = "
* PERSON = "
* PERNR = "
* PAYROLL_EVP = "
* CLUSTER_DIR = "
* PAYROLL_INTER = "
* PAYROLL_NAT = "
* GROUP_RGDIR = "
* GROUP_RGDIRS = "
IMPORTING
PERS_AREA = "Personnel Area
PERS_SUBAREA = "Personnel Subarea
EXCEPTIONS
DISPLAY_ERROR = 1 REJECT_PERNR = 2
IMPORTING Parameters details for HRF_DE_READ_ORG_DATA
MS_DATA - MetaStar line
Data type: ANYOptional: Yes
Call by Reference: Yes
PAYROLL_INTER_PERSON -
Data type: PAY99_PERSONOptional: Yes
Call by Reference: Yes
PAYROLL_NAT_PERSON -
Data type: ANYOptional: Yes
Call by Reference: Yes
PAY_HEADER -
Data type: PAYROLL_HEADEROptional: Yes
Call by Reference: Yes
TIM_B2 -
Data type: HRF_TIM_B2Optional: Yes
Call by Reference: Yes
LANGUAGE -
Data type: SYLANGUOptional: Yes
Call by Reference: Yes
SELECTIONS -
Data type: HRF_T_SELTOFUNOptional: Yes
Call by Reference: Yes
FORM_OUTPUT_SELECTION -
Data type: HRF02_FORM_OUTPUT_SELECTIONOptional: Yes
Call by Reference: Yes
PERSON -
Data type: PCCE_PNP_PERSONOptional: Yes
Call by Reference: Yes
PERNR -
Data type: P_PERNROptional: Yes
Call by Reference: Yes
PAYROLL_EVP -
Data type: PC261Optional: Yes
Call by Reference: Yes
CLUSTER_DIR -
Data type: HRPY_TT_RGDIROptional: Yes
Call by Reference: Yes
PAYROLL_INTER -
Data type: PAY99_INTERNATIONALOptional: Yes
Call by Reference: Yes
PAYROLL_NAT -
Data type: HRF_PAYDE_PE_PA_RESULT-NATOptional: Yes
Call by Reference: Yes
GROUP_RGDIR -
Data type: HRPAY99_GROUP_RGDIR_TOptional: Yes
Call by Reference: Yes
GROUP_RGDIRS -
Data type: PCCE_T_GROUP_RGDIRSOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HRF_DE_READ_ORG_DATA
PERS_AREA - Personnel Area
Data type: PERSAOptional: No
Call by Reference: Yes
PERS_SUBAREA - Personnel Subarea
Data type: BTRTL_001POptional: No
Call by Reference: Yes
EXCEPTIONS details
DISPLAY_ERROR - Error message is displayed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
REJECT_PERNR - Personnel number rejected
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HRF_DE_READ_ORG_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_ms_data | TYPE ANY, " | |||
| lv_pers_area | TYPE PERSA, " | |||
| lv_display_error | TYPE PERSA, " | |||
| lv_payroll_inter_person | TYPE PAY99_PERSON, " | |||
| lv_payroll_nat_person | TYPE ANY, " | |||
| lv_pay_header | TYPE PAYROLL_HEADER, " | |||
| lv_tim_b2 | TYPE HRF_TIM_B2, " | |||
| lv_language | TYPE SYLANGU, " | |||
| lv_selections | TYPE HRF_T_SELTOFUN, " | |||
| lv_form_output_selection | TYPE HRF02_FORM_OUTPUT_SELECTION, " | |||
| lv_person | TYPE PCCE_PNP_PERSON, " | |||
| lv_pers_subarea | TYPE BTRTL_001P, " | |||
| lv_reject_pernr | TYPE BTRTL_001P, " | |||
| lv_pernr | TYPE P_PERNR, " | |||
| lv_payroll_evp | TYPE PC261, " | |||
| lv_cluster_dir | TYPE HRPY_TT_RGDIR, " | |||
| lv_payroll_inter | TYPE PAY99_INTERNATIONAL, " | |||
| lv_payroll_nat | TYPE HRF_PAYDE_PE_PA_RESULT-NAT, " | |||
| lv_group_rgdir | TYPE HRPAY99_GROUP_RGDIR_T, " | |||
| lv_group_rgdirs | TYPE PCCE_T_GROUP_RGDIRS. " |
|   CALL FUNCTION 'HRF_DE_READ_ORG_DATA' " |
| EXPORTING | ||
| MS_DATA | = lv_ms_data | |
| PAYROLL_INTER_PERSON | = lv_payroll_inter_person | |
| PAYROLL_NAT_PERSON | = lv_payroll_nat_person | |
| PAY_HEADER | = lv_pay_header | |
| TIM_B2 | = lv_tim_b2 | |
| LANGUAGE | = lv_language | |
| SELECTIONS | = lv_selections | |
| FORM_OUTPUT_SELECTION | = lv_form_output_selection | |
| PERSON | = lv_person | |
| PERNR | = lv_pernr | |
| PAYROLL_EVP | = lv_payroll_evp | |
| CLUSTER_DIR | = lv_cluster_dir | |
| PAYROLL_INTER | = lv_payroll_inter | |
| PAYROLL_NAT | = lv_payroll_nat | |
| GROUP_RGDIR | = lv_group_rgdir | |
| GROUP_RGDIRS | = lv_group_rgdirs | |
| IMPORTING | ||
| PERS_AREA | = lv_pers_area | |
| PERS_SUBAREA | = lv_pers_subarea | |
| EXCEPTIONS | ||
| DISPLAY_ERROR = 1 | ||
| REJECT_PERNR = 2 | ||
| . " HRF_DE_READ_ORG_DATA | ||
ABAP code using 7.40 inline data declarations to call FM HRF_DE_READ_ORG_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 NAT FROM HRF_PAYDE_PE_PA_RESULT INTO @DATA(ld_payroll_nat). | ||||
Search for further information about these or an SAP related objects