You can extend Approve Travel Expensesaccording to your business needs for different aspects. For this purpose, the following extensibility options are available:
Extension Points
UI Controller Hooks
BAdIs
Extension Points
Name: extTabAttachments
Location: S3.view.xml
Purpose: Add a new tab to the tab container
Name: extContentInformation
Location: S3.view.xml
Purpose: Add additional content information above the expense list
Name: extAdditionalExpenseInformation
Location: S3.view.xml
Purpose: Add additional expense information above the cost assignment in the expense list
Name: CustomerExtensionForReceiptDetails
Location: S4.view.xml
Purpose: Customize the Receipt Details area
If there are additional fields available in the OData service, you can display these fields on the UI. For more information, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation .
UI Controller Hooks
To plug in and execute custom code, the following hooks are available in the controller code:
Controller |
Hook |
Use |
---|---|---|
S3.controller.js |
Additionalbuttons |
Alows you to add buttons to the footer toolbar. |
If there are additional UI controller hooks available in the controller code, you can add own code. For more information, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation .
BAdIs
SRA008_BADI_APV_TRAVEL_EXP
You can use this BAdI to adapt the expense information shown in the approval.
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .