SAP Function Modules

HR_ECM_CHECK_MICRO_ELIG_OVERRD SAP Function module - Get micro-eligibility override (infotype 0760)







HR_ECM_CHECK_MICRO_ELIG_OVERRD is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name HR_ECM_CHECK_MICRO_ELIG_OVERRD into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: HRECM00ELIGIBILITY
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM HR_ECM_CHECK_MICRO_ELIG_OVERRD - HR ECM CHECK MICRO ELIG OVERRD





CALL FUNCTION 'HR_ECM_CHECK_MICRO_ELIG_OVERRD' "Get micro-eligibility override (infotype 0760)
  EXPORTING
    pernr =                     " pernr_d       Personnel Number
    carea =                     " ecm_carea     Compensation Area
    cplan =                     " ecm_cplan     Compensation Plan
    elkdt =                     " ecm_elkdt     Key Date for Eligibility Checks
    message_handler =           " if_hrpa_message_handler  HR Master Data: Messages
  IMPORTING
    x_override =                " boole_d       Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
    xelig =                     " ecm_xelig     Indicator: Employee Is Eligible
    elidt =                     " p0760-elidt   Compensation Eligibility Date
    is_ok =                     " boole_d       Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
    .  "  HR_ECM_CHECK_MICRO_ELIG_OVERRD

ABAP code example for Function Module HR_ECM_CHECK_MICRO_ELIG_OVERRD





The ABAP code below is a full code listing to execute function module HR_ECM_CHECK_MICRO_ELIG_OVERRD including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_x_override  TYPE BOOLE_D ,
ld_xelig  TYPE ECM_XELIG ,
ld_elidt  TYPE P0760-ELIDT ,
ld_is_ok  TYPE BOOLE_D .

DATA(ld_pernr) = 'Check type of data required'.
DATA(ld_carea) = 'Check type of data required'.
DATA(ld_cplan) = 'Check type of data required'.
DATA(ld_elkdt) = 'Check type of data required'.
DATA(ld_message_handler) = 'Check type of data required'. . CALL FUNCTION 'HR_ECM_CHECK_MICRO_ELIG_OVERRD' EXPORTING pernr = ld_pernr carea = ld_carea cplan = ld_cplan elkdt = ld_elkdt message_handler = ld_message_handler IMPORTING x_override = ld_x_override xelig = ld_xelig elidt = ld_elidt is_ok = ld_is_ok . " HR_ECM_CHECK_MICRO_ELIG_OVERRD
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_x_override  TYPE BOOLE_D ,
ld_pernr  TYPE PERNR_D ,
ld_xelig  TYPE ECM_XELIG ,
ld_carea  TYPE ECM_CAREA ,
ld_elidt  TYPE P0760-ELIDT ,
ld_cplan  TYPE ECM_CPLAN ,
ld_is_ok  TYPE BOOLE_D ,
ld_elkdt  TYPE ECM_ELKDT ,
ld_message_handler  TYPE IF_HRPA_MESSAGE_HANDLER .

ld_pernr = 'Check type of data required'.
ld_carea = 'Check type of data required'.
ld_cplan = 'Check type of data required'.
ld_elkdt = 'Check type of data required'.
ld_message_handler = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name HR_ECM_CHECK_MICRO_ELIG_OVERRD or its description.