SAP ISMAM_PAYROLL_PERNR_CHECK Function Module for









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

Function Group: JHF5
Program Name: SAPLJHF5
Main Program: SAPLJHF5
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISMAM_PAYROLL_PERNR_CHECK 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 'ISMAM_PAYROLL_PERNR_CHECK'"
EXPORTING
IV_PERNR = "
* IV_VALIDFROM = SY-DATUM "
* IV_VALIDTO = SY-DATUM "
IV_BUKRS = "

EXCEPTIONS
PERNR_MISSING = 1 PERNR_NOT_VALID = 2 SYSTEM_ERROR = 3 COMMUNICATION_ERROR = 4 CONFIGURATION_ERROR = 5
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLJHF5_001 IS-M/AM: Transfer Interface Record to Human Resources

IMPORTING Parameters details for ISMAM_PAYROLL_PERNR_CHECK

IV_PERNR -

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

IV_VALIDFROM -

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

IV_VALIDTO -

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

IV_BUKRS -

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

EXCEPTIONS details

PERNR_MISSING -

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

PERNR_NOT_VALID -

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

SYSTEM_ERROR -

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

COMMUNICATION_ERROR -

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

CONFIGURATION_ERROR -

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

Copy and paste ABAP code example for ISMAM_PAYROLL_PERNR_CHECK 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_iv_pernr  TYPE JHTFK-PERNR, "   
lv_pernr_missing  TYPE JHTFK, "   
lv_iv_validfrom  TYPE SY-DATUM, "   SY-DATUM
lv_pernr_not_valid  TYPE SY, "   
lv_iv_validto  TYPE SY-DATUM, "   SY-DATUM
lv_system_error  TYPE SY, "   
lv_iv_bukrs  TYPE T001-BUKRS, "   
lv_communication_error  TYPE T001, "   
lv_configuration_error  TYPE T001. "   

  CALL FUNCTION 'ISMAM_PAYROLL_PERNR_CHECK'  "
    EXPORTING
         IV_PERNR = lv_iv_pernr
         IV_VALIDFROM = lv_iv_validfrom
         IV_VALIDTO = lv_iv_validto
         IV_BUKRS = lv_iv_bukrs
    EXCEPTIONS
        PERNR_MISSING = 1
        PERNR_NOT_VALID = 2
        SYSTEM_ERROR = 3
        COMMUNICATION_ERROR = 4
        CONFIGURATION_ERROR = 5
. " ISMAM_PAYROLL_PERNR_CHECK




ABAP code using 7.40 inline data declarations to call FM ISMAM_PAYROLL_PERNR_CHECK

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 JHTFK INTO @DATA(ld_iv_pernr).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_iv_validfrom).
DATA(ld_iv_validfrom) = SY-DATUM.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_iv_validto).
DATA(ld_iv_validto) = SY-DATUM.
 
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_iv_bukrs).
 
 
 


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!