/AWS1/IF_SGM=>UPDATEHUB()¶
About UpdateHub¶
Update a hub.
Method Signature¶
METHODS /AWS1/IF_SGM~UPDATEHUB
IMPORTING
!IV_HUBNAME TYPE /AWS1/SGMHUBNAMEORARN OPTIONAL
!IV_HUBDESCRIPTION TYPE /AWS1/SGMHUBDESCRIPTION OPTIONAL
!IV_HUBDISPLAYNAME TYPE /AWS1/SGMHUBDISPLAYNAME OPTIONAL
!IT_HUBSEARCHKEYWORDS TYPE /AWS1/CL_SGMHUBSRCHKEYWORDLS00=>TT_HUBSEARCHKEYWORDLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmupdatehubresponse
RAISING
/AWS1/CX_SGMRESOURCENOTFOUND
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_hubname TYPE /AWS1/SGMHUBNAMEORARN /AWS1/SGMHUBNAMEORARN¶
The name of the hub to update.
Optional arguments:¶
iv_hubdescription TYPE /AWS1/SGMHUBDESCRIPTION /AWS1/SGMHUBDESCRIPTION¶
A description of the updated hub.
iv_hubdisplayname TYPE /AWS1/SGMHUBDISPLAYNAME /AWS1/SGMHUBDISPLAYNAME¶
The display name of the hub.
it_hubsearchkeywords TYPE /AWS1/CL_SGMHUBSRCHKEYWORDLS00=>TT_HUBSEARCHKEYWORDLIST TT_HUBSEARCHKEYWORDLIST¶
The searchable keywords for the hub.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmupdatehubresponse /AWS1/CL_SGMUPDATEHUBRESPONSE¶
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->updatehub(
it_hubsearchkeywords = VALUE /aws1/cl_sgmhubsrchkeywordls00=>tt_hubsearchkeywordlist(
( new /aws1/cl_sgmhubsrchkeywordls00( |string| ) )
)
iv_hubdescription = |string|
iv_hubdisplayname = |string|
iv_hubname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_hubarn = lo_result->get_hubarn( ).
ENDIF.