There are several ‘places’ where custom made ABAP code can be added within a SAP BI system. One of those places is the START ROUTINE (of an update rule). Within such a start routine, the (incomming) data package can be altered/extended.
This alteration is usually done via ‘looping’ over the datapackage:
loop at datapackage (into wa_datapackage).
datapackage-field = ‘new value’.
The correct way of altering a data package, from a performance point of view, should be by using field symbols.
field-symbols: < fs_dp > type data_package_structure.
loop at datapackage assigning < fs_dp >.
< fs_dp >-field = ‘new value’.
Within the TO BE situation, the modify datapackage statement is no longer required!