Fonction SAP BAPI_IOBJ_ACTIVATE_MULTIPLE - Activates InfoObjects

Paramètre Reférence Long. Facultatif Description
INFOOBJECTS BAPI6108IO 30 List of one or more InfoObjects to be activated
INFOOBJECTS_ERROR BAPI6108IO 30 X List of the InfoObjects that could not be activated
RETURN BAPIRET2 548 X Detailed log in case of error

Functionality
This method activates one or more InfoObjects that are transferred inthe INFOOBJECTS parameter. A consistency check is carried outbeforehand. Only consistent InfoObjects can be activated.
If errors occur, a detailed log is returned in the RETURUN parameterand the InfoObjects that could not be activated due to errors arereturned in the parameter INFOOBJECTS_ERROR.
Activation involves several steps:
InfoObjects are read (M version)
The quantity of InfoObjects is checked for consistency. Withdependencies on other InfoObjects, their definition is read from thecurrent quantity - or from the database if the dependent InfoObject isnot contained in the quantity that is to be activated.
If the time-dependency of attributes has been changed or attributeshave been deleted, only the master data tables are converted.
The DDIC objects of the InfoObject are created in the M version.
The DDIC objects of the InfoObject are activated.
Every InfoObject is checked to make sure that all DDIC objects areactive. If this is the case, then further objects are created (numberranges, routines,...).
If there are no errors for an InfoObject, the InfoObject is switched toactive (the M version is copied to the A version).
If errors have occurred, an attempt is made to restore the old activeversion of the InfoObject ( after step 5, the DDIC objects no longercorrespond to the active version). If this is successful, you cancontinue to work with the active version. If not, then the InfoObjectstatus will be switched to 'inactive'.

Notes
If you want to activate dependent InfoObjects (this is done when youuse compounding, attributes, reference characteristics), transfer thesetogether in one step to the module. The system determines the correctsequence automatically. If you want to activate InfoObjectsindividually, you have to do this manually. For example, you have toactivate all attributes of a characteristic before it can be activateditself.
There can be cases of circular dependencies. In these cases you cannotactivate InfoObjects individually.

Description
The names of the InfoObjects for activation are given in this table.

Description
If errors arise when activating the InfoObject then the names of theInfoObjects, that could not be activated, is returned in this table.

Description
A detailed log is returned in this table.