/AWS1/IF_SCG=>UPDATEPROVPRODUCTPROPERTIES()¶
About UpdateProvisionedProductProperties¶
Requests updates to the properties of the specified provisioned product.
Method Signature¶
METHODS /AWS1/IF_SCG~UPDATEPROVPRODUCTPROPERTIES
IMPORTING
!IV_ACCEPTLANGUAGE TYPE /AWS1/SCGACCEPTLANGUAGE OPTIONAL
!IV_PROVISIONEDPRODUCTID TYPE /AWS1/SCGID OPTIONAL
!IT_PROVPRODUCTPROPERTIES TYPE /AWS1/CL_SCGPROVPRODUCTPRPS_W=>TT_PROVPRODUCTPROPERTIES OPTIONAL
!IV_IDEMPOTENCYTOKEN TYPE /AWS1/SCGIDEMPOTENCYTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_scgupprovproductprp01
RAISING
/AWS1/CX_SCGINVALIDPARAMSEX
/AWS1/CX_SCGINVALIDSTATEEX
/AWS1/CX_SCGRESOURCENOTFOUNDEX
/AWS1/CX_SCGCLIENTEXC
/AWS1/CX_SCGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_provisionedproductid TYPE /AWS1/SCGID /AWS1/SCGID¶
The identifier of the provisioned product.
it_provproductproperties TYPE /AWS1/CL_SCGPROVPRODUCTPRPS_W=>TT_PROVPRODUCTPROPERTIES TT_PROVPRODUCTPROPERTIES¶
A map that contains the provisioned product properties to be updated.
The
LAUNCH_ROLEkey accepts role ARNs. This key allows an administrator to callUpdateProvisionedProductPropertiesto update the launch role that is associated with a provisioned product. This role is used when an end user calls a provisioning operation such asUpdateProvisionedProduct,TerminateProvisionedProduct, orExecuteProvisionedProductServiceAction. Only a role ARN is valid. A user ARN is invalid.The
OWNERkey accepts user ARNs, IAM role ARNs, and STS assumed-role ARNs. The owner is the user that has permission to see, update, terminate, and execute service actions in the provisioned product.The administrator can change the owner of a provisioned product to another IAM or STS entity within the same account. Both end user owners and administrators can see ownership history of the provisioned product using the
ListRecordHistoryAPI. The new owner can describe all past records for the provisioned product using theDescribeRecordAPI. The previous owner can no longer useDescribeRecord, but can still see the product's history from when he was an owner usingListRecordHistory.If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.
iv_idempotencytoken TYPE /AWS1/SCGIDEMPOTENCYTOKEN /AWS1/SCGIDEMPOTENCYTOKEN¶
The idempotency token that uniquely identifies the provisioning product update request.
Optional arguments:¶
iv_acceptlanguage TYPE /AWS1/SCGACCEPTLANGUAGE /AWS1/SCGACCEPTLANGUAGE¶
The language code.
jp- Japanese
zh- Chinese
RETURNING¶
oo_output TYPE REF TO /aws1/cl_scgupprovproductprp01 /AWS1/CL_SCGUPPROVPRODUCTPRP01¶
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->updateprovproductproperties(
it_provproductproperties = VALUE /aws1/cl_scgprovproductprps_w=>tt_provproductproperties(
(
VALUE /aws1/cl_scgprovproductprps_w=>ts_provproductprps_maprow(
key = |string|
value = new /aws1/cl_scgprovproductprps_w( |string| )
)
)
)
iv_acceptlanguage = |string|
iv_idempotencytoken = |string|
iv_provisionedproductid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_id = lo_result->get_provisionedproductid( ).
LOOP AT lo_result->get_provproductproperties( ) into ls_row.
lv_key = ls_row-key.
lo_value = ls_row-value.
IF lo_value IS NOT INITIAL.
lv_propertyvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_id = lo_result->get_recordid( ).
lv_recordstatus = lo_result->get_status( ).
ENDIF.