Skip to content

/AWS1/CL_DIR=>ATTACHOBJECT()

About AttachObject

Attaches an existing object to another object. An object can be accessed in two ways:

  1. Using the path

  2. Using ObjectIdentifier

Method Signature

IMPORTING

Required arguments:

IV_DIRECTORYARN TYPE /AWS1/DIRARN /AWS1/DIRARN

Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

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

The parent object reference.

IO_CHILDREFERENCE TYPE REF TO /AWS1/CL_DIROBJECTREFERENCE /AWS1/CL_DIROBJECTREFERENCE

The child object reference to be attached to the object.

IV_LINKNAME TYPE /AWS1/DIRLINKNAME /AWS1/DIRLINKNAME

The link name with which the child object is attached to the parent.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DIRATTACHOBJECTRSP /AWS1/CL_DIRATTACHOBJECTRSP