SAP EWU_CLU_INIT_PARMS Function Module for NOTRANSL: initialisieren
EWU_CLU_INIT_PARMS is a standard ewu clu init parms SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: initialisieren 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 ewu clu init parms FM, simply by entering the name EWU_CLU_INIT_PARMS into the relevant SAP transaction such as SE37 or SE38.
Function Group: ECLU
Program Name: SAPLECLU
Main Program: SAPLECLU
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EWU_CLU_INIT_PARMS 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 'EWU_CLU_INIT_PARMS'"NOTRANSL: initialisieren.
EXPORTING
PAKET = "Number of the changeover package
IMPORTING
RELID = "EMU Cnv: Memory Area of Cluster
STATUS_LOG = "
STATUS_TEC = "
CLUNOE = "Background Job Number
SUBPOOL = "Program name
TSKNO = "EMU Cnv: Number of Tasks for Conversion
UMSID = "EMU Cnv: Lower Interval Limit for Processing Clusters
UMSI2 = "EMU Cnv: Upper Interval Limit for Processing Clusters
LINEREAD = "Number of records read during the changeover
LINEUPD = "Number of records read during the changeover
PHASE = "Technical Status of Program
CHANGING
TABNAME = "Name of Table to be Converted
PROGRAM = "Program name
* ANZCOMCLU = "
TABLES
UMSU = "
IMPORTING Parameters details for EWU_CLU_INIT_PARMS
PAKET - Number of the changeover package
Data type: EWUCLCT-PAKETOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EWU_CLU_INIT_PARMS
RELID - EMU Cnv: Memory Area of Cluster
Data type: EWUCLSTAT-CLU_RELIDOptional: No
Call by Reference: No ( called with pass by value option)
STATUS_LOG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
STATUS_TEC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CLUNOE - Background Job Number
Data type: EWUCLSTAT-JOBCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
SUBPOOL - Program name
Data type: EWUCLSTAT-PROGRAMMOptional: No
Call by Reference: No ( called with pass by value option)
TSKNO - EMU Cnv: Number of Tasks for Conversion
Data type: EWUCLSTAT-TASK_NUMBOptional: No
Call by Reference: No ( called with pass by value option)
UMSID - EMU Cnv: Lower Interval Limit for Processing Clusters
Data type: EWUCLSTAT-LIMIT_LOWOptional: No
Call by Reference: No ( called with pass by value option)
UMSI2 - EMU Cnv: Upper Interval Limit for Processing Clusters
Data type: EWUCLSTAT-LIMIT_HIGHOptional: No
Call by Reference: No ( called with pass by value option)
LINEREAD - Number of records read during the changeover
Data type: EWUPGTAB-ANZUMSREADOptional: No
Call by Reference: No ( called with pass by value option)
LINEUPD - Number of records read during the changeover
Data type: EWUPGTAB-ANZUMSREADOptional: No
Call by Reference: No ( called with pass by value option)
PHASE - Technical Status of Program
Data type: EWUCLSTAT-STATUS_PHSOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EWU_CLU_INIT_PARMS
TABNAME - Name of Table to be Converted
Data type: EWUCLCT-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
PROGRAM - Program name
Data type: EWUCLSTAT-PROGRAMMOptional: No
Call by Reference: No ( called with pass by value option)
ANZCOMCLU -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EWU_CLU_INIT_PARMS
UMSU -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EWU_CLU_INIT_PARMS 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_umsu | TYPE STANDARD TABLE OF STRING, " | |||
| lv_paket | TYPE EWUCLCT-PAKET, " | |||
| lv_relid | TYPE EWUCLSTAT-CLU_RELID, " | |||
| lv_tabname | TYPE EWUCLCT-TABNAME, " | |||
| lv_status_log | TYPE EWUCLCT, " | |||
| lv_status_tec | TYPE EWUCLCT, " | |||
| lv_clunoe | TYPE EWUCLSTAT-JOBCOUNT, " | |||
| lv_program | TYPE EWUCLSTAT-PROGRAMM, " | |||
| lv_subpool | TYPE EWUCLSTAT-PROGRAMM, " | |||
| lv_anzcomclu | TYPE I, " | |||
| lv_tskno | TYPE EWUCLSTAT-TASK_NUMB, " | |||
| lv_umsid | TYPE EWUCLSTAT-LIMIT_LOW, " | |||
| lv_umsi2 | TYPE EWUCLSTAT-LIMIT_HIGH, " | |||
| lv_lineread | TYPE EWUPGTAB-ANZUMSREAD, " | |||
| lv_lineupd | TYPE EWUPGTAB-ANZUMSREAD, " | |||
| lv_phase | TYPE EWUCLSTAT-STATUS_PHS. " |
|   CALL FUNCTION 'EWU_CLU_INIT_PARMS' "NOTRANSL: initialisieren |
| EXPORTING | ||
| PAKET | = lv_paket | |
| IMPORTING | ||
| RELID | = lv_relid | |
| STATUS_LOG | = lv_status_log | |
| STATUS_TEC | = lv_status_tec | |
| CLUNOE | = lv_clunoe | |
| SUBPOOL | = lv_subpool | |
| TSKNO | = lv_tskno | |
| UMSID | = lv_umsid | |
| UMSI2 | = lv_umsi2 | |
| LINEREAD | = lv_lineread | |
| LINEUPD | = lv_lineupd | |
| PHASE | = lv_phase | |
| CHANGING | ||
| TABNAME | = lv_tabname | |
| PROGRAM | = lv_program | |
| ANZCOMCLU | = lv_anzcomclu | |
| TABLES | ||
| UMSU | = lt_umsu | |
| . " EWU_CLU_INIT_PARMS | ||
ABAP code using 7.40 inline data declarations to call FM EWU_CLU_INIT_PARMS
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 PAKET FROM EWUCLCT INTO @DATA(ld_paket). | ||||
| "SELECT single CLU_RELID FROM EWUCLSTAT INTO @DATA(ld_relid). | ||||
| "SELECT single TABNAME FROM EWUCLCT INTO @DATA(ld_tabname). | ||||
| "SELECT single JOBCOUNT FROM EWUCLSTAT INTO @DATA(ld_clunoe). | ||||
| "SELECT single PROGRAMM FROM EWUCLSTAT INTO @DATA(ld_program). | ||||
| "SELECT single PROGRAMM FROM EWUCLSTAT INTO @DATA(ld_subpool). | ||||
| "SELECT single TASK_NUMB FROM EWUCLSTAT INTO @DATA(ld_tskno). | ||||
| "SELECT single LIMIT_LOW FROM EWUCLSTAT INTO @DATA(ld_umsid). | ||||
| "SELECT single LIMIT_HIGH FROM EWUCLSTAT INTO @DATA(ld_umsi2). | ||||
| "SELECT single ANZUMSREAD FROM EWUPGTAB INTO @DATA(ld_lineread). | ||||
| "SELECT single ANZUMSREAD FROM EWUPGTAB INTO @DATA(ld_lineupd). | ||||
| "SELECT single STATUS_PHS FROM EWUCLSTAT INTO @DATA(ld_phase). | ||||
Search for further information about these or an SAP related objects