SAP FMCA_DM_EA_UPDATE Function Module for Enforcement Action Update Module
FMCA_DM_EA_UPDATE is a standard fmca dm ea update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Enforcement Action Update Module 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 fmca dm ea update FM, simply by entering the name FMCA_DM_EA_UPDATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCA_DM_EA_UPD
Program Name: SAPLFMCA_DM_EA_UPD
Main Program: SAPLFMCA_DM_EA_UPD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function FMCA_DM_EA_UPDATE 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 'FMCA_DM_EA_UPDATE'"Enforcement Action Update Module.
EXPORTING
* IT_EA_I = "EA Header Insert
* IT_EA_APPT_I = "EA Appointment Insert
* IT_EA_APPT_U = "EA Appointment Update
* IT_EA_APPT_D = "EA Appointment Delete
* IT_EA_PARTNR_I = "EA Partner Insert
* IT_EA_PARTNR_U = "EA Partner Update
* IT_EA_PARTNR_D = "EA Partner Delete
* IT_EA_EXT_H_I = "EA Extension Insert
* IT_EA_EXT_H_U = "EA Extension Update
* IT_EA_EXT_H_D = "EA Extension Delete
* IT_EA_LINK_I = "Link table for EA
* IT_EA_U = "EA Header Update
* IT_EA_LINK_U = "Link table for EA
* IT_EA_LINK_D = "Link table for EA
* IT_FEE_I = "Table of EA Items
* IT_FEE_U = "Table of EA Items
* IT_FEE_D = "Table of EA Items
* IT_FEE_CUST_I_I = "Fee Customer Include (Item) Insert
* IT_FEE_CUST_I_U = "Fee Customer Include (Item) Update
* IT_FEE_CUST_I_D = "Fee Customer Include (Item) Delete
* IT_TEXT_I = "Data Base Update Structure for SAP Script Texts
* IT_TEXT_U = "Data Base Update Structure for SAP Script Texts
* IT_EA_D = "EA Header Insert Delete
* IT_TEXT_D = "Data Base Update Structure for SAP Script Texts
* IT_EA_CUST_H_I = "EA Customer Include (Header) Insert
* IT_EA_CUST_H_U = "EA Customer Include (Header) Update
* IT_EA_CUST_H_D = "EA Customer Include (Header) Delete
* IT_EA_STATUS_I = "EA Status Insert
* IT_EA_STATUS_U = "EA Status Update
* IT_EA_STATUS_D = "EA Status Delete
IMPORTING Parameters details for FMCA_DM_EA_UPDATE
IT_EA_I - EA Header Insert
Data type: FMCA_DM_EA_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_APPT_I - EA Appointment Insert
Data type: FMCA_DM_EA_APPT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_APPT_U - EA Appointment Update
Data type: FMCA_DM_EA_APPT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_APPT_D - EA Appointment Delete
Data type: FMCA_DM_EA_APPT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_PARTNR_I - EA Partner Insert
Data type: FMCA_DM_EA_PARTNR_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_PARTNR_U - EA Partner Update
Data type: FMCA_DM_EA_PARTNR_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_PARTNR_D - EA Partner Delete
Data type: FMCA_DM_EA_PARTNR_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_EXT_H_I - EA Extension Insert
Data type: FMCA_DM_EA_EXT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_EXT_H_U - EA Extension Update
Data type: FMCA_DM_EA_EXT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_EXT_H_D - EA Extension Delete
Data type: FMCA_DM_EA_EXT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_LINK_I - Link table for EA
Data type: FMCA_DM_EA_LINK_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_U - EA Header Update
Data type: FMCA_DM_EA_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_LINK_U - Link table for EA
Data type: FMCA_DM_EA_LINK_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_LINK_D - Link table for EA
Data type: FMCA_DM_EA_LINK_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FEE_I - Table of EA Items
Data type: FMCA_DMEA_ITEM_DB_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FEE_U - Table of EA Items
Data type: FMCA_DMEA_ITEM_DB_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FEE_D - Table of EA Items
Data type: FMCA_DMEA_ITEM_DB_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FEE_CUST_I_I - Fee Customer Include (Item) Insert
Data type: FMCA_DM_EA_CUSTOMER_I_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FEE_CUST_I_U - Fee Customer Include (Item) Update
Data type: FMCA_DM_EA_CUSTOMER_I_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FEE_CUST_I_D - Fee Customer Include (Item) Delete
Data type: FMCA_DM_EA_CUSTOMER_I_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TEXT_I - Data Base Update Structure for SAP Script Texts
Data type: FMCA_DMEA_TEXT_DB_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TEXT_U - Data Base Update Structure for SAP Script Texts
Data type: FMCA_DMEA_TEXT_DB_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_D - EA Header Insert Delete
Data type: FMCA_DM_EA_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TEXT_D - Data Base Update Structure for SAP Script Texts
Data type: FMCA_DMEA_TEXT_DB_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_CUST_H_I - EA Customer Include (Header) Insert
Data type: FMCA_DM_EA_CUST_H_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_CUST_H_U - EA Customer Include (Header) Update
Data type: FMCA_DM_EA_CUST_H_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_CUST_H_D - EA Customer Include (Header) Delete
Data type: FMCA_DM_EA_CUST_H_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_STATUS_I - EA Status Insert
Data type: FMCA_DM_EA_STATUS_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_STATUS_U - EA Status Update
Data type: FMCA_DM_EA_STATUS_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EA_STATUS_D - EA Status Delete
Data type: FMCA_DM_EA_STATUS_TOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FMCA_DM_EA_UPDATE 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_it_ea_i | TYPE FMCA_DM_EA_T, " | |||
| lv_it_ea_appt_i | TYPE FMCA_DM_EA_APPT_T, " | |||
| lv_it_ea_appt_u | TYPE FMCA_DM_EA_APPT_T, " | |||
| lv_it_ea_appt_d | TYPE FMCA_DM_EA_APPT_T, " | |||
| lv_it_ea_partnr_i | TYPE FMCA_DM_EA_PARTNR_T, " | |||
| lv_it_ea_partnr_u | TYPE FMCA_DM_EA_PARTNR_T, " | |||
| lv_it_ea_partnr_d | TYPE FMCA_DM_EA_PARTNR_T, " | |||
| lv_it_ea_ext_h_i | TYPE FMCA_DM_EA_EXT_T, " | |||
| lv_it_ea_ext_h_u | TYPE FMCA_DM_EA_EXT_T, " | |||
| lv_it_ea_ext_h_d | TYPE FMCA_DM_EA_EXT_T, " | |||
| lv_it_ea_link_i | TYPE FMCA_DM_EA_LINK_T, " | |||
| lv_it_ea_u | TYPE FMCA_DM_EA_T, " | |||
| lv_it_ea_link_u | TYPE FMCA_DM_EA_LINK_T, " | |||
| lv_it_ea_link_d | TYPE FMCA_DM_EA_LINK_T, " | |||
| lv_it_fee_i | TYPE FMCA_DMEA_ITEM_DB_T, " | |||
| lv_it_fee_u | TYPE FMCA_DMEA_ITEM_DB_T, " | |||
| lv_it_fee_d | TYPE FMCA_DMEA_ITEM_DB_T, " | |||
| lv_it_fee_cust_i_i | TYPE FMCA_DM_EA_CUSTOMER_I_T, " | |||
| lv_it_fee_cust_i_u | TYPE FMCA_DM_EA_CUSTOMER_I_T, " | |||
| lv_it_fee_cust_i_d | TYPE FMCA_DM_EA_CUSTOMER_I_T, " | |||
| lv_it_text_i | TYPE FMCA_DMEA_TEXT_DB_T, " | |||
| lv_it_text_u | TYPE FMCA_DMEA_TEXT_DB_T, " | |||
| lv_it_ea_d | TYPE FMCA_DM_EA_T, " | |||
| lv_it_text_d | TYPE FMCA_DMEA_TEXT_DB_T, " | |||
| lv_it_ea_cust_h_i | TYPE FMCA_DM_EA_CUST_H_T, " | |||
| lv_it_ea_cust_h_u | TYPE FMCA_DM_EA_CUST_H_T, " | |||
| lv_it_ea_cust_h_d | TYPE FMCA_DM_EA_CUST_H_T, " | |||
| lv_it_ea_status_i | TYPE FMCA_DM_EA_STATUS_T, " | |||
| lv_it_ea_status_u | TYPE FMCA_DM_EA_STATUS_T, " | |||
| lv_it_ea_status_d | TYPE FMCA_DM_EA_STATUS_T. " |
|   CALL FUNCTION 'FMCA_DM_EA_UPDATE' "Enforcement Action Update Module |
| EXPORTING | ||
| IT_EA_I | = lv_it_ea_i | |
| IT_EA_APPT_I | = lv_it_ea_appt_i | |
| IT_EA_APPT_U | = lv_it_ea_appt_u | |
| IT_EA_APPT_D | = lv_it_ea_appt_d | |
| IT_EA_PARTNR_I | = lv_it_ea_partnr_i | |
| IT_EA_PARTNR_U | = lv_it_ea_partnr_u | |
| IT_EA_PARTNR_D | = lv_it_ea_partnr_d | |
| IT_EA_EXT_H_I | = lv_it_ea_ext_h_i | |
| IT_EA_EXT_H_U | = lv_it_ea_ext_h_u | |
| IT_EA_EXT_H_D | = lv_it_ea_ext_h_d | |
| IT_EA_LINK_I | = lv_it_ea_link_i | |
| IT_EA_U | = lv_it_ea_u | |
| IT_EA_LINK_U | = lv_it_ea_link_u | |
| IT_EA_LINK_D | = lv_it_ea_link_d | |
| IT_FEE_I | = lv_it_fee_i | |
| IT_FEE_U | = lv_it_fee_u | |
| IT_FEE_D | = lv_it_fee_d | |
| IT_FEE_CUST_I_I | = lv_it_fee_cust_i_i | |
| IT_FEE_CUST_I_U | = lv_it_fee_cust_i_u | |
| IT_FEE_CUST_I_D | = lv_it_fee_cust_i_d | |
| IT_TEXT_I | = lv_it_text_i | |
| IT_TEXT_U | = lv_it_text_u | |
| IT_EA_D | = lv_it_ea_d | |
| IT_TEXT_D | = lv_it_text_d | |
| IT_EA_CUST_H_I | = lv_it_ea_cust_h_i | |
| IT_EA_CUST_H_U | = lv_it_ea_cust_h_u | |
| IT_EA_CUST_H_D | = lv_it_ea_cust_h_d | |
| IT_EA_STATUS_I | = lv_it_ea_status_i | |
| IT_EA_STATUS_U | = lv_it_ea_status_u | |
| IT_EA_STATUS_D | = lv_it_ea_status_d | |
| . " FMCA_DM_EA_UPDATE | ||
ABAP code using 7.40 inline data declarations to call FM FMCA_DM_EA_UPDATE
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.Search for further information about these or an SAP related objects