In the context of BW-integrated planning, you can define the permitted combinations of characteristic values (in the form of characteristic relationships) and create data slices for the selected data that you want to protect. If the generic types of characteristic relationships (attribute, hierarchy, DataStore) and data slices (selection) do not meet specific customer requirements, you can implement characteristic relationships and data slices of type Exit.
The typical ABAP exit implementation of these examples is direct, with the external data being read from the database using SQL commands from the ABAP runtime and - taking into account further information such as user name (sy-uname) - checking, deriving or creating records in the corresponding structure.
In BW, you can perform planning using internal database routines. In the SAP HANA database, you can perform SAP HANA-optimized planning. If you are using the Planning Applications Kit, we recommend also implementing the customer-specific exist functionality for characteristic relationships directly in the SAP HANA database using SQLScript.