/AWS1/IF_PTC=>UPDATEPROGRAMMNGMTACCOUNT()¶
About UpdateProgramManagementAccount¶
Updates the properties of a program management account.
Method Signature¶
METHODS /AWS1/IF_PTC~UPDATEPROGRAMMNGMTACCOUNT
IMPORTING
!IV_CATALOG TYPE /AWS1/PTCCATALOG OPTIONAL
!IV_IDENTIFIER TYPE /AWS1/PTCPROGRAMMNGMTACCOUNTID OPTIONAL
!IV_REVISION TYPE /AWS1/PTCREVISION OPTIONAL
!IV_DISPLAYNAME TYPE /AWS1/PTCPROGRAMMGMTACCDSPNAME OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ptcupprogrammgtacrsp
RAISING
/AWS1/CX_PTCACCESSDENIEDEX
/AWS1/CX_PTCINTERNALSERVEREX
/AWS1/CX_PTCRESOURCENOTFOUNDEX
/AWS1/CX_PTCTHROTTLINGEX
/AWS1/CX_PTCVLDTNEXCEPTION
/AWS1/CX_PTCCONFLICTEXCEPTION
/AWS1/CX_PTCCLIENTEXC
/AWS1/CX_PTCSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_catalog TYPE /AWS1/PTCCATALOG /AWS1/PTCCATALOG¶
The catalog identifier for the program management account.
iv_identifier TYPE /AWS1/PTCPROGRAMMNGMTACCOUNTID /AWS1/PTCPROGRAMMNGMTACCOUNTID¶
The unique identifier of the program management account to update.
Optional arguments:¶
iv_revision TYPE /AWS1/PTCREVISION /AWS1/PTCREVISION¶
The current revision number of the program management account.
iv_displayname TYPE /AWS1/PTCPROGRAMMGMTACCDSPNAME /AWS1/PTCPROGRAMMGMTACCDSPNAME¶
The new display name for the program management account.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ptcupprogrammgtacrsp /AWS1/CL_PTCUPPROGRAMMGTACRSP¶
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->updateprogrammngmtaccount(
iv_catalog = |string|
iv_displayname = |string|
iv_identifier = |string|
iv_revision = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_updateprogrammanagement = lo_result->get_programmngmtacctdetail( ).
IF lo_updateprogrammanagement IS NOT INITIAL.
lv_programmanagementaccoun = lo_updateprogrammanagement->get_id( ).
lv_arn = lo_updateprogrammanagement->get_arn( ).
lv_revision = lo_updateprogrammanagement->get_revision( ).
lv_programmanagementaccoun_1 = lo_updateprogrammanagement->get_displayname( ).
ENDIF.
ENDIF.
Example for UpdateProgramManagementAccount¶
Example for UpdateProgramManagementAccount
DATA(lo_result) = lo_client->updateprogrammngmtaccount(
iv_catalog = |AWS|
iv_displayname = |TestDisplayName|
iv_identifier = |pma-u8ic702rtzng8|
iv_revision = |3|
).