SAP EXTERNAL_DATA_MANAGEMENT Function Module for Manage Calculation Bases
EXTERNAL_DATA_MANAGEMENT is a standard external data management SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Manage Calculation Bases 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 external data management FM, simply by entering the name EXTERNAL_DATA_MANAGEMENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FTI3
Program Name: SAPLFTI3
Main Program: SAPLFTI3
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXTERNAL_DATA_MANAGEMENT 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 'EXTERNAL_DATA_MANAGEMENT'"Manage Calculation Bases.
EXPORTING
ACTION = "Area Not More Closely Defined, Possibly Used for Patchlevels
APPLCLASS = "Application class for DD objects (not used)
PAKOM = "
REPID = "
SUBCLASS = "Subgroup by Application Class
TABNAME = "Table Name
* SMODUS = 'Y' "
IMPORTING Parameters details for EXTERNAL_DATA_MANAGEMENT
ACTION - Area Not More Closely Defined, Possibly Used for Patchlevels
Data type: CHAR4Optional: No
Call by Reference: No ( called with pass by value option)
APPLCLASS - Application class for DD objects (not used)
Data type: APPLCLASSOptional: No
Call by Reference: No ( called with pass by value option)
PAKOM -
Data type: RKB1D-LNUMOptional: No
Call by Reference: No ( called with pass by value option)
REPID -
Data type: RKB1D-REPIDOptional: No
Call by Reference: No ( called with pass by value option)
SUBCLASS - Subgroup by Application Class
Data type: SUBCLASSOptional: No
Call by Reference: No ( called with pass by value option)
TABNAME - Table Name
Data type: TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
SMODUS -
Data type: RKB1D-SMODUSDefault: 'Y'
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXTERNAL_DATA_MANAGEMENT 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_action | TYPE CHAR4, " | |||
| lv_applclass | TYPE APPLCLASS, " | |||
| lv_pakom | TYPE RKB1D-LNUM, " | |||
| lv_repid | TYPE RKB1D-REPID, " | |||
| lv_subclass | TYPE SUBCLASS, " | |||
| lv_tabname | TYPE TABNAME, " | |||
| lv_smodus | TYPE RKB1D-SMODUS. " 'Y' |
|   CALL FUNCTION 'EXTERNAL_DATA_MANAGEMENT' "Manage Calculation Bases |
| EXPORTING | ||
| ACTION | = lv_action | |
| APPLCLASS | = lv_applclass | |
| PAKOM | = lv_pakom | |
| REPID | = lv_repid | |
| SUBCLASS | = lv_subclass | |
| TABNAME | = lv_tabname | |
| SMODUS | = lv_smodus | |
| . " EXTERNAL_DATA_MANAGEMENT | ||
ABAP code using 7.40 inline data declarations to call FM EXTERNAL_DATA_MANAGEMENT
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 LNUM FROM RKB1D INTO @DATA(ld_pakom). | ||||
| "SELECT single REPID FROM RKB1D INTO @DATA(ld_repid). | ||||
| "SELECT single SMODUS FROM RKB1D INTO @DATA(ld_smodus). | ||||
| DATA(ld_smodus) | = 'Y'. | |||
Search for further information about these or an SAP related objects