Ansicht
Dokumentation

BAPI_IOBJ_ACTIVATE_MULTIPLE - Activates InfoObjects

BAPI_IOBJ_ACTIVATE_MULTIPLE - Activates InfoObjects

Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method activates one or more InfoObjects that are transferred in the INFOOBJECTS parameter. A consistency check is carried out beforehand. Only consistent InfoObjects can be activated.

If errors occur, a detailed log is returned in the RETURUN parameter and the InfoObjects that could not be activated due to errors are returned in the parameter INFOOBJECTS_ERROR.

Activation involves several steps:

  1. InfoObjects are read (M version)
  2. The quantity of InfoObjects is checked for consistency. With dependencies on other InfoObjects, their definition is read from the current quantity - or from the database if the dependent InfoObject is not contained in the quantity that is to be activated.
  3. If the time-dependency of attributes has been changed or attributes have been deleted, only the master data tables are converted.
  4. The DDIC objects of the InfoObject are created in the M version.
  5. The DDIC objects of the InfoObject are activated.
  6. Every InfoObject is checked to make sure that all DDIC objects are active. If this is the case, then further objects are created (number ranges, routines,...).
  7. If there are no errors for an InfoObject, the InfoObject is switched to active (the M version is copied to the A version).
  8. If errors have occurred, an attempt is made to restore the old active version of the InfoObject ( after step 5, the DDIC objects no longer correspond to the active version). If this is successful, you can continue to work with the active version. If not, then the InfoObject status will be switched to 'inactive'.

Example

Notes

If you want to activate dependent InfoObjects (this is done when you use compounding, attributes, reference characteristics), transfer these together in one step to the module. The system determines the correct sequence automatically. If you want to activate InfoObjects individually, you have to do this manually. For example, you have to activate all attributes of a characteristic before it can be activated itself.

There can be cases of circular dependencies. In these cases you cannot activate InfoObjects individually.

Further information





Parameters

INFOOBJECTS
INFOOBJECTS_ERROR
RETURN

Exceptions

Function Group

RSBAPI_IOBJ

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2823 Date: 20240523 Time: 113605     sap01-206 ( 88 ms )