Show TOC

App Extensibility: Order from RequisitionsLocate this document in the navigation structure

Use

You can extend the Order from Requisitions app for different aspects. For this purpose, the following extensibility option is available:

  • Add fields to supplier details

Add Fields to Supplier Details

To add customer fields to the Order from Requisitions app, 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: Data Structure to Be Redefined

FS_Supplier.view.xml

supplierDetailsHeader

SupplierInfo

SRA013_S_VENDOR_INCL

SRA013_S_VENDOR_DETAILS

FS_Supplier.view.xml

supplierDetailsContact

SupplierContact

SRA013_S_VENDOR_CONTACT_INCL

SRA013_S_VENDOR_CONTACT

FS_Supplier.view.xml

supplierDetailsData

SupplierInfo

SRA013_S_VENDOR_INCL

SRA013_S_VENDOR_DETAILS

FS_Supplier.view.xml

supplierDetailsPurData

SupplierInfo

SRA013_S_VENDOR_INCL

SRA013_S_VENDOR_DETAILS

Further Extensibility Entities

Business Add-Ins (BAdIs)

The following BAdIs are available for extensibility purposes:

  • SRA013_CREATE_PO_FROM_PR_MPC

    You can use this BAdI to enhance the supplier-related entities of the sra013_po_from_pr_srv Gateway service, for example, to add your own fields.

  • SRA013_CREATE_PO_FROM_PR_DPC

    You can use this BAdI to enhance the supplier data that is retrieved from the back-end system. You can also use it to display pictures of supplier contacts in supplier fact sheets.

The above listed BAdIs are available in Customizing for Materials Management under Start of the navigation path Purchasing Next navigation step  Purchase Orders Next navigation step Order from Requisitions App 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

FS_Supplier.controller.js

extHookOnDataReceived

Allows you to check and change the supplier data.

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.

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.