Skip to content

/AWS1/CL_DIR=>ADDFACETTOOBJECT()

About AddFacetToObject

Adds a new Facet to an object. An object can have more than one facet applied on it.

Method Signature

IMPORTING

Required arguments:

IV_DIRECTORYARN TYPE /AWS1/DIRARN /AWS1/DIRARN

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

IO_SCHEMAFACET TYPE REF TO /AWS1/CL_DIRSCHEMAFACET /AWS1/CL_DIRSCHEMAFACET

Identifiers for the facet that you are adding to the object. See SchemaFacet for details.

IO_OBJECTREFERENCE TYPE REF TO /AWS1/CL_DIROBJECTREFERENCE /AWS1/CL_DIROBJECTREFERENCE

A reference to the object you are adding the specified facet to.

Optional arguments:

IT_OBJECTATTRIBUTELIST TYPE /AWS1/CL_DIRATTRKEYANDVALUE=>TT_ATTRIBUTEKEYANDVALUELIST TT_ATTRIBUTEKEYANDVALUELIST

Attributes on the facet that you are adding to the object.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DIRADDFACETTOOBJRSP /AWS1/CL_DIRADDFACETTOOBJRSP