/AWS1/IF_DMG=>RELOADREPLICATIONTABLES()¶
About ReloadReplicationTables¶
Reloads the target database table with the source data for a given DMS Serverless replication configuration.
You can only use this operation with a task in the RUNNING state, otherwise the service
will throw an InvalidResourceStateFault exception.
Method Signature¶
METHODS /AWS1/IF_DMG~RELOADREPLICATIONTABLES
IMPORTING
!IV_REPLICATIONCONFIGARN TYPE /AWS1/DMGSTRING OPTIONAL
!IT_TABLESTORELOAD TYPE /AWS1/CL_DMGTABLETORELOAD=>TT_TABLELISTTORELOAD OPTIONAL
!IV_RELOADOPTION TYPE /AWS1/DMGRELOADOPTIONVALUE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dmgreloadrepltblsrsp
RAISING
/AWS1/CX_DMGINVRESRCSTATEFAULT
/AWS1/CX_DMGRESRCNOTFOUNDFAULT
/AWS1/CX_DMGCLIENTEXC
/AWS1/CX_DMGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_replicationconfigarn TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING¶
The Amazon Resource Name of the replication config for which to reload tables.
it_tablestoreload TYPE /AWS1/CL_DMGTABLETORELOAD=>TT_TABLELISTTORELOAD TT_TABLELISTTORELOAD¶
The list of tables to reload.
Optional arguments:¶
iv_reloadoption TYPE /AWS1/DMGRELOADOPTIONVALUE /AWS1/DMGRELOADOPTIONVALUE¶
Options for reload. Specify
data-reloadto reload the data and re-validate it if validation is enabled. Specifyvalidate-onlyto re-validate the table. This option applies only when validation is enabled for the replication.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dmgreloadrepltblsrsp /AWS1/CL_DMGRELOADREPLTBLSRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->reloadreplicationtables(
it_tablestoreload = VALUE /aws1/cl_dmgtabletoreload=>tt_tablelisttoreload(
(
new /aws1/cl_dmgtabletoreload(
iv_schemaname = |string|
iv_tablename = |string|
)
)
)
iv_reloadoption = |string|
iv_replicationconfigarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_replicationconfigarn( ).
ENDIF.