/AWS1/IF_BUP=>UPDATERESTORETESTINGPLAN()¶
About UpdateRestoreTestingPlan¶
This request will send changes to your specified restore testing
plan. RestoreTestingPlanName
cannot be updated after it is created.
RecoveryPointSelection can contain:
-
Algorithm -
ExcludeVaults -
IncludeVaults -
RecoveryPointTypes -
SelectionWindowDays
Method Signature¶
METHODS /AWS1/IF_BUP~UPDATERESTORETESTINGPLAN
IMPORTING
!IO_RESTORETESTINGPLAN TYPE REF TO /AWS1/CL_BUPRESTORETSTINGPLA03 OPTIONAL
!IV_RESTORETESTINGPLANNAME TYPE /AWS1/BUPSTRING00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bupuprestoretstingp01
RAISING
/AWS1/CX_BUPCONFLICTEXCEPTION
/AWS1/CX_BUPINVPARAMVALUEEX
/AWS1/CX_BUPMISSINGPARAMVALEX
/AWS1/CX_BUPRESOURCENOTFOUNDEX
/AWS1/CX_BUPSERVICEUNAVAILEX
/AWS1/CX_BUPCLIENTEXC
/AWS1/CX_BUPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
io_restoretestingplan TYPE REF TO /AWS1/CL_BUPRESTORETSTINGPLA03 /AWS1/CL_BUPRESTORETSTINGPLA03¶
Specifies the body of a restore testing plan.
iv_restoretestingplanname TYPE /AWS1/BUPSTRING00 /AWS1/BUPSTRING00¶
The name of the restore testing plan name.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bupuprestoretstingp01 /AWS1/CL_BUPUPRESTORETSTINGP01¶
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->updaterestoretestingplan(
io_restoretestingplan = new /aws1/cl_buprestoretstingpla03(
io_recoverypointselection = new /aws1/cl_buprestoretstingrec00(
it_excludevaults = VALUE /aws1/cl_bupstringlist_w=>tt_stringlist(
( new /aws1/cl_bupstringlist_w( |string| ) )
)
it_includevaults = VALUE /aws1/cl_bupstringlist_w=>tt_stringlist(
( new /aws1/cl_bupstringlist_w( |string| ) )
)
it_recoverypointtypes = VALUE /aws1/cl_buprestoretstingrec01=>tt_restoretestingrecpttypelist(
( new /aws1/cl_buprestoretstingrec01( |string| ) )
)
iv_algorithm = |string|
iv_selectionwindowdays = 123
)
iv_scheduleexpression = |string|
iv_schedulexprsntimezone = |string|
iv_startwindowhours = 123
)
iv_restoretestingplanname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_timestamp = lo_result->get_creationtime( ).
lv_string = lo_result->get_restoretestingplanarn( ).
lv_string = lo_result->get_restoretestingplanname( ).
lv_timestamp = lo_result->get_updatetime( ).
ENDIF.