Skip to content

/AWS1/CL_DIR=>CREATEINDEX00()

About CreateIndex

Creates an index object. See Indexing and search for more information.

Method Signature

IMPORTING

Required arguments:

IV_DIRECTORYARN TYPE /AWS1/DIRARN /AWS1/DIRARN

The ARN of the directory where the index should be created.

IT_ORDEREDINDEXEDATTRLIST TYPE /AWS1/CL_DIRATTRIBUTEKEY=>TT_ATTRIBUTEKEYLIST TT_ATTRIBUTEKEYLIST

Specifies the attributes that should be indexed on. Currently only a single attribute is supported.

IV_ISUNIQUE TYPE /AWS1/DIRBOOL /AWS1/DIRBOOL

Indicates whether the attribute that is being indexed has unique values or not.

Optional arguments:

IO_PARENTREFERENCE TYPE REF TO /AWS1/CL_DIROBJECTREFERENCE /AWS1/CL_DIROBJECTREFERENCE

A reference to the parent object that contains the index object.

IV_LINKNAME TYPE /AWS1/DIRLINKNAME /AWS1/DIRLINKNAME

The name of the link between the parent object and the index object.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DIRCREATEINDEXRSP /AWS1/CL_DIRCREATEINDEXRSP