Show TOC

 App Extensibility: Display Vendor Balances Locate this document in the navigation structure

 

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.

Extension Points

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:

This graphic is explained in the accompanying text.

Legend: (1) PanelSelectionInput, (2) PanelSelectionButtons, (3) IconTabBar, (4) AddColumnBalances, (5) AddCellBalances, (6) AddColumnSpecialGL, (7) AddCellSpecialGL, (8) AddColumnCompareBalances, (9) AddCellCompareBalances

Further Extensibility Entities

Business Add-Ins (BAdIs)

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.

Extension Includes

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.

UI Controller Hooks

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.

Display of UI Controls

You can hide all UI controls on the app UI.

For more information about hiding UI controls, see Concealable UI Controls.

More Information

For a general description of the extensibility options and procedures of Fiori apps, see Extensibility.