You can extend Check Price and Availability according to your business needs for different aspects. For this purpose, the following extensibility options are available:
You can insert custom content that overwrites the default content provided inside the extension points.
Extension points are inserted in the views of delivered standard applications.
To add a customer field to the app, the extensibility entities listed below 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: Superclass/ Method to Be Redefined |
ListItemTemplate.fragment.xml |
extDefaultProductAttributes |
SRA016_PRICE_AVAIL_SRV/ProductAttribute |
SRA016_S_PA_PRODUCT_ATTRB |
Superclass: CL_SRA016_PRICE_AVAIL_DPC_EXT Method: PRODUCTATTRIBUTE_GET_ENTITYSET |
extProductAttributes |
||||
S3.view.xml |
extProductDefaultDetailAttributes |
|||
extProductDetailAttributes |
||||
SRA016_PRICE_AVAIL_SRV/Customer |
SRA016_S_PA_CUSTOMER |
Superclass: CL_SRA016_PRICE_AVAIL_DPC_EXT Method: CUSTOMERCOLLECTI_GET_ENTITYSET |
||
SRA016_PRICE_AVAIL_SRV/Product |
SRA016_S_PA_PRODUCT |
Superclass: CL_SRA016_PRICE_AVAIL_DPC_EXT Method: PRODUCTCOLLECTIO_GET_ENTITYSET |
||
SRA016_PRICE_AVAIL_SRV/ProductAvailability |
SRA016_S_PA_PRODUCT_AVAIL |
Superclass: CL_SRA016_PRICE_AVAIL_DPC_EXT Method: PRODUCTAVAILABIL_GET_ENTITYSET |
Business Add-Ins (BAdIs)
The following BAdIs are available for extensibility purposes in Customizing for Sales and Distribution( call the transaction SIMGH to open the node:
BAdI: Extending Check Price and Availability (BADI_SRA016_EXTENSIBILITY)
You can use this BAdI to populate custom fields such to check the availability and price of items that are on special offer.
Extension Includes
In addition to the extension entities described above, the following extension includes are available:
DDIC |
Extension Include |
Use |
---|---|---|
SRA016_S_PA_PRODUCT_ATTRB |
SRA016_S_PA_PRODUCT_ATTRB_INCL |
To add fields for product attributes |
SRA016_S_PA_PRODUCT_AVAIL |
SRA016_S_PA_PRODUCT_AVAIL_INCL |
To add fields for product availability |
SRA016_S_PA_CUSTOMER |
SRA016_S_PA_CUSTOMER_INCL |
To add fields for customers |
SRA016_S_PA_PRODUCT |
SRA016_S_PA_PRODUCT_INCL |
To add fields for products |
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 .
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .