SAP HR_SEN_CEILING_WEIGHT_GROUP Function Module for









HR_SEN_CEILING_WEIGHT_GROUP is a standard hr sen ceiling weight group 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 sen ceiling weight group FM, simply by entering the name HR_SEN_CEILING_WEIGHT_GROUP into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_SEN_CEILING_WEIGHT_GROUP 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_SEN_CEILING_WEIGHT_GROUP'"
EXPORTING
P_CEILING = "
* P_CEILING_DEC = "
P_CUT = "
P_FMDUR = "
P_FMSUM = "
P_FMDAT = "
P_FMWGT = "
* ID_WRITE_BUFFER = ' ' "

IMPORTING
P_DCEILI = "
P_RPEAK = "

TABLES
P_PERID = "
P_PEAK = "

EXCEPTIONS
E_EMPTY_TABLES = 1 E_CEILING_LONGER_PERIOD = 2 E_CONVERSION_RULE = 3 E_CALCULATION_RULE = 4 E_OTHERS = 5
.



IMPORTING Parameters details for HR_SEN_CEILING_WEIGHT_GROUP

P_CEILING -

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

P_CEILING_DEC -

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

P_CUT -

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

P_FMDUR -

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

P_FMSUM -

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

P_FMDAT -

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

P_FMWGT -

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

ID_WRITE_BUFFER -

Data type: PSEN_GRAD_CLG_RESULT_WRITE
Default: SPACE
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for HR_SEN_CEILING_WEIGHT_GROUP

P_DCEILI -

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

P_RPEAK -

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

TABLES Parameters details for HR_SEN_CEILING_WEIGHT_GROUP

P_PERID -

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

P_PEAK -

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

EXCEPTIONS details

E_EMPTY_TABLES -

Data type:
Optional: No
Call by Reference: Yes

E_CEILING_LONGER_PERIOD -

Data type:
Optional: No
Call by Reference: Yes

E_CONVERSION_RULE -

Data type:
Optional: No
Call by Reference: Yes

E_CALCULATION_RULE -

Data type:
Optional: No
Call by Reference: Yes

E_OTHERS -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_SEN_CEILING_WEIGHT_GROUP 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_perid  TYPE STANDARD TABLE OF PSEN_WEIGHT_PERIOD, "   
lv_p_dceili  TYPE ENDDA, "   
lv_p_ceiling  TYPE PSEN_DURATION, "   
lv_e_empty_tables  TYPE PSEN_DURATION, "   
lt_p_peak  TYPE STANDARD TABLE OF PSEN_WEIGHT_PEAK_DEC_BASE, "   
lv_p_rpeak  TYPE HRSEN00_WGHT_PEAK_DEC_BASE, "   
lv_p_ceiling_dec  TYPE PSEN_DURATION_DEC, "   
lv_e_ceiling_longer_period  TYPE PSEN_DURATION_DEC, "   
lv_p_cut  TYPE XFELD, "   
lv_e_conversion_rule  TYPE XFELD, "   
lv_p_fmdur  TYPE PSEN_FMDUR, "   
lv_e_calculation_rule  TYPE PSEN_FMDUR, "   
lv_p_fmsum  TYPE PSEN_FMSUM, "   
lv_e_others  TYPE PSEN_FMSUM, "   
lv_p_fmdat  TYPE PSEN_FMDAT, "   
lv_p_fmwgt  TYPE PSEN_FMWGT, "   
lv_id_write_buffer  TYPE PSEN_GRAD_CLG_RESULT_WRITE. "   SPACE

  CALL FUNCTION 'HR_SEN_CEILING_WEIGHT_GROUP'  "
    EXPORTING
         P_CEILING = lv_p_ceiling
         P_CEILING_DEC = lv_p_ceiling_dec
         P_CUT = lv_p_cut
         P_FMDUR = lv_p_fmdur
         P_FMSUM = lv_p_fmsum
         P_FMDAT = lv_p_fmdat
         P_FMWGT = lv_p_fmwgt
         ID_WRITE_BUFFER = lv_id_write_buffer
    IMPORTING
         P_DCEILI = lv_p_dceili
         P_RPEAK = lv_p_rpeak
    TABLES
         P_PERID = lt_p_perid
         P_PEAK = lt_p_peak
    EXCEPTIONS
        E_EMPTY_TABLES = 1
        E_CEILING_LONGER_PERIOD = 2
        E_CONVERSION_RULE = 3
        E_CALCULATION_RULE = 4
        E_OTHERS = 5
. " HR_SEN_CEILING_WEIGHT_GROUP




ABAP code using 7.40 inline data declarations to call FM HR_SEN_CEILING_WEIGHT_GROUP

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_id_write_buffer) = ' '.
 


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!