/AWS1/IF_OUT=>CREATERENEWAL()¶
About CreateRenewal¶
Creates a renewal contract for the specified Outpost.
Method Signature¶
METHODS /AWS1/IF_OUT~CREATERENEWAL
IMPORTING
!IV_PAYMENTOPTION TYPE /AWS1/OUTPAYMENTOPTION OPTIONAL
!IV_PAYMENTTERM TYPE /AWS1/OUTPAYMENTTERM OPTIONAL
!IV_OUTPOSTIDENTIFIER TYPE /AWS1/OUTOUTPOSTIDENTIFIER OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/OUTAUTOFILLIDEMTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_outcreaternwloutput
RAISING
/AWS1/CX_OUTACCESSDENIEDEX
/AWS1/CX_OUTINTERNALSERVEREX
/AWS1/CX_OUTNOTFOUNDEXCEPTION
/AWS1/CX_OUTVALIDATIONEX
/AWS1/CX_OUTCLIENTEXC
/AWS1/CX_OUTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_paymentoption TYPE /AWS1/OUTPAYMENTOPTION /AWS1/OUTPAYMENTOPTION¶
The payment option.
iv_paymentterm TYPE /AWS1/OUTPAYMENTTERM /AWS1/OUTPAYMENTTERM¶
The payment term.
iv_outpostidentifier TYPE /AWS1/OUTOUTPOSTIDENTIFIER /AWS1/OUTOUTPOSTIDENTIFIER¶
The ID or ARN of the Outpost.
Optional arguments:¶
iv_clienttoken TYPE /AWS1/OUTAUTOFILLIDEMTOKEN /AWS1/OUTAUTOFILLIDEMTOKEN¶
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_outcreaternwloutput /AWS1/CL_OUTCREATERNWLOUTPUT¶
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->createrenewal(
iv_clienttoken = |string|
iv_outpostidentifier = |string|
iv_paymentoption = |string|
iv_paymentterm = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_paymentoption = lo_result->get_paymentoption( ).
lv_paymentterm = lo_result->get_paymentterm( ).
lv_outpostidonly = lo_result->get_outpostid( ).
lv_nullablefloat = lo_result->get_upfrontprice( ).
lv_nullablefloat = lo_result->get_monthlyrecurringprice( ).
ENDIF.