Skip to content

/AWS1/CL_DIR=>ATTACHTOINDEX()

About AttachToIndex

Attaches the specified object to the specified index.

Method Signature

IMPORTING

Required arguments:

IV_DIRECTORYARN TYPE /AWS1/DIRARN /AWS1/DIRARN

The Amazon Resource Name (ARN) of the directory where the object and index exist.

IO_INDEXREFERENCE TYPE REF TO /AWS1/CL_DIROBJECTREFERENCE /AWS1/CL_DIROBJECTREFERENCE

A reference to the index that you are attaching the object to.

IO_TARGETREFERENCE TYPE REF TO /AWS1/CL_DIROBJECTREFERENCE /AWS1/CL_DIROBJECTREFERENCE

A reference to the object that you are attaching to the index.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DIRATTACHTOINDEXRSP /AWS1/CL_DIRATTACHTOINDEXRSP