Skip to content

Latest commit

 

History

History
132 lines (80 loc) · 2.04 KB

File metadata and controls

132 lines (80 loc) · 2.04 KB

Runtime API

You can activate a business configuration set using a class-based API by specifying the relevant activation options. Activation options are certain parameters that can be specified pertaining to the activation of the Business Configuration Set.

The following steps are involved in activating a business configuration set:

  1. Accessing the Activation Handler
  2. Specifying the Activation Options
  3. Activating the Business Configuration Set
  4. Accessing the Activation Results

The class CL_SCPR_CD_BCSET_ACTIVATION enables the activation of a Business Configuration set.

Class CL_SCPR_CD_BCSET_ACTIVATION

Method

Interface

Description

OF

 

Instantiate the activation API

OPTIONS

 

Access the activation options

GET_ACTIVATE_HANDLER

IF_SCPR_CD_BCSET_ACTIVATION

Access the activation handler

Exception Class

Class Name

Description

CX_SCPR_OBJECT_NOT_PERMITTED

The Activation of the specified business configuration set is not permitted.

Possible reasons :

  • CX_SCPR_OBJECT_NOT_PERMITTED=>BC_SET_NOT_FOUND

    The specified business configuration set does not exist.

  • CX_SCPR_OBJECT_NOT_PERMITTED=>BC_SET_NOT_PERMITTED

    The specified business configuration set is not permitted to be activated based on the object restrictions or language version check.