Show TOC

App Extensibility: Confirm Receipt of GoodsLocate this document in the navigation structure

Extensibility information for SAP Fiori app.

You can extend the app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
  • Extend the Shopping Carts List View
  • You can add more fields to the existing fields in the shopping cart list view and header section.
  • Extend the Shopping Cart Items List View
  • In addition to the existing columns, you can add a new field relevant to shopping cart item details
  • Extend the Purchasing Contact Dialog box
  • You can add a new field relevant to purchasing contact in the popover
Extend the Shopping Carts List View

To add a customer field to the app, for example, the following extensibility entities are available on the different 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

Run Time: Superclass and Method to Be Redefined

S2.view.xml

extMasterListItem

Service:SRM_CONFIRMATION

Entity Set:ConfirmationHeaderDetailsSet

SRMCF_S_HEADER_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONHEAD_GET_ENTITYSET

Extend the Shopping Cart Header

To add a customer field to the app, for example, the following extensibility entities are available on the different 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

Run Time: Superclass and Method to Be Redefined

S3.view.xml

extHeaderDetail

Service:SRM_CONFIRMATION

Entity Set:ConfirmationHeaderDetailsSet

SRMCF_S_HEADER_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONHEAD_GET_ENTITYSET

S3.view.xml

extConfirmationHeader

Service:SRM_CONFIRMATION

Entity Set:ConfirmationHeaderDetailsSet

SRMCF_S_HEADER_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONHEAD_GET_ENTITYSET

Extend the Shopping Cart Items List View

To add a customer field to the app, for example, the following extensibility entities are available on the different 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

Run Time: Superclass and Method to Be Redefined

S3.view.xml

extItemsColumnHeaderPos1

Service:SRM_CONFIRMATION

Entity Set:ConfirmationItemDetailsSet

SRMCF_S_HEADER_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONITEM_GET_ENTITYSET

extItemsColumnHeaderPos2

Service:SRM_CONFIRMATION

Entity Set:ConfirmationItemDetailsSet

SRMCF_S_ITEM_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONITEM_GET_ENTITYSET

S3.view.xml

extItemsColumnValuePos1

Service:SRM_CONFIRMATION

Entity Set:ConfirmationItemDetailsSet

SRMCF_S_ITEM_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONITEM_GET_ENTITYSET

extItemsColumnValuePos2

Service:SRM_CONFIRMATION

Entity Set:ConfirmationItemDetailsSet

SRMCF_S_ITEM_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: CONFIRMATIONITEM_GET_ENTITYSET

Extend the Purchasing Contact Dialog box

To add a customer field to the app, for example, the following extensibility entities are available on the different 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

Run Time: Superclass and Method to Be Redefined

PurchasingContact.fragment.xml

extPurchasingContact

Service:SRM_CONFIRMATION

Entity Set:PurchasingContactDetailsSet

SRMCF_S_PUR_CONTACT_DETAILS

Superclass: CL_SRM_CONFIRMATION_DPC

Method: PURCHASINGCONTACT_GET_ENTITY

Further Extensibility Entities

UI Controller Hooks

To plug in and execute custom code to Confirm Receipt of Goods app, for example, the following hooks are available in the controller code:

Controller

Hook

Use

S2.controller.js

extHookInit

Allows you to modify the behavior of Shopping Carts List View (S2 view) during the initialization of the view

extHookAfterRendering

Allows you to control the behavior of Shopping Carts List View (S2 view) after it is rendered

S3.controller.js

extHookInit

Allows you to modify the behavior of Shopping Cart Items List View (S3 view) during the initialization of the view

extHookAfterRendering

Allows you to control the behavior of Shopping Cart Items List View (S3 view) after it is rendered

extHookConfirmationItemsPayload

Allows you to modify the behavior of items payload during the confirmation of Shopping Cart Items List view (S3 view)

extHookConfirmationHeaderPayload

Allows you to modify the behavior of header payload during the confirmation of Shopping Cart Items List View (S3 view)

For more information about hiding UI controls, 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 Hiding UI Controls 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.