SAP HR_E_GET_SPLIT_MIN_MAX Function Module for









HR_E_GET_SPLIT_MIN_MAX is a standard hr e get split min max 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 e get split min max FM, simply by entering the name HR_E_GET_SPLIT_MIN_MAX into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_E_GET_SPLIT_MIN_MAX 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_E_GET_SPLIT_MIN_MAX'"
EXPORTING
P_BEGDA = "
P_ENDDA = "
P_UNIDA = "
* P_T5E43 = "
* P_T5E44 = "
P_GBDAT = "
P_ABKRS = "
P_SI_HOURS = "
* IV_TPCCC = "

IMPORTING
P_MIN_DIARIO_NAT_CC = "
P_MAX_DIARIO_CAL_CP = "
P_MAX_MENS_TOT_CC = "
P_MAX_MENS_TOT_CP = "
P_BAS_DIARIA_AUS_IMPAG_COTIZ = "
P_MIN_DIARIO_NAT_CP = "
P_MIN_DIARIO_CAL_CC = "
P_MIN_DIARIO_CAL_CP = "
P_MIN_MENS_TOT_CC = "
P_MIN_MENS_TOT_CP = "
P_MAX_DIARIO_NAT_CC = "
P_MAX_DIARIO_NAT_CP = "
P_MAX_DIARIO_CAL_CC = "

TABLES
P_SV = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for HR_E_GET_SPLIT_MIN_MAX

P_BEGDA -

Data type: PREL-BEGDA
Optional: No
Call by Reference: Yes

P_ENDDA -

Data type: PREL-ENDDA
Optional: No
Call by Reference: Yes

P_UNIDA -

Data type: T5E43-UNIDA
Optional: No
Call by Reference: Yes

P_T5E43 -

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

P_T5E44 -

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

P_GBDAT -

Data type: P0002-GBDAT
Optional: No
Call by Reference: Yes

P_ABKRS -

Data type: T549A-ABKRS
Optional: No
Call by Reference: Yes

P_SI_HOURS -

Data type: PESU0_DEC2
Optional: No
Call by Reference: Yes

IV_TPCCC -

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

EXPORTING Parameters details for HR_E_GET_SPLIT_MIN_MAX

P_MIN_DIARIO_NAT_CC -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MAX_DIARIO_CAL_CP -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MAX_MENS_TOT_CC -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MAX_MENS_TOT_CP -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_BAS_DIARIA_AUS_IMPAG_COTIZ -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MIN_DIARIO_NAT_CP -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MIN_DIARIO_CAL_CC -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MIN_DIARIO_CAL_CP -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MIN_MENS_TOT_CC -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MIN_MENS_TOT_CP -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MAX_DIARIO_NAT_CC -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MAX_DIARIO_NAT_CP -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

P_MAX_DIARIO_CAL_CC -

Data type: PESU0_DEC4
Optional: No
Call by Reference: Yes

TABLES Parameters details for HR_E_GET_SPLIT_MIN_MAX

P_SV -

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

EXCEPTIONS details

ERROR -

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

Copy and paste ABAP code example for HR_E_GET_SPLIT_MIN_MAX 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_sv  TYPE STANDARD TABLE OF PC225, "   
lv_error  TYPE PC225, "   
lv_p_begda  TYPE PREL-BEGDA, "   
lv_p_min_diario_nat_cc  TYPE PESU0_DEC4, "   
lv_p_max_diario_cal_cp  TYPE PESU0_DEC4, "   
lv_p_max_mens_tot_cc  TYPE PESU0_DEC4, "   
lv_p_max_mens_tot_cp  TYPE PESU0_DEC4, "   
lv_p_bas_diaria_aus_impag_cotiz  TYPE PESU0_DEC4, "   
lv_p_endda  TYPE PREL-ENDDA, "   
lv_p_min_diario_nat_cp  TYPE PESU0_DEC4, "   
lv_p_unida  TYPE T5E43-UNIDA, "   
lv_p_min_diario_cal_cc  TYPE PESU0_DEC4, "   
lv_p_t5e43  TYPE T5E43, "   
lv_p_min_diario_cal_cp  TYPE PESU0_DEC4, "   
lv_p_t5e44  TYPE T5E44, "   
lv_p_min_mens_tot_cc  TYPE PESU0_DEC4, "   
lv_p_gbdat  TYPE P0002-GBDAT, "   
lv_p_min_mens_tot_cp  TYPE PESU0_DEC4, "   
lv_p_abkrs  TYPE T549A-ABKRS, "   
lv_p_max_diario_nat_cc  TYPE PESU0_DEC4, "   
lv_p_si_hours  TYPE PESU0_DEC2, "   
lv_p_max_diario_nat_cp  TYPE PESU0_DEC4, "   
lv_iv_tpccc  TYPE PES_TPCCC, "   
lv_p_max_diario_cal_cc  TYPE PESU0_DEC4. "   

  CALL FUNCTION 'HR_E_GET_SPLIT_MIN_MAX'  "
    EXPORTING
         P_BEGDA = lv_p_begda
         P_ENDDA = lv_p_endda
         P_UNIDA = lv_p_unida
         P_T5E43 = lv_p_t5e43
         P_T5E44 = lv_p_t5e44
         P_GBDAT = lv_p_gbdat
         P_ABKRS = lv_p_abkrs
         P_SI_HOURS = lv_p_si_hours
         IV_TPCCC = lv_iv_tpccc
    IMPORTING
         P_MIN_DIARIO_NAT_CC = lv_p_min_diario_nat_cc
         P_MAX_DIARIO_CAL_CP = lv_p_max_diario_cal_cp
         P_MAX_MENS_TOT_CC = lv_p_max_mens_tot_cc
         P_MAX_MENS_TOT_CP = lv_p_max_mens_tot_cp
         P_BAS_DIARIA_AUS_IMPAG_COTIZ = lv_p_bas_diaria_aus_impag_cotiz
         P_MIN_DIARIO_NAT_CP = lv_p_min_diario_nat_cp
         P_MIN_DIARIO_CAL_CC = lv_p_min_diario_cal_cc
         P_MIN_DIARIO_CAL_CP = lv_p_min_diario_cal_cp
         P_MIN_MENS_TOT_CC = lv_p_min_mens_tot_cc
         P_MIN_MENS_TOT_CP = lv_p_min_mens_tot_cp
         P_MAX_DIARIO_NAT_CC = lv_p_max_diario_nat_cc
         P_MAX_DIARIO_NAT_CP = lv_p_max_diario_nat_cp
         P_MAX_DIARIO_CAL_CC = lv_p_max_diario_cal_cc
    TABLES
         P_SV = lt_p_sv
    EXCEPTIONS
        ERROR = 1
. " HR_E_GET_SPLIT_MIN_MAX




ABAP code using 7.40 inline data declarations to call FM HR_E_GET_SPLIT_MIN_MAX

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 BEGDA FROM PREL INTO @DATA(ld_p_begda).
 
 
 
 
 
 
"SELECT single ENDDA FROM PREL INTO @DATA(ld_p_endda).
 
 
"SELECT single UNIDA FROM T5E43 INTO @DATA(ld_p_unida).
 
 
 
 
 
 
"SELECT single GBDAT FROM P0002 INTO @DATA(ld_p_gbdat).
 
 
"SELECT single ABKRS FROM T549A INTO @DATA(ld_p_abkrs).
 
 
 
 
 
 


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!