A simple, lightweight feature toggle framework for ABAP
With this framework you can toggle features in ABAP-Code at runtime. This enables you to continuously deliver (potentially unfinished) Features in a deactivated state into the production system. This repository includes the ABAP backend and a UI5 GUI to manage toggle states.
- SAP 7.4
- abapGit
- Eclipse + UI5/ADT Tools
- Create a new ABAP class which inherits the class
z_sy_feature
(see examples/z_xx_feature.abap). - Define new feature via class attribute
- Toggle feature via the transaktion
z_sy_feature
(opens UI5 frontend) - Check if feature is enabled by checking if
z_sy_feature=>feature_xx = abap_true
see /examples
- Change repository structure for easy cloning
- Import UI5-GUI via abapGit
- Checkout/clone subfolder /src/abap/ via abapGit
- Check transaction
SICF
if node/default_host/sap/bc/sy_feature
was created - Activate node
/default_host/sap/bc/sy_feature
- Check if feature is enabled by checking if
z_sy_feature=>feature_xx = abap_true
- Checkout/clone subfolder
/src/ui5/
- Import project into Eclipse
- choose File->Import->Existing Projects into Workspace
- choose cloned project folder
- import project
- Link projekt to a new BSP-Container in your SAP-System
- right click the newly created project and choose Team->Share Project
- choose SAPUI5 ABAP Repository
- choose the connection to your SAP-System
- choose "Create a new BSP Application" and fill out the required fields (name must be
z_sy_feature
)
- Deploy UI5 App to your SAP-System
- right click the project and choose Team->Submit
- select all objects
- click finish