Ansicht
Dokumentation
BAPI_IOBJ_ACTIVATE_MULTIPLE - Activates InfoObjects
Fill RESBD Structure from EBP Component Structure ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
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:
- InfoObjects are read (M version)
- 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.
- If the time-dependency of attributes has been changed or attributes have 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 are active. If this is the case, then further objects are created (number ranges, routines,...).
- If there are no errors for an InfoObject, the InfoObject is switched to active (the M version is copied to the A version).
- 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
INFOOBJECTSINFOOBJECTS_ERROR
RETURN
Exceptions
Function Group
RSBAPI_IOBJCL_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 )