Skip to content

/AWS1/IF_RPP=>UPDATECHANNEL()

About UpdateChannel

Modifies an existing channel.

Method Signature

IMPORTING

Required arguments:

iv_spaceid TYPE /AWS1/RPPSPACEID /AWS1/RPPSPACEID

The unique ID of the private re:Post.

iv_channelid TYPE /AWS1/RPPCHANNELID /AWS1/RPPCHANNELID

The unique ID of the private re:Post channel.

iv_channelname TYPE /AWS1/RPPCHANNELNAME /AWS1/RPPCHANNELNAME

The name for the channel. This must be unique per private re:Post.

Optional arguments:

iv_channeldescription TYPE /AWS1/RPPCHANNELDESCRIPTION /AWS1/RPPCHANNELDESCRIPTION

A description for the channel. This is used only to help you identify this channel.

RETURNING

oo_output TYPE REF TO /aws1/cl_rppupdatechnloutput /AWS1/CL_RPPUPDATECHNLOUTPUT

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->/aws1/if_rpp~updatechannel(
  iv_channeldescription = |string|
  iv_channelid = |string|
  iv_channelname = |string|
  iv_spaceid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.

UpdateChannel

UpdateChannel

DATA(lo_result) = lo_client->/aws1/if_rpp~updatechannel(
  iv_channeldescription = |Better channel description|
  iv_channelid = |WS1234567890abcdefghijkl|
  iv_channelname = |Better Channel|
  iv_spaceid = |SP1234567890abcdefghijkl|
).