SAP FM_EA_CLUSTER_MODIFY Function Module for Create Request Data









FM_EA_CLUSTER_MODIFY is a standard fm ea cluster modify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Request 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 fm ea cluster modify FM, simply by entering the name FM_EA_CLUSTER_MODIFY into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_EA_CLUSTER_MODIFY 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 'FM_EA_CLUSTER_MODIFY'"Create Request Data
EXPORTING
IDS_RQDET = "E-Actions: Cluster Structure - Context Node
IFD_EAARL = "Entry Role
* IFD_EALBU = SY-UNAME "Last Changed By User
* IFD_EASQN = '0000' "Sequence Number
* IFD_EAFXD = "Initiation File Data
* IFD_COMIT = 'X' "Commit Flag

IMPORTING
EFD_ERRFG = "Checkbox
ETB_ERRTB = "Error Messages
.



IMPORTING Parameters details for FM_EA_CLUSTER_MODIFY

IDS_RQDET - E-Actions: Cluster Structure - Context Node

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

IFD_EAARL - Entry Role

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

IFD_EALBU - Last Changed By User

Data type: PIN_EALBU
Default: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

IFD_EASQN - Sequence Number

Data type: PIN_EASQN
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IFD_EAFXD - Initiation File Data

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

IFD_COMIT - Commit Flag

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_EA_CLUSTER_MODIFY

EFD_ERRFG - Checkbox

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

ETB_ERRTB - Error Messages

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

Copy and paste ABAP code example for FM_EA_CLUSTER_MODIFY 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_efd_errfg  TYPE XFELD, "   
lv_ids_rqdet  TYPE PIN_EADS_CLUST_CN, "   
lv_etb_errtb  TYPE BAPIRET2_TAB, "   
lv_ifd_eaarl  TYPE PIN_EAARL, "   
lv_ifd_ealbu  TYPE PIN_EALBU, "   SY-UNAME
lv_ifd_easqn  TYPE PIN_EASQN, "   '0000'
lv_ifd_eafxd  TYPE XSTRING, "   
lv_ifd_comit  TYPE XFELD. "   'X'

  CALL FUNCTION 'FM_EA_CLUSTER_MODIFY'  "Create Request Data
    EXPORTING
         IDS_RQDET = lv_ids_rqdet
         IFD_EAARL = lv_ifd_eaarl
         IFD_EALBU = lv_ifd_ealbu
         IFD_EASQN = lv_ifd_easqn
         IFD_EAFXD = lv_ifd_eafxd
         IFD_COMIT = lv_ifd_comit
    IMPORTING
         EFD_ERRFG = lv_efd_errfg
         ETB_ERRTB = lv_etb_errtb
. " FM_EA_CLUSTER_MODIFY




ABAP code using 7.40 inline data declarations to call FM FM_EA_CLUSTER_MODIFY

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.

 
 
 
 
DATA(ld_ifd_ealbu) = SY-UNAME.
 
DATA(ld_ifd_easqn) = '0000'.
 
 
DATA(ld_ifd_comit) = 'X'.
 


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!