You can extend the Display Vendor Balances app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
Extension Points
There are various extension points available that you can use to add content to the user interface of the app, for example, fields, tabs, and columns.
To add a customer field to the app, for example, the following extensibility entities are available on the different software layers. You have to extend each of these entities according to your specific business needs:
UI | Back End/ABAP | |||
---|---|---|---|---|
View | Extension Point | Design Time: Gateway Entity | Design Time: Extension Include (in DDIC Structure) | Runtime: Superclass/ Method to Be Redefined |
S1.view.xml | PanelSelectionInput Extends the beginning of the input fields. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | PanelSelectionButtons Extends the beginning of the button list. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | IconTabBar Extends the beginning of the icon tab bar. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | AddColumnBalances Extends the view after the last column of the Balances table. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | AddCellBalances Extends the view after the last cell of the Balances table. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | AddColumnSpecialGL Extends the view after the last column of the Special G/L table. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | AddCellSpecialGL Extends the view after the last cell of the Special G/L table. | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | AddColumnCompareBalances Extends the view after the last column of the Compare Balances table | FAP_VENDOR_BALANCE | not available | not available |
S1.view.xml | AddCellCompareBalances Extends the view after the last cell of the Compare Balances table. | FAP_VENDOR_BALANCE | not available | not available |
The following graphic shows where the extension points are positioned on the user interface of the Display Vendor Balances app:
Legend: (1) PanelSelectionInput, (2) PanelSelectionButtons, (3) IconTabBar, (4) AddColumnBalances, (5) AddCellBalances, (6) AddColumnSpecialGL, (7) AddCellSpecialGL, (8) AddColumnCompareBalances, (9) AddCellCompareBalances
The following BAdI is available for extensibility purposes:
FAP_VENDOR_BALANCE
If you have added fields to the UI and to the OData service, you can use this BAdI to modify the values of these fields.
The enhancement spot is ES_FAP_VENDOR_BALANCE.
In addition to the extension includes described above, the following extension includes are available:
DDIC | Extension Include | Use |
---|---|---|
FAPO_S_VB_VENDOR_BALANCES_MD | INCL_EEW_FAPO_S_VB_VENDOR_BAL | This extension include allows you to add additional properties, which will appear as additional columns in the table view of the app. |
For more information about extension includes, see Extension Includes.
To plug in and execute custom code, the following hooks are available in the controller code:
Controller | Hook | Use |
---|---|---|
S1.controller.js | extHookOnInit | Allows you to configure a custom initialization. |
S1.controller.js | extHookOnExit | Is called when the view is closed; used to free resources and finalize activities. |
For more information about UI controller hooks, see UI Controller Hooks.
You can hide all UI controls on the app UI.
For more information about hiding UI controls, see Concealable UI Controls.
For a general description of the extensibility options and procedures of Fiori apps, see Extensibility.