You can use the setup package to rollout a large number of devices. To customize the creation of setup packages, you can define a business add-in. For example, you select a set of devices and trigger creation of setup packages. However, you do not want to trigger creation of setup packages for devices that have Germany as the value for the Country device attribute. In this case, you can implement the BAdI to ensure that the system does not create setup packages for devices with the value Germany.
The details of the BAdI are as follows:
· BAdI name – BADI_MASS_DEVICE_SETUP
● Interface – IF_BADI_MASS_DEVICE_SETUP
● Method – IF_BADI_MASS_DEVICE_SETUP
A test implementation of the BAdI called TEST_IMPLEMENTATION is shipped by default.
To implement the BAdI, you must define the interface method and parameters. The parameters of the interface method are explained in the table below:
Parameter Name |
Description |
Type |
DEVICE_LIST |
Internal table that contains the list of devices that you have selected for mass device setup |
CHANGING |
MESSAGE_LIST |
Table of BAPIRET2 |
EXPORTING |