SAP HR_FR_WAGETYPE_SUM Function Module for









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

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



Function HR_FR_WAGETYPE_SUM 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_FR_WAGETYPE_SUM'"
EXPORTING
PNPPABRJ = "
PNPPABRP = "
NBMONTH = "
PNPXABKR = "
IPERNR = "
* DEVISE = "
* SOMME = PFRU0_YES "
* P_INPER = "

IMPORTING
DATBEG = "
DATEND = "
BEGRF = "
ENDRF = "
EX_WAERS = "

TABLES
IPC207 = "
I5F2F = "
* IPC20I = "
* I5F2F_DATES = "
* EX_SV = "
* EX_WPBP = "
* EX_RT = "
* EX_AB = "

EXCEPTIONS
RP_NBMONTH_ZERO = 1 NO_CLUSTER_RT = 2
.



IMPORTING Parameters details for HR_FR_WAGETYPE_SUM

PNPPABRJ -

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

PNPPABRP -

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

NBMONTH -

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

PNPXABKR -

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

IPERNR -

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

DEVISE -

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

SOMME -

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

P_INPER -

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

EXPORTING Parameters details for HR_FR_WAGETYPE_SUM

DATBEG -

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

DATEND -

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

BEGRF -

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

ENDRF -

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

EX_WAERS -

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

TABLES Parameters details for HR_FR_WAGETYPE_SUM

IPC207 -

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

I5F2F -

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

IPC20I -

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

I5F2F_DATES -

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

EX_SV -

Data type: PC223
Optional: Yes
Call by Reference: Yes

EX_WPBP -

Data type: PC205
Optional: Yes
Call by Reference: Yes

EX_RT -

Data type: PC207
Optional: Yes
Call by Reference: Yes

EX_AB -

Data type: PC20I
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

RP_NBMONTH_ZERO -

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

NO_CLUSTER_RT -

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

Copy and paste ABAP code example for HR_FR_WAGETYPE_SUM 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_datbeg  TYPE D, "   
lt_ipc207  TYPE STANDARD TABLE OF PC207, "   
lv_pnppabrj  TYPE QPPNP-PABRJ, "   
lv_rp_nbmonth_zero  TYPE QPPNP, "   
lt_i5f2f  TYPE STANDARD TABLE OF T5F2F, "   
lv_datend  TYPE D, "   
lv_pnppabrp  TYPE QPPNP-PABRP, "   
lv_no_cluster_rt  TYPE QPPNP, "   
lv_begrf  TYPE D, "   
lt_ipc20i  TYPE STANDARD TABLE OF PC20I, "   
lv_nbmonth  TYPE I, "   
lv_endrf  TYPE D, "   
lv_pnpxabkr  TYPE QPPNP-XABKR, "   
lt_i5f2f_dates  TYPE STANDARD TABLE OF T5F2F, "   
lt_ex_sv  TYPE STANDARD TABLE OF PC223, "   
lv_ipernr  TYPE PERNR-PERNR, "   
lv_ex_waers  TYPE T500C-WAERS, "   
lv_devise  TYPE T500C-WAERS, "   
lt_ex_wpbp  TYPE STANDARD TABLE OF PC205, "   
lt_ex_rt  TYPE STANDARD TABLE OF PC207, "   
lv_somme  TYPE PFRU0_BOOLEAN, "   PFRU0_YES
lt_ex_ab  TYPE STANDARD TABLE OF PC20I, "   
lv_p_inper  TYPE PC261-INPER. "   

  CALL FUNCTION 'HR_FR_WAGETYPE_SUM'  "
    EXPORTING
         PNPPABRJ = lv_pnppabrj
         PNPPABRP = lv_pnppabrp
         NBMONTH = lv_nbmonth
         PNPXABKR = lv_pnpxabkr
         IPERNR = lv_ipernr
         DEVISE = lv_devise
         SOMME = lv_somme
         P_INPER = lv_p_inper
    IMPORTING
         DATBEG = lv_datbeg
         DATEND = lv_datend
         BEGRF = lv_begrf
         ENDRF = lv_endrf
         EX_WAERS = lv_ex_waers
    TABLES
         IPC207 = lt_ipc207
         I5F2F = lt_i5f2f
         IPC20I = lt_ipc20i
         I5F2F_DATES = lt_i5f2f_dates
         EX_SV = lt_ex_sv
         EX_WPBP = lt_ex_wpbp
         EX_RT = lt_ex_rt
         EX_AB = lt_ex_ab
    EXCEPTIONS
        RP_NBMONTH_ZERO = 1
        NO_CLUSTER_RT = 2
. " HR_FR_WAGETYPE_SUM




ABAP code using 7.40 inline data declarations to call FM HR_FR_WAGETYPE_SUM

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 PABRJ FROM QPPNP INTO @DATA(ld_pnppabrj).
 
 
 
 
"SELECT single PABRP FROM QPPNP INTO @DATA(ld_pnppabrp).
 
 
 
 
 
 
"SELECT single XABKR FROM QPPNP INTO @DATA(ld_pnpxabkr).
 
 
 
"SELECT single PERNR FROM PERNR INTO @DATA(ld_ipernr).
 
"SELECT single WAERS FROM T500C INTO @DATA(ld_ex_waers).
 
"SELECT single WAERS FROM T500C INTO @DATA(ld_devise).
 
 
 
DATA(ld_somme) = PFRU0_YES.
 
 
"SELECT single INPER FROM PC261 INTO @DATA(ld_p_inper).
 


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!