Skip to content

/AWS1/IF_APC=>DELETEEXPERIMENTDEFINITION()

About DeleteExperimentDefinition

Deletes an experiment definition. You can archive the definition to hide it from the active list while preserving it for future reference, or permanently delete it along with all associated run history.

Method Signature

METHODS /AWS1/IF_APC~DELETEEXPERIMENTDEFINITION
  IMPORTING
    !IV_APPLICATIONIDENTIFIER TYPE /AWS1/APCIDENTIFIER OPTIONAL
    !IV_EXPERIMENTDEFINITIONID TYPE /AWS1/APCIDENTIFIER OPTIONAL
    !IV_DELETETYPE TYPE /AWS1/APCDELETETYPE OPTIONAL
  RAISING
    /AWS1/CX_APCBADREQUESTEX
    /AWS1/CX_APCCONFLICTEXCEPTION
    /AWS1/CX_APCINTERNALSERVEREX
    /AWS1/CX_APCRESOURCENOTFOUNDEX
    /AWS1/CX_APCCLIENTEXC
    /AWS1/CX_APCSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_applicationidentifier TYPE /AWS1/APCIDENTIFIER /AWS1/APCIDENTIFIER

The application ID or name.

iv_experimentdefinitionid TYPE /AWS1/APCIDENTIFIER /AWS1/APCIDENTIFIER

The experiment definition ID or name.

Optional arguments:

iv_deletetype TYPE /AWS1/APCDELETETYPE /AWS1/APCDELETETYPE

The type of deletion to perform. Valid values include archive (hide but preserve) and permanent (delete permanently).

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->deleteexperimentdefinition(
  iv_applicationidentifier = |string|
  iv_deletetype = |string|
  iv_experimentdefinitionid = |string|
).

To delete an experiment definition

The following DeleteExperimentDefinition example archives (soft-deletes) the specified experiment definition.

lo_client->deleteexperimentdefinition(
  iv_applicationidentifier = |339ohji|
  iv_experimentdefinitionid = |bsxyd7k|
).