Show TOC

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

 

You can extend the Display Customer 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.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

PanelSelectionButtons

Extends the beginning of the button list.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

IconTabBar

Extends the beginning of the icon tab bar.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

AddColumnBalances

Extends the view after the last column of the Balances table.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

AddCellBalances

Extends the view after the last cell of the Balances table.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

AddColumnSpecialGL

Extends the view after the last column of the Special G/L table.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

AddCellSpecialGL

Extends the view after the last cell of the Special G/L table.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

AddColumnCompareBalances

Extends the view after the last column of the Compare Balances table.

FAR_CUSTOMER_BALANCE

not available

not available

S1.view.xml

AddCellCompareBalances

Extends the view after the last cell of the Compare Balances table.

FAR_CUSTOMER_BALANCE

not available

not available

The following graphic shows where the extension points are positioned on the user interface of the Display Customer 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:

FAR_CUSTOMER_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_FAR_CUSTOMER_BALANCE.

Extension Includes

In addition to the extension includes described above, the following extension includes are available:

DDIC

Extension Include

Use

FARPO_S_CB_CUSTOMER_BALANCES_MD

INCL_EEW_FARO_S_CB_CUSTOMER_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

All UI controls can be hidden 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.