Skip to content

/AWS1/CL_CNK=>UPDATELAYOUT()

About UpdateLayout

Updates the attributes of an existing layout.

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

A ValidationException is returned when you add non-existent fieldIds to a layout.

Title and Status fields cannot be part of layouts because they are not configurable.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINID TYPE /AWS1/CNKDOMAINID /AWS1/CNKDOMAINID

The unique identifier of the Cases domain.

IV_LAYOUTID TYPE /AWS1/CNKLAYOUTID /AWS1/CNKLAYOUTID

The unique identifier of the layout.

Optional arguments:

IV_NAME TYPE /AWS1/CNKLAYOUTNAME /AWS1/CNKLAYOUTNAME

The name of the layout. It must be unique per domain.

IO_CONTENT TYPE REF TO /AWS1/CL_CNKLAYOUTCONTENT /AWS1/CL_CNKLAYOUTCONTENT

Information about which fields will be present in the layout, the order of the fields.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CNKUPDATELAYOUTRSP /AWS1/CL_CNKUPDATELAYOUTRSP