Show TOC

App Extensibility: Approve Travel ExpensesLocate this document in the navigation structure

Use

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 Start of the navigation path Extensibility Information for SAP Fiori Next navigation step Extending the UI Layer Next navigation step UI Extensibility Workflow Next navigation step  Next navigation step Checking the SAP-Enabled Extension Options Next navigation step Extension Points End of the navigation path.

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 Start of the navigation path Extensibility Information for SAP Fiori Next navigation step Extending the UI Layer Next navigation step UI Extensibility Workflow Next navigation step  Next navigation step Checking the SAP-Enabled Extension Options Next navigation step UI Controller Hooks End of the navigation path.

BAdIs

SRA008_BADI_APV_TRAVEL_EXP

You can use this BAdI to adapt the expense information shown in the approval.

More Information

For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation Start of the navigation path Extensibility Information for SAP Fiori End of the navigation path.