SAP EWU_CL_END_CLUSTER Function Module for NOTRANSL: ende verarbeitung der cluster nach update
EWU_CL_END_CLUSTER is a standard ewu cl end cluster 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: ende verarbeitung der cluster nach update 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 cl end cluster FM, simply by entering the name EWU_CL_END_CLUSTER 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_CL_END_CLUSTER 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_CL_END_CLUSTER'"NOTRANSL: ende verarbeitung der cluster nach update.
EXPORTING
RELID = "
UMSID = "
UMSI2 = "
CLUNOE = "Background Job Number
RC = "Return Value, Return Value after ABAP Statements
* PAKET = "Number of the changeover package
* TABNAME = "Name of Table to be Converted
* TASK_NUMB = "EMU Cnv: Number of Tasks for Conversion
EXCEPTIONS
ONLY_ERROR_CLUSTER = 1
IMPORTING Parameters details for EWU_CL_END_CLUSTER
RELID -
Data type: EWUCLU-RELIDOptional: No
Call by Reference: No ( called with pass by value option)
UMSID -
Data type: EWUCLU-UMSIDOptional: No
Call by Reference: No ( called with pass by value option)
UMSI2 -
Data type: EWUCLU-UMSIDOptional: 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)
RC - Return Value, Return Value after ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
PAKET - Number of the changeover package
Data type: EWUPAK-PAKETOptional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME - Name of Table to be Converted
Data type: EWUCLSTAT-TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
TASK_NUMB - EMU Cnv: Number of Tasks for Conversion
Data type: EWUCLSTAT-TASK_NUMBOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ONLY_ERROR_CLUSTER -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EWU_CL_END_CLUSTER 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_relid | TYPE EWUCLU-RELID, " | |||
| lv_only_error_cluster | TYPE EWUCLU, " | |||
| lv_umsid | TYPE EWUCLU-UMSID, " | |||
| lv_umsi2 | TYPE EWUCLU-UMSID, " | |||
| lv_clunoe | TYPE EWUCLSTAT-JOBCOUNT, " | |||
| lv_rc | TYPE SY-SUBRC, " | |||
| lv_paket | TYPE EWUPAK-PAKET, " | |||
| lv_tabname | TYPE EWUCLSTAT-TABNAME, " | |||
| lv_task_numb | TYPE EWUCLSTAT-TASK_NUMB. " |
|   CALL FUNCTION 'EWU_CL_END_CLUSTER' "NOTRANSL: ende verarbeitung der cluster nach update |
| EXPORTING | ||
| RELID | = lv_relid | |
| UMSID | = lv_umsid | |
| UMSI2 | = lv_umsi2 | |
| CLUNOE | = lv_clunoe | |
| RC | = lv_rc | |
| PAKET | = lv_paket | |
| TABNAME | = lv_tabname | |
| TASK_NUMB | = lv_task_numb | |
| EXCEPTIONS | ||
| ONLY_ERROR_CLUSTER = 1 | ||
| . " EWU_CL_END_CLUSTER | ||
ABAP code using 7.40 inline data declarations to call FM EWU_CL_END_CLUSTER
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 RELID FROM EWUCLU INTO @DATA(ld_relid). | ||||
| "SELECT single UMSID FROM EWUCLU INTO @DATA(ld_umsid). | ||||
| "SELECT single UMSID FROM EWUCLU INTO @DATA(ld_umsi2). | ||||
| "SELECT single JOBCOUNT FROM EWUCLSTAT INTO @DATA(ld_clunoe). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_rc). | ||||
| "SELECT single PAKET FROM EWUPAK INTO @DATA(ld_paket). | ||||
| "SELECT single TABNAME FROM EWUCLSTAT INTO @DATA(ld_tabname). | ||||
| "SELECT single TASK_NUMB FROM EWUCLSTAT INTO @DATA(ld_task_numb). | ||||
Search for further information about these or an SAP related objects