Skip to content

/AWS1/CL_CNK=>CREATELAYOUT()

About CreateLayout

Creates a layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface:

  • Fields to display to the users

  • Field ordering

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

Method Signature

IMPORTING

Required arguments:

IV_DOMAINID TYPE /AWS1/CNKDOMAINID /AWS1/CNKDOMAINID

The unique identifier of the Cases domain.

IV_NAME TYPE /AWS1/CNKLAYOUTNAME /AWS1/CNKLAYOUTNAME

The name of the layout. It must be unique for the Cases domain.

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

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CNKCREATELAYOUTRSP /AWS1/CL_CNKCREATELAYOUTRSP