Show TOC

App Extensibility: Track Purchase OrderLocate this document in the navigation structure

Use

You can extend the Track Purchase Order app for different aspects. For this purpose, the following extensibility options are available:

  • Add fields to the purchase order details header

  • Add fields to the Information area of the purchase order item details

  • Add fields to the Information area of the purchase requisition details

  • Add fields to the Information area of the goods receipt details

  • Add fields to the Information area of the invoice receipt details

Add Fields to Purchase Order Details Header

To add customer fields to the header of purchase order details, 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

S3.view.app.xml

detailsHeader

PODetailedData

SRA020_S_PO_DETAILED_INCL

SRA020_S_PO_DETAILED

Add Fields to Purchase Order Item Details

To add customer fields to the Information area of the purchase order item details, 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

POItem.view.app.xml

itemDetailsInformation

POItemDetailData

SRA020_S_PO_ITEM_DETAILED_INCL

SRA020_S_PO_ITEM_DETAILED

Add Fields to Purchase Requisition Details

To add customer fields to the Information area of the purchase requisition details, 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

PR_Factsheet.view.app.xml

factSheetInformation

PRFactsheet

SRA020_S_PR_ITEM_DATA_INCL

SRA020_S_PR_ITEM_DATA

Add Fields to Goods Receipt Details

To add customer fields to the Information area of the goods receipt details, 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

GoodReceipt.view.app.xml

goodsReceiptInformation

GoodsReceiptHeader

SRA020_S_GOODS_RECEIPT_HDR_INCL

SRA020_S_GOODS_RECEIPT_HDR

Add Fields to Invoice Receipt Details

To add customer fields to the Information area of the invoice receipt details, 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

InvoiceReceipt.view.app.xml

invoiceReceiptInformation

InvoiceHeader

SRA020_S_INVOICEHEADER_INCL

SRA020_S_INVOICEHEADER

Further Extensibility Entities

Business Add-Ins (BAdIs)

The following BAdIs are available for extensibility purposes:

  • SRA020_PO_TRACKING_MPC

    You can use this BAdI to enhance the entities of the sra020_po_tracking_srv Gateway service, for example, to add your own fields. For more information, see the BAdI documentation and the example implementation.

  • SRA020_PO_TRACKING_DPC

    You can use this BAdI to enhance the purchase order data that is retrieved from the back-end system. You can also use it to display pictures of supplier contacts in supplier fact sheets. For more information, see the BAdI documentation and the example implementation.

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 Track Purchase Order 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

S2.controller.js

extHookOnPOListReceived

Allows you to check and change the data in the list of purchase orders.

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.