SAP IAOM_REPLICATE_DATA Function Module for NOTRANSL: Daten replizieren









IAOM_REPLICATE_DATA is a standard iaom replicate data 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: Daten replizieren 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 iaom replicate data FM, simply by entering the name IAOM_REPLICATE_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: IAOM_SERVICE
Program Name: SAPLIAOM_SERVICE
Main Program: SAPLIAOM_SERVICE
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function IAOM_REPLICATE_DATA 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 'IAOM_REPLICATE_DATA'"NOTRANSL: Daten replizieren
EXPORTING
I_ROLLNAME = "Data Element
* I_DELETE_OLD_DATA = "

TABLES
IT_ATTR_DATA = "IF IAOM_DATA_REPLICATOR: Structure for Values & Text

EXCEPTIONS
DTEL_DOES_NOT_EXIST = 1 DTEL_NO_ENTITY_TABLE = 2 REPLICATION_FAILED = 3 INTERNAL_ERROR = 4
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLIAOM_SERVICE_001 Changes the Characteristics of a CO Object to Be Created or Changed

IMPORTING Parameters details for IAOM_REPLICATE_DATA

I_ROLLNAME - Data Element

Data type: DD04D-ROLLNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_DELETE_OLD_DATA -

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

TABLES Parameters details for IAOM_REPLICATE_DATA

IT_ATTR_DATA - IF IAOM_DATA_REPLICATOR: Structure for Values & Text

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

EXCEPTIONS details

DTEL_DOES_NOT_EXIST - Data element does not exist

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

DTEL_NO_ENTITY_TABLE -

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

REPLICATION_FAILED -

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

INTERNAL_ERROR - Internal error

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

Copy and paste ABAP code example for IAOM_REPLICATE_DATA 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_i_rollname  TYPE DD04D-ROLLNAME, "   
lt_it_attr_data  TYPE STANDARD TABLE OF IAOM_DR_ATTR_TAB, "   
lv_dtel_does_not_exist  TYPE IAOM_DR_ATTR_TAB, "   
lv_i_delete_old_data  TYPE BOOLE_D, "   
lv_dtel_no_entity_table  TYPE BOOLE_D, "   
lv_replication_failed  TYPE BOOLE_D, "   
lv_internal_error  TYPE BOOLE_D. "   

  CALL FUNCTION 'IAOM_REPLICATE_DATA'  "NOTRANSL: Daten replizieren
    EXPORTING
         I_ROLLNAME = lv_i_rollname
         I_DELETE_OLD_DATA = lv_i_delete_old_data
    TABLES
         IT_ATTR_DATA = lt_it_attr_data
    EXCEPTIONS
        DTEL_DOES_NOT_EXIST = 1
        DTEL_NO_ENTITY_TABLE = 2
        REPLICATION_FAILED = 3
        INTERNAL_ERROR = 4
. " IAOM_REPLICATE_DATA




ABAP code using 7.40 inline data declarations to call FM IAOM_REPLICATE_DATA

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 ROLLNAME FROM DD04D INTO @DATA(ld_i_rollname).
 
 
 
 
 
 
 


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!