SAP HR_RU_J3R_GET_PERNR_NAME Function Module for Get pernr name









HR_RU_J3R_GET_PERNR_NAME is a standard hr ru j3r get pernr name SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get pernr name processing and below is the pattern details for this FM, 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 ru j3r get pernr name FM, simply by entering the name HR_RU_J3R_GET_PERNR_NAME into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPADRU_J3RALF_IF
Program Name: SAPLHRPADRU_J3RALF_IF
Main Program: SAPLHRPADRU_J3RALF_IF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HR_RU_J3R_GET_PERNR_NAME 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_RU_J3R_GET_PERNR_NAME'"Get pernr name
EXPORTING
I_PERNR = "Standard Selections for HR Master Data Reporting
* I_BEGDA = "Start Date
* I_ENDDA = "End Date
* I_LANGU = SY-LANGU "Language Key
* I_MOLGA = '33' "Country Grouping

IMPORTING
E_NACHN = "Last Name
E_VORNA = "First Name
E_MIDNM = "Middle Name
E_CNAME = "Complete Name
E_INITI = "Initials of Name

EXCEPTIONS
INFTY_0002_NOT_FOUND = 1
.



IMPORTING Parameters details for HR_RU_J3R_GET_PERNR_NAME

I_PERNR - Standard Selections for HR Master Data Reporting

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

I_BEGDA - Start Date

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

I_ENDDA - End Date

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

I_LANGU - Language Key

Data type: LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MOLGA - Country Grouping

Data type: MOLGA
Default: '33'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for HR_RU_J3R_GET_PERNR_NAME

E_NACHN - Last Name

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

E_VORNA - First Name

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

E_MIDNM - Middle Name

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

E_CNAME - Complete Name

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

E_INITI - Initials of Name

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

EXCEPTIONS details

INFTY_0002_NOT_FOUND - Infotype 0002 is not found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_RU_J3R_GET_PERNR_NAME 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_e_nachn  TYPE TEXT50, "   
lv_i_pernr  TYPE PERNR_D, "   
lv_infty_0002_not_found  TYPE PERNR_D, "   
lv_e_vorna  TYPE TEXT50, "   
lv_i_begda  TYPE BEGDA, "   
lv_e_midnm  TYPE TEXT50, "   
lv_i_endda  TYPE ENDDA, "   
lv_e_cname  TYPE TEXT200, "   
lv_i_langu  TYPE LANGU, "   SY-LANGU
lv_e_initi  TYPE TEXT10, "   
lv_i_molga  TYPE MOLGA. "   '33'

  CALL FUNCTION 'HR_RU_J3R_GET_PERNR_NAME'  "Get pernr name
    EXPORTING
         I_PERNR = lv_i_pernr
         I_BEGDA = lv_i_begda
         I_ENDDA = lv_i_endda
         I_LANGU = lv_i_langu
         I_MOLGA = lv_i_molga
    IMPORTING
         E_NACHN = lv_e_nachn
         E_VORNA = lv_e_vorna
         E_MIDNM = lv_e_midnm
         E_CNAME = lv_e_cname
         E_INITI = lv_e_initi
    EXCEPTIONS
        INFTY_0002_NOT_FOUND = 1
. " HR_RU_J3R_GET_PERNR_NAME




ABAP code using 7.40 inline data declarations to call FM HR_RU_J3R_GET_PERNR_NAME

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_i_langu) = SY-LANGU.
 
 
DATA(ld_i_molga) = '33'.
 


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!