SAP Function Modules

HR_BE_ABS_EXCEPT_TEMP_UNEMPL SAP Function module - Exceptions for temporary unemployment (BE)







HR_BE_ABS_EXCEPT_TEMP_UNEMPL 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_BE_ABS_EXCEPT_TEMP_UNEMPL into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM HR_BE_ABS_EXCEPT_TEMP_UNEMPL - HR BE ABS EXCEPT TEMP UNEMPL





CALL FUNCTION 'HR_BE_ABS_EXCEPT_TEMP_UNEMPL' "Exceptions for temporary unemployment (BE)
  EXPORTING
    pt_ai =                     " pbeab_tab_ai
    ps_custo_seniority =        " pbeab_custo_seniority
    ps_custo_carence =          " pbeab_custo_carence
    ps_custo_illness =          " pbeab_custo_illness
    ps_custo_seqnr =            " pbeab_custo_seqnr
    ps_custo_neighbors =        " pbeab_custo_neighbors
    ps_custo_colliders =        " pbeab_custo_colliders
    ps_custo_ph =               " pbeab_custo_ph
    pv_pernr =                  " p_pernr       Personal Number
    pv_lbegda =                 " d
    pv_lendda =                 " d
    pv_begda =                  " d
    pv_endda =                  " d
    pt_0000 =                   " pbeab_p0000
    pt_0001 =                   " pbeab_p0001
    pt_0002 =                   " pbeab_p0002
    pt_0003 =                   " pbeab_p0003
    pt_0007 =                   " pbeab_p0007
    pt_0016 =                   " pbeab_p0016
    pt_0041 =                   " pbeab_p0041
    pt_0107 =                   " pbeab_p0107
    pt_0109 =                   " pbeab_p0109
    pt_2001 =                   " pbeab_p2001
    pt_2002 =                   " pbeab_p2002
    pt_2003 =                   " pbeab_p2003
  CHANGING
    ps_ai =                     " pbeab_ai
    pt_carence_counter =        " pbeab_tab_carence_counter
    ps_probatory =              " pbeab_pp
    pt_psp =                    " pbeab_tab_psp
    pv_error =                  " pbeab_error_code
    pt_error =                  " pbeab_tab_error
    .  "  HR_BE_ABS_EXCEPT_TEMP_UNEMPL

ABAP code example for Function Module HR_BE_ABS_EXCEPT_TEMP_UNEMPL





The ABAP code below is a full code listing to execute function module HR_BE_ABS_EXCEPT_TEMP_UNEMPL 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_ps_ai) = 'Check type of data required'.
DATA(ld_pt_carence_counter) = 'Check type of data required'.
DATA(ld_ps_probatory) = 'Check type of data required'.
DATA(ld_pt_psp) = 'Check type of data required'.
DATA(ld_pv_error) = 'Check type of data required'.
DATA(ld_pt_error) = 'Check type of data required'.
DATA(ld_pt_ai) = 'Check type of data required'.
DATA(ld_ps_custo_seniority) = 'Check type of data required'.
DATA(ld_ps_custo_carence) = 'Check type of data required'.
DATA(ld_ps_custo_illness) = 'Check type of data required'.
DATA(ld_ps_custo_seqnr) = 'Check type of data required'.
DATA(ld_ps_custo_neighbors) = 'Check type of data required'.
DATA(ld_ps_custo_colliders) = 'Check type of data required'.
DATA(ld_ps_custo_ph) = 'Check type of data required'.
DATA(ld_pv_pernr) = 'Check type of data required'.
DATA(ld_pv_lbegda) = 'Check type of data required'.
DATA(ld_pv_lendda) = 'Check type of data required'.
DATA(ld_pv_begda) = 'Check type of data required'.
DATA(ld_pv_endda) = 'Check type of data required'.
DATA(ld_pt_0000) = 'Check type of data required'.
DATA(ld_pt_0001) = 'Check type of data required'.
DATA(ld_pt_0002) = 'Check type of data required'.
DATA(ld_pt_0003) = 'Check type of data required'.
DATA(ld_pt_0007) = 'Check type of data required'.
DATA(ld_pt_0016) = 'Check type of data required'.
DATA(ld_pt_0041) = 'Check type of data required'.
DATA(ld_pt_0107) = 'Check type of data required'.
DATA(ld_pt_0109) = 'Check type of data required'.
DATA(ld_pt_2001) = 'Check type of data required'.
DATA(ld_pt_2002) = 'Check type of data required'.
DATA(ld_pt_2003) = 'Check type of data required'. . CALL FUNCTION 'HR_BE_ABS_EXCEPT_TEMP_UNEMPL' EXPORTING pt_ai = ld_pt_ai ps_custo_seniority = ld_ps_custo_seniority ps_custo_carence = ld_ps_custo_carence ps_custo_illness = ld_ps_custo_illness ps_custo_seqnr = ld_ps_custo_seqnr ps_custo_neighbors = ld_ps_custo_neighbors ps_custo_colliders = ld_ps_custo_colliders ps_custo_ph = ld_ps_custo_ph pv_pernr = ld_pv_pernr pv_lbegda = ld_pv_lbegda pv_lendda = ld_pv_lendda pv_begda = ld_pv_begda pv_endda = ld_pv_endda pt_0000 = ld_pt_0000 pt_0001 = ld_pt_0001 pt_0002 = ld_pt_0002 pt_0003 = ld_pt_0003 pt_0007 = ld_pt_0007 pt_0016 = ld_pt_0016 pt_0041 = ld_pt_0041 pt_0107 = ld_pt_0107 pt_0109 = ld_pt_0109 pt_2001 = ld_pt_2001 pt_2002 = ld_pt_2002 pt_2003 = ld_pt_2003 CHANGING ps_ai = ld_ps_ai pt_carence_counter = ld_pt_carence_counter ps_probatory = ld_ps_probatory pt_psp = ld_pt_psp pv_error = ld_pv_error pt_error = ld_pt_error . " HR_BE_ABS_EXCEPT_TEMP_UNEMPL
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_ps_ai  TYPE PBEAB_AI ,
ld_pt_ai  TYPE PBEAB_TAB_AI ,
ld_pt_carence_counter  TYPE PBEAB_TAB_CARENCE_COUNTER ,
ld_ps_custo_seniority  TYPE PBEAB_CUSTO_SENIORITY ,
ld_ps_probatory  TYPE PBEAB_PP ,
ld_ps_custo_carence  TYPE PBEAB_CUSTO_CARENCE ,
ld_pt_psp  TYPE PBEAB_TAB_PSP ,
ld_ps_custo_illness  TYPE PBEAB_CUSTO_ILLNESS ,
ld_pv_error  TYPE PBEAB_ERROR_CODE ,
ld_ps_custo_seqnr  TYPE PBEAB_CUSTO_SEQNR ,
ld_pt_error  TYPE PBEAB_TAB_ERROR ,
ld_ps_custo_neighbors  TYPE PBEAB_CUSTO_NEIGHBORS ,
ld_ps_custo_colliders  TYPE PBEAB_CUSTO_COLLIDERS ,
ld_ps_custo_ph  TYPE PBEAB_CUSTO_PH ,
ld_pv_pernr  TYPE P_PERNR ,
ld_pv_lbegda  TYPE D ,
ld_pv_lendda  TYPE D ,
ld_pv_begda  TYPE D ,
ld_pv_endda  TYPE D ,
ld_pt_0000  TYPE PBEAB_P0000 ,
ld_pt_0001  TYPE PBEAB_P0001 ,
ld_pt_0002  TYPE PBEAB_P0002 ,
ld_pt_0003  TYPE PBEAB_P0003 ,
ld_pt_0007  TYPE PBEAB_P0007 ,
ld_pt_0016  TYPE PBEAB_P0016 ,
ld_pt_0041  TYPE PBEAB_P0041 ,
ld_pt_0107  TYPE PBEAB_P0107 ,
ld_pt_0109  TYPE PBEAB_P0109 ,
ld_pt_2001  TYPE PBEAB_P2001 ,
ld_pt_2002  TYPE PBEAB_P2002 ,
ld_pt_2003  TYPE PBEAB_P2003 .

ld_ps_ai = 'Check type of data required'.
ld_pt_ai = 'Check type of data required'.
ld_pt_carence_counter = 'Check type of data required'.
ld_ps_custo_seniority = 'Check type of data required'.
ld_ps_probatory = 'Check type of data required'.
ld_ps_custo_carence = 'Check type of data required'.
ld_pt_psp = 'Check type of data required'.
ld_ps_custo_illness = 'Check type of data required'.
ld_pv_error = 'Check type of data required'.
ld_ps_custo_seqnr = 'Check type of data required'.
ld_pt_error = 'Check type of data required'.
ld_ps_custo_neighbors = 'Check type of data required'.
ld_ps_custo_colliders = 'Check type of data required'.
ld_ps_custo_ph = 'Check type of data required'.
ld_pv_pernr = 'Check type of data required'.
ld_pv_lbegda = 'Check type of data required'.
ld_pv_lendda = 'Check type of data required'.
ld_pv_begda = 'Check type of data required'.
ld_pv_endda = 'Check type of data required'.
ld_pt_0000 = 'Check type of data required'.
ld_pt_0001 = 'Check type of data required'.
ld_pt_0002 = 'Check type of data required'.
ld_pt_0003 = 'Check type of data required'.
ld_pt_0007 = 'Check type of data required'.
ld_pt_0016 = 'Check type of data required'.
ld_pt_0041 = 'Check type of data required'.
ld_pt_0107 = 'Check type of data required'.
ld_pt_0109 = 'Check type of data required'.
ld_pt_2001 = 'Check type of data required'.
ld_pt_2002 = 'Check type of data required'.
ld_pt_2003 = '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_BE_ABS_EXCEPT_TEMP_UNEMPL or its description.