SAP RH_PM_PERNR_CHECK_INTEGRATION Function Module for









RH_PM_PERNR_CHECK_INTEGRATION is a standard rh pm pernr check integration 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 rh pm pernr check integration FM, simply by entering the name RH_PM_PERNR_CHECK_INTEGRATION into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHBY_2
Program Name: SAPLRHBY_2
Main Program: SAPLRHBY_2
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_PM_PERNR_CHECK_INTEGRATION 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 'RH_PM_PERNR_CHECK_INTEGRATION'"
EXPORTING
PD_PERNR = "
PD_BEGDA = "
* PD_ENDDA = '99991231' "
PD_BUKRS = "
PD_WERKS = "
PD_BTRTL = "
PD_PERSG = "
PD_PERSK = "

IMPORTING
PD_INTEGRATION_STATUS = "
PT_INTEG_TAB = "

EXCEPTIONS
INTEGRATION_STATUS_NOT_UNIQUE = 1 FIKRS_NOT_FOUND = 2 INCONSISTENT_INTEGRATION = 3
.



IMPORTING Parameters details for RH_PM_PERNR_CHECK_INTEGRATION

PD_PERNR -

Data type: P0001-PERNR
Optional: No
Call by Reference: Yes

PD_BEGDA -

Data type: P0001-BEGDA
Optional: No
Call by Reference: Yes

PD_ENDDA -

Data type: P0001-ENDDA
Default: '99991231'
Optional: Yes
Call by Reference: Yes

PD_BUKRS -

Data type: P0001-BUKRS
Optional: No
Call by Reference: Yes

PD_WERKS -

Data type: P0001-WERKS
Optional: No
Call by Reference: Yes

PD_BTRTL -

Data type: P0001-BTRTL
Optional: No
Call by Reference: Yes

PD_PERSG -

Data type: P0001-PERSG
Optional: No
Call by Reference: Yes

PD_PERSK -

Data type: P0001-PERSK
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for RH_PM_PERNR_CHECK_INTEGRATION

PD_INTEGRATION_STATUS -

Data type: HRFPM_INTEG
Optional: No
Call by Reference: Yes

PT_INTEG_TAB -

Data type: HRFPM_INTEGRATION_TIMES_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

INTEGRATION_STATUS_NOT_UNIQUE -

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

FIKRS_NOT_FOUND -

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

INCONSISTENT_INTEGRATION -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RH_PM_PERNR_CHECK_INTEGRATION 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_pd_pernr  TYPE P0001-PERNR, "   
lv_pd_integration_status  TYPE HRFPM_INTEG, "   
lv_integration_status_not_unique  TYPE HRFPM_INTEG, "   
lv_pd_begda  TYPE P0001-BEGDA, "   
lv_pt_integ_tab  TYPE HRFPM_INTEGRATION_TIMES_TAB, "   
lv_fikrs_not_found  TYPE HRFPM_INTEGRATION_TIMES_TAB, "   
lv_pd_endda  TYPE P0001-ENDDA, "   '99991231'
lv_inconsistent_integration  TYPE P0001, "   
lv_pd_bukrs  TYPE P0001-BUKRS, "   
lv_pd_werks  TYPE P0001-WERKS, "   
lv_pd_btrtl  TYPE P0001-BTRTL, "   
lv_pd_persg  TYPE P0001-PERSG, "   
lv_pd_persk  TYPE P0001-PERSK. "   

  CALL FUNCTION 'RH_PM_PERNR_CHECK_INTEGRATION'  "
    EXPORTING
         PD_PERNR = lv_pd_pernr
         PD_BEGDA = lv_pd_begda
         PD_ENDDA = lv_pd_endda
         PD_BUKRS = lv_pd_bukrs
         PD_WERKS = lv_pd_werks
         PD_BTRTL = lv_pd_btrtl
         PD_PERSG = lv_pd_persg
         PD_PERSK = lv_pd_persk
    IMPORTING
         PD_INTEGRATION_STATUS = lv_pd_integration_status
         PT_INTEG_TAB = lv_pt_integ_tab
    EXCEPTIONS
        INTEGRATION_STATUS_NOT_UNIQUE = 1
        FIKRS_NOT_FOUND = 2
        INCONSISTENT_INTEGRATION = 3
. " RH_PM_PERNR_CHECK_INTEGRATION




ABAP code using 7.40 inline data declarations to call FM RH_PM_PERNR_CHECK_INTEGRATION

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 PERNR FROM P0001 INTO @DATA(ld_pd_pernr).
 
 
 
"SELECT single BEGDA FROM P0001 INTO @DATA(ld_pd_begda).
 
 
 
"SELECT single ENDDA FROM P0001 INTO @DATA(ld_pd_endda).
DATA(ld_pd_endda) = '99991231'.
 
 
"SELECT single BUKRS FROM P0001 INTO @DATA(ld_pd_bukrs).
 
"SELECT single WERKS FROM P0001 INTO @DATA(ld_pd_werks).
 
"SELECT single BTRTL FROM P0001 INTO @DATA(ld_pd_btrtl).
 
"SELECT single PERSG FROM P0001 INTO @DATA(ld_pd_persg).
 
"SELECT single PERSK FROM P0001 INTO @DATA(ld_pd_persk).
 


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!