/AWS1/IF_DMG=>RELOADTABLES()¶
About ReloadTables¶
Reloads the target database table with the source data.
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~RELOADTABLES
IMPORTING
!IV_REPLICATIONTASKARN 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_dmgreloadtablesrsp
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_replicationtaskarn TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING¶
The Amazon Resource Name (ARN) of the replication task.
it_tablestoreload TYPE /AWS1/CL_DMGTABLETORELOAD=>TT_TABLELISTTORELOAD TT_TABLELISTTORELOAD¶
The name and schema of the table to be reloaded.
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 task.Valid values: data-reload, validate-only
Default value is data-reload.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dmgreloadtablesrsp /AWS1/CL_DMGRELOADTABLESRSP¶
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->reloadtables(
it_tablestoreload = VALUE /aws1/cl_dmgtabletoreload=>tt_tablelisttoreload(
(
new /aws1/cl_dmgtabletoreload(
iv_schemaname = |string|
iv_tablename = |string|
)
)
)
iv_reloadoption = |string|
iv_replicationtaskarn = |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_replicationtaskarn( ).
ENDIF.