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
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 |
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 |
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 |
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 |
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 |
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 .
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 .
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .