SAP ISU_EDM_OPEN_DETERM_USEFACTOR Function Module for Open Object, Determine Usage Factor, and Provide Auto Data









ISU_EDM_OPEN_DETERM_USEFACTOR is a standard isu edm open determ usefactor SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Open Object, Determine Usage Factor, and Provide Auto Data 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 edm open determ usefactor FM, simply by entering the name ISU_EDM_OPEN_DETERM_USEFACTOR into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_EDM_OPEN_DETERM_USEFACTOR 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_EDM_OPEN_DETERM_USEFACTOR'"Open Object, Determine Usage Factor, and Provide Auto Data
EXPORTING
X_OBJKEY = "Object Key
* X_ABRVORG = "Billing Transaction
* X_BILLING_DATA = "Billing data
* X_BCANCEL_DATA = "Data Bill. Revers. Update: ERCH, ETRG, EITR, Offsetting Erch
* X_I_USAGE_OPER = "Table of Usage Factors for Each Operand
* X_IALLEVER = "Standard Table for EVER Structure
* X_BELNR = "Number of a billing document
X_OBJTYPE = "Reference Obj. Type
* X_SPARTE = "Division
* X_BIS = CO_DATE_INFINITE "Date at Which a Time Slice Expires
* X_AB = "Date from Which a Time Slice is Valid
* X_COMPT = "INTERNAL: calculation format for readings and consumption
X_WMODE = "Indicator
* X_MASS = "Unit of Meas.
* X_VACANT = "Indicator

IMPORTING
Y_LPASSLIST_OBJ = "

EXCEPTIONS
SYSTEM_ERROR = 1 SYNTHPROF_NOT_FOUND = 2 NOT_FOUND = 3
.




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_SAPLEEDM_USAGEFACTOR_001 Consumption Factor Determination: Filter Out Allocations
EXIT_SAPLEEDM_USAGEFACTOR_002 Determination of Relevant Period
EXIT_SAPLEEDM_USAGEFACTOR_003 Determination of Future Consumption Factor

IMPORTING Parameters details for ISU_EDM_OPEN_DETERM_USEFACTOR

X_OBJKEY - Object Key

Data type: EUFASS-OBJKEY
Optional: No
Call by Reference: Yes

X_ABRVORG - Billing Transaction

Data type: ETRG-ABRVORG
Optional: Yes
Call by Reference: Yes

X_BILLING_DATA - Billing data

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

X_BCANCEL_DATA - Data Bill. Revers. Update: ERCH, ETRG, EITR, Offsetting Erch

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

X_I_USAGE_OPER - Table of Usage Factors for Each Operand

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

X_IALLEVER - Standard Table for EVER Structure

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

X_BELNR - Number of a billing document

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

X_OBJTYPE - Reference Obj. Type

Data type: EUFASS-OBJTYPE
Optional: No
Call by Reference: Yes

X_SPARTE - Division

Data type: EANL-SPARTE
Optional: Yes
Call by Reference: Yes

X_BIS - Date at Which a Time Slice Expires

Data type: EUFASS-BIS
Default: CO_DATE_INFINITE
Optional: Yes
Call by Reference: Yes

X_AB - Date from Which a Time Slice is Valid

Data type: EUFASS-AB
Optional: Yes
Call by Reference: Yes

X_COMPT - INTERNAL: calculation format for readings and consumption

Data type: REABLD-COMPT
Optional: Yes
Call by Reference: Yes

X_WMODE - Indicator

Data type: REGEN-WMODE
Optional: No
Call by Reference: Yes

X_MASS - Unit of Meas.

Data type: EPROFHEAD-MASS
Optional: Yes
Call by Reference: Yes

X_VACANT - Indicator

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_EDM_OPEN_DETERM_USEFACTOR

Y_LPASSLIST_OBJ -

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

EXCEPTIONS details

SYSTEM_ERROR -

Data type:
Optional: No
Call by Reference: Yes

SYNTHPROF_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_EDM_OPEN_DETERM_USEFACTOR 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_objkey  TYPE EUFASS-OBJKEY, "   
lv_system_error  TYPE EUFASS, "   
lv_y_lpasslist_obj  TYPE ISULP_LPASSLIST, "   
lv_x_abrvorg  TYPE ETRG-ABRVORG, "   
lv_x_billing_data  TYPE ISU2A_BILLING_DATA, "   
lv_x_bcancel_data  TYPE ISU2A_BCANCEL_DATA, "   
lv_x_i_usage_oper  TYPE ISU2A_IUSAGE_OPER, "   
lv_x_iallever  TYPE ISU2A_IEVER, "   
lv_x_belnr  TYPE E_BELNR, "   
lv_x_objtype  TYPE EUFASS-OBJTYPE, "   
lv_synthprof_not_found  TYPE EUFASS, "   
lv_x_sparte  TYPE EANL-SPARTE, "   
lv_not_found  TYPE EANL, "   
lv_x_bis  TYPE EUFASS-BIS, "   CO_DATE_INFINITE
lv_x_ab  TYPE EUFASS-AB, "   
lv_x_compt  TYPE REABLD-COMPT, "   
lv_x_wmode  TYPE REGEN-WMODE, "   
lv_x_mass  TYPE EPROFHEAD-MASS, "   
lv_x_vacant  TYPE REGEN-KENNZX. "   

  CALL FUNCTION 'ISU_EDM_OPEN_DETERM_USEFACTOR'  "Open Object, Determine Usage Factor, and Provide Auto Data
    EXPORTING
         X_OBJKEY = lv_x_objkey
         X_ABRVORG = lv_x_abrvorg
         X_BILLING_DATA = lv_x_billing_data
         X_BCANCEL_DATA = lv_x_bcancel_data
         X_I_USAGE_OPER = lv_x_i_usage_oper
         X_IALLEVER = lv_x_iallever
         X_BELNR = lv_x_belnr
         X_OBJTYPE = lv_x_objtype
         X_SPARTE = lv_x_sparte
         X_BIS = lv_x_bis
         X_AB = lv_x_ab
         X_COMPT = lv_x_compt
         X_WMODE = lv_x_wmode
         X_MASS = lv_x_mass
         X_VACANT = lv_x_vacant
    IMPORTING
         Y_LPASSLIST_OBJ = lv_y_lpasslist_obj
    EXCEPTIONS
        SYSTEM_ERROR = 1
        SYNTHPROF_NOT_FOUND = 2
        NOT_FOUND = 3
. " ISU_EDM_OPEN_DETERM_USEFACTOR




ABAP code using 7.40 inline data declarations to call FM ISU_EDM_OPEN_DETERM_USEFACTOR

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 OBJKEY FROM EUFASS INTO @DATA(ld_x_objkey).
 
 
 
"SELECT single ABRVORG FROM ETRG INTO @DATA(ld_x_abrvorg).
 
 
 
 
 
 
"SELECT single OBJTYPE FROM EUFASS INTO @DATA(ld_x_objtype).
 
 
"SELECT single SPARTE FROM EANL INTO @DATA(ld_x_sparte).
 
 
"SELECT single BIS FROM EUFASS INTO @DATA(ld_x_bis).
DATA(ld_x_bis) = CO_DATE_INFINITE.
 
"SELECT single AB FROM EUFASS INTO @DATA(ld_x_ab).
 
"SELECT single COMPT FROM REABLD INTO @DATA(ld_x_compt).
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_x_wmode).
 
"SELECT single MASS FROM EPROFHEAD INTO @DATA(ld_x_mass).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_vacant).
 


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!