SAP ISU_FIX_LIN_DAILY_PORTION Function Module for Calculation of Fixed, Linear Portion per Period









ISU_FIX_LIN_DAILY_PORTION is a standard isu fix lin daily portion SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Calculation of Fixed, Linear Portion per Period processing and below is the pattern details for this FM, 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 isu fix lin daily portion FM, simply by entering the name ISU_FIX_LIN_DAILY_PORTION into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_FIX_LIN_DAILY_PORTION 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 'ISU_FIX_LIN_DAILY_PORTION'"Calculation of Fixed, Linear Portion per Period
EXPORTING
X_ZEITRAUM = "Validity Period
X_ADATVON = "
X_ADATBIS = "Date at Which a Time Slice Expires
* X_EXCL_29FEB = ' ' "

CHANGING
XY_SUM_OF_LINWEIGHT = "Expected Consumption: Internal Format

EXCEPTIONS
GENERAL_FAULT = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLELHR_001 IS-U: User-defined extrapolation procedure
EXIT_SAPLELHR_002 IS-U: Comparison of Customer and IS-U Extrapolation Procedures
EXIT_SAPLELHR_003 ISU: Projection Method Estimating the Meter Reading Result
EXIT_SAPLELHR_004 ISU: Extrapolation Procedure with Artificial EASTE

IMPORTING Parameters details for ISU_FIX_LIN_DAILY_PORTION

X_ZEITRAUM - Validity Period

Data type: EADZ-ZEITRAUM
Optional: No
Call by Reference: Yes

X_ADATVON -

Data type: EADZ-AB
Optional: No
Call by Reference: Yes

X_ADATBIS - Date at Which a Time Slice Expires

Data type: EADZ-BIS
Optional: No
Call by Reference: Yes

X_EXCL_29FEB -

Data type: REGEN-KENNZX
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ISU_FIX_LIN_DAILY_PORTION

XY_SUM_OF_LINWEIGHT - Expected Consumption: Internal Format

Data type: EABLH-I_VERBERW
Optional: No
Call by Reference: Yes

EXCEPTIONS details

GENERAL_FAULT - General Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_FIX_LIN_DAILY_PORTION 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_x_zeitraum  TYPE EADZ-ZEITRAUM, "   
lv_general_fault  TYPE EADZ, "   
lv_xy_sum_of_linweight  TYPE EABLH-I_VERBERW, "   
lv_x_adatvon  TYPE EADZ-AB, "   
lv_x_adatbis  TYPE EADZ-BIS, "   
lv_x_excl_29feb  TYPE REGEN-KENNZX. "   SPACE

  CALL FUNCTION 'ISU_FIX_LIN_DAILY_PORTION'  "Calculation of Fixed, Linear Portion per Period
    EXPORTING
         X_ZEITRAUM = lv_x_zeitraum
         X_ADATVON = lv_x_adatvon
         X_ADATBIS = lv_x_adatbis
         X_EXCL_29FEB = lv_x_excl_29feb
    CHANGING
         XY_SUM_OF_LINWEIGHT = lv_xy_sum_of_linweight
    EXCEPTIONS
        GENERAL_FAULT = 1
. " ISU_FIX_LIN_DAILY_PORTION




ABAP code using 7.40 inline data declarations to call FM ISU_FIX_LIN_DAILY_PORTION

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 ZEITRAUM FROM EADZ INTO @DATA(ld_x_zeitraum).
 
 
"SELECT single I_VERBERW FROM EABLH INTO @DATA(ld_xy_sum_of_linweight).
 
"SELECT single AB FROM EADZ INTO @DATA(ld_x_adatvon).
 
"SELECT single BIS FROM EADZ INTO @DATA(ld_x_adatbis).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_excl_29feb).
DATA(ld_x_excl_29feb) = ' '.
 


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!