Skip to content

/AWS1/IF_SGM=>DEREGISTERDEVICES()

About DeregisterDevices

Deregisters the specified devices. After you deregister a device, you will need to re-register the devices.

Method Signature

METHODS /AWS1/IF_SGM~DEREGISTERDEVICES
  IMPORTING
    !IV_DEVICEFLEETNAME TYPE /AWS1/SGMENTITYNAME OPTIONAL
    !IT_DEVICENAMES TYPE /AWS1/CL_SGMDEVICENAMES_W=>TT_DEVICENAMES OPTIONAL
  RAISING
    /AWS1/CX_SGMCLIENTEXC
    /AWS1/CX_SGMSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_devicefleetname TYPE /AWS1/SGMENTITYNAME /AWS1/SGMENTITYNAME

The name of the fleet the devices belong to.

it_devicenames TYPE /AWS1/CL_SGMDEVICENAMES_W=>TT_DEVICENAMES TT_DEVICENAMES

The unique IDs of the devices.

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.

lo_client->deregisterdevices(
  it_devicenames = VALUE /aws1/cl_sgmdevicenames_w=>tt_devicenames(
    ( new /aws1/cl_sgmdevicenames_w( |string| ) )
  )
  iv_devicefleetname = |string|
).