SAP ICL_SUP_DIRECT_AVERAGE Function Module for
ICL_SUP_DIRECT_AVERAGE is a standard icl sup direct average 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 icl sup direct average FM, simply by entering the name ICL_SUP_DIRECT_AVERAGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_SUP_RES
Program Name: SAPLICL_SUP_RES
Main Program: SAPLICL_SUP_RES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_SUP_DIRECT_AVERAGE 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 'ICL_SUP_DIRECT_AVERAGE'".
EXPORTING
* I_TICL809 = "
* I_TICL811 = "
* I_RESDATA1 = "
* I_RESDATA2 = "
IMPORTING
E_RESDATA = "
E_RC = "
E_RCTEXT = "
IMPORTING Parameters details for ICL_SUP_DIRECT_AVERAGE
I_TICL809 -
Data type: TICL809Optional: Yes
Call by Reference: Yes
I_TICL811 -
Data type: TICL811Optional: Yes
Call by Reference: Yes
I_RESDATA1 -
Data type: ICL_RESDATAOptional: Yes
Call by Reference: Yes
I_RESDATA2 -
Data type: ICL_RESDATAOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ICL_SUP_DIRECT_AVERAGE
E_RESDATA -
Data type: ICL_RESDATAOptional: No
Call by Reference: Yes
E_RC -
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
E_RCTEXT -
Data type: ICL_TEXT30Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICL_SUP_DIRECT_AVERAGE 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_e_resdata | TYPE ICL_RESDATA, " | |||
| lv_i_ticl809 | TYPE TICL809, " | |||
| lv_e_rc | TYPE SY-SUBRC, " | |||
| lv_i_ticl811 | TYPE TICL811, " | |||
| lv_e_rctext | TYPE ICL_TEXT30, " | |||
| lv_i_resdata1 | TYPE ICL_RESDATA, " | |||
| lv_i_resdata2 | TYPE ICL_RESDATA. " |
|   CALL FUNCTION 'ICL_SUP_DIRECT_AVERAGE' " |
| EXPORTING | ||
| I_TICL809 | = lv_i_ticl809 | |
| I_TICL811 | = lv_i_ticl811 | |
| I_RESDATA1 | = lv_i_resdata1 | |
| I_RESDATA2 | = lv_i_resdata2 | |
| IMPORTING | ||
| E_RESDATA | = lv_e_resdata | |
| E_RC | = lv_e_rc | |
| E_RCTEXT | = lv_e_rctext | |
| . " ICL_SUP_DIRECT_AVERAGE | ||
ABAP code using 7.40 inline data declarations to call FM ICL_SUP_DIRECT_AVERAGE
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 SUBRC FROM SY INTO @DATA(ld_e_rc). | ||||
Search for further information about these or an SAP related objects