Skip to content

/AWS1/IF_CNT=>ASSOCIATEHOURSOFOPERATIONS()

About AssociateHoursOfOperations

Associates a set of hours of operations with another hours of operation. Refer to Administrator Guide here for more information on inheriting overrides from parent hours of operation(s).

Method Signature

METHODS /AWS1/IF_CNT~ASSOCIATEHOURSOFOPERATIONS
  IMPORTING
    !IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID OPTIONAL
    !IV_HOURSOFOPERATIONID TYPE /AWS1/CNTHOURSOFOPERATIONID OPTIONAL
    !IT_PARENTHOURSOFOPCONFIGS TYPE /AWS1/CL_CNTPRNTHOURSOFOPCFG=>TT_PARENTHOURSOFOPCONFIGLIST OPTIONAL
  RAISING
    /AWS1/CX_CNTCONDALOPFAILEDEX
    /AWS1/CX_CNTINTERNALSERVICEEX
    /AWS1/CX_CNTINVALIDPARAMETEREX
    /AWS1/CX_CNTINVALIDREQUESTEX
    /AWS1/CX_CNTRESOURCENOTFOUNDEX
    /AWS1/CX_CNTSERVICEQUOTAEXCDEX
    /AWS1/CX_CNTTHROTTLINGEX
    /AWS1/CX_CNTCLIENTEXC
    /AWS1/CX_CNTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_instanceid TYPE /AWS1/CNTINSTANCEID /AWS1/CNTINSTANCEID

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

iv_hoursofoperationid TYPE /AWS1/CNTHOURSOFOPERATIONID /AWS1/CNTHOURSOFOPERATIONID

The identifier of the child hours of operation.

it_parenthoursofopconfigs TYPE /AWS1/CL_CNTPRNTHOURSOFOPCFG=>TT_PARENTHOURSOFOPCONFIGLIST TT_PARENTHOURSOFOPCONFIGLIST

The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.

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->associatehoursofoperations(
  it_parenthoursofopconfigs = VALUE /aws1/cl_cntprnthoursofopcfg=>tt_parenthoursofopconfiglist(
    ( new /aws1/cl_cntprnthoursofopcfg( |string| ) )
  )
  iv_hoursofoperationid = |string|
  iv_instanceid = |string|
).