Skip to content

/AWS1/CL_DIR=>UPGRADEAPPLIEDSCHEMA()

About UpgradeAppliedSchema

Upgrades a single directory in-place using the PublishedSchemaArn with schema updates found in MinorVersion. Backwards-compatible minor version upgrades are instantaneously available for readers on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given directory per call. To upgrade multiple directories from one schema, you would need to call this API on each directory.

Method Signature

IMPORTING

Required arguments:

IV_PUBLISHEDSCHEMAARN TYPE /AWS1/DIRARN /AWS1/DIRARN

The revision of the published schema to upgrade the directory to.

IV_DIRECTORYARN TYPE /AWS1/DIRARN /AWS1/DIRARN

The ARN for the directory to which the upgraded schema will be applied.

Optional arguments:

IV_DRYRUN TYPE /AWS1/DIRBOOL /AWS1/DIRBOOL

Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DIRUPGRADEAPPLIEDSC01 /AWS1/CL_DIRUPGRADEAPPLIEDSC01