SAP HR_BR_DEPENDENTES Function Module for









HR_BR_DEPENDENTES is a standard hr br dependentes 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 hr br dependentes FM, simply by entering the name HR_BR_DEPENDENTES into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPAYBR12
Program Name: SAPLHRPAYBR12
Main Program: SAPLHRPAYBR12
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_BR_DEPENDENTES 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_BR_DEPENDENTES'"
EXPORTING
P_PDATE = "
BEGDA = "
ENDDA = "
* SW_PROT = PBR99_OFF "

IMPORTING
EDU_DEPENDENTES = "
IRRF_DEPENDENTES = "

TABLES
P_P0021 = "
P_P0397 = "
* P_P0185 = "
DEP = "

EXCEPTIONS
AGE_ERROR = 1
.



IMPORTING Parameters details for HR_BR_DEPENDENTES

P_PDATE -

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

BEGDA -

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

ENDDA -

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

SW_PROT -

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

EXPORTING Parameters details for HR_BR_DEPENDENTES

EDU_DEPENDENTES -

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

IRRF_DEPENDENTES -

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

TABLES Parameters details for HR_BR_DEPENDENTES

P_P0021 -

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

P_P0397 -

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

P_P0185 -

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

DEP -

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

EXCEPTIONS details

AGE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_BR_DEPENDENTES 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:
lt_p_p0021  TYPE STANDARD TABLE OF P0021, "   
lv_p_pdate  TYPE PBR99_PAYDATE, "   
lv_age_error  TYPE PBR99_PAYDATE, "   
lv_edu_dependentes  TYPE PBR12_NUMDEP, "   
lv_begda  TYPE SY-DATUM, "   
lt_p_p0397  TYPE STANDARD TABLE OF P0397, "   
lv_irrf_dependentes  TYPE PBR12_NUMDEP, "   
lv_endda  TYPE SY-DATUM, "   
lt_p_p0185  TYPE STANDARD TABLE OF P0185, "   
lt_dep  TYPE STANDARD TABLE OF PC2QW, "   
lv_sw_prot  TYPE PBR99_FLAG. "   PBR99_OFF

  CALL FUNCTION 'HR_BR_DEPENDENTES'  "
    EXPORTING
         P_PDATE = lv_p_pdate
         BEGDA = lv_begda
         ENDDA = lv_endda
         SW_PROT = lv_sw_prot
    IMPORTING
         EDU_DEPENDENTES = lv_edu_dependentes
         IRRF_DEPENDENTES = lv_irrf_dependentes
    TABLES
         P_P0021 = lt_p_p0021
         P_P0397 = lt_p_p0397
         P_P0185 = lt_p_p0185
         DEP = lt_dep
    EXCEPTIONS
        AGE_ERROR = 1
. " HR_BR_DEPENDENTES




ABAP code using 7.40 inline data declarations to call FM HR_BR_DEPENDENTES

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 DATUM FROM SY INTO @DATA(ld_begda).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_endda).
 
 
 
DATA(ld_sw_prot) = PBR99_OFF.
 


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!