SAP UKM_E_ADD Function Module for
UKM_E_ADD is a standard ukm e add 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 ukm e add FM, simply by entering the name UKM_E_ADD into the relevant SAP transaction such as SE37 or SE38.
Function Group: UKM_EASY
Program Name: SAPLUKM_EASY
Main Program: SAPLUKM_EASY
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function UKM_E_ADD 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 'UKM_E_ADD'".
EXPORTING
IT_KEY_MAPPING = "
* IV_DISPLACED_VERSION = 'X' "
* IV_RUNTIME_GENERATED_CONTEXT = 'X' "
* IV_SAVE = "
* IV_SAVE_AND_COMMIT = "
IMPORTING
ES_MESSAGES = "
IMPORTING Parameters details for UKM_E_ADD
IT_KEY_MAPPING -
Data type: UKM_T_MAPPINGS_EASYOptional: No
Call by Reference: No ( called with pass by value option)
IV_DISPLACED_VERSION -
Data type: UKM_E_IF_FLAG_BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_RUNTIME_GENERATED_CONTEXT -
Data type: UKM_E_RUNT_GEN_CONTEXT_BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_SAVE -
Data type: UKM_E_IF_FLAG_BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SAVE_AND_COMMIT -
Data type: UKM_E_IF_FLAG_BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for UKM_E_ADD
ES_MESSAGES -
Data type: UKM_S_MESSAGESOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for UKM_E_ADD 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_es_messages | TYPE UKM_S_MESSAGES, " | |||
| lv_it_key_mapping | TYPE UKM_T_MAPPINGS_EASY, " | |||
| lv_iv_displaced_version | TYPE UKM_E_IF_FLAG_BOOLEAN, " 'X' | |||
| lv_iv_runtime_generated_context | TYPE UKM_E_RUNT_GEN_CONTEXT_BOOLEAN, " 'X' | |||
| lv_iv_save | TYPE UKM_E_IF_FLAG_BOOLEAN, " | |||
| lv_iv_save_and_commit | TYPE UKM_E_IF_FLAG_BOOLEAN. " |
|   CALL FUNCTION 'UKM_E_ADD' " |
| EXPORTING | ||
| IT_KEY_MAPPING | = lv_it_key_mapping | |
| IV_DISPLACED_VERSION | = lv_iv_displaced_version | |
| IV_RUNTIME_GENERATED_CONTEXT | = lv_iv_runtime_generated_context | |
| IV_SAVE | = lv_iv_save | |
| IV_SAVE_AND_COMMIT | = lv_iv_save_and_commit | |
| IMPORTING | ||
| ES_MESSAGES | = lv_es_messages | |
| . " UKM_E_ADD | ||
ABAP code using 7.40 inline data declarations to call FM UKM_E_ADD
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_iv_displaced_version) | = 'X'. | |||
| DATA(ld_iv_runtime_generated_context) | = 'X'. | |||
Search for further information about these or an SAP related objects