Show TOC

App Extensibility: Request MaterialLocate this document in the navigation structure

Use

You can extend Request Material according to your business needs for different aspects. For this purpose, the following extensibility options are available:

Add Customer Specific Fields

To add a customer field to the create form, for example, 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

S1.view.xml

extGeneralData

MDG_MATERIAL

CI_MDG_S_PMM_MATERIAL

Superclass: CI_MDG_S_PMM_MATERIAL

Method: CREATE_DEEP_ENTITY

Further Extensibility Entities

Business Add-Ins (BAdIs)

No BAdIs are available for extensibility purposes.

Extension Includes

DDIC

Extension Include

Use

MDG_GW_S_ATTACHMENT

CI_MDG_GW_S_ATTACHMENT

Attachment

MDG_GW_S_CREQUEST

CI_MDG_GW_S_CREQUEST

Change Request

/MDGMM/_S_MM_PP_INTCMNT

CI_MDG_S_PMM_INTCMNT

Internal Comment

/MDGMM/_S_MM_PP_MATERIAL

CI_MDG_S_PMM_MATERIAL

Material

MDG_GW_S_SEARCH_MATERIAL

CI_MDG_GW_S_SEARCH_MATERIAL

Search Material

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 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 Extension Points End of the navigation path.

Extension Points

View

Extension Point

Use

S1.view.xml

extHeader

Extends the overview tile

S1.view.xml

extGeneralData

Extends the fields in the form

S1.view.xml

extGeneralData

Extends the General Data section of the form and add other sections as well

S1.view.xml

extTable

Extends the duplicate search table

S1.view.xml

extAttachments

Extends the attachment

S1.view.xml

extIconTabBarExtension

Extends the icon tabs

S1.view.xml

extFooterExtension

Extends the footer section

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 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 Extension Points 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

S1.Controller.js

extHookonCancel

Allows you to extend the functionality of the Cancel button and add some additional actions

S1.Controller.js

extHookonSubmit

Allows you to extend the functionality of the Submit button and add some additional actions

S1.Controller.js

extHookDataForCreate

Allows you to add extra fields on the UI and extend the create method to add the these fields

S1.Controller.js

extHookonSelect

Allows you to provide extra functionality on selection of the icon tab filter

S1.Controller.js

extHookonRefresh

Allows you to provide extra functionality on pressing of refresh button in the duplicates tab

S1.Controller.js

extHookClearFields

Allows you to clear the UI field which have been extended

S1.Controller.js

extHookSearchQuery

Allows you to add more fields for duplicate check

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.

Display of UI Controls

The following UI controls can be hidden on the app UI:

View

Control ID

Use

Main.view.xml

fioriContent

Allows you to hide the main view content

S1.view.xml

create

Allows you to hide the view

S1.view.xml

Page

Allows you to hide the page

S1.view.xml

Header

Allows you to hide the object header

S1.view.xml

createMaterial

Allows you to hide the Icon Tab

S1.view.xml

matForm

Allows you to hide the Simple Form

S1.view.xml

reason

Allows you to hide the Reason

S1.view.xml

materialNumber

Allows you to hide the Input Material Number

S1.view.xml

materialNumberExt

Allows you to hide the Input Number Extension

S1.view.xml

Description

Allows you to hide the Description

S1.view.xml

BaseUnitOfMeasure

Allows you to hide the UOM

S1.view.xml

UOMDesc

Allows you to hide the UOM Description

S1.view.xml

otherInformation

Allows you to hide the Other Information

S1.view.xml

search

Allows you to hide the Search

S1.view.xml

description

Allows you to hide the Description

S1.view.xml

Results

Allows you to hide the Results

S1.view.xml

searchText

Allows you to hide the Search Text

S1.view.xml

persIcon

Allows you to hide the Personalization Icon

S1.view.xml

MaterialCol

Allows you to hide the Material Column

S1.view.xml

UnitOfMeasureCol

Allows you to hide the UOM Column

S1.view.xml

MaterialTypeCol

Allows you to hide the Material Type Column

S1.view.xml

IndSecCol

Allows you to hide the Industry Sector Column

S1.view.xml

MatGrpCol

Allows you to hide the Material Group Column

S1.view.xml

RankCol

Allows you to hide the Rank Column

S1.view.xml

pullToRefresh

Allows you to hide the Refresh

S1.view.xml

attachments

Allows you to hide the Attachments

S1.view.xml

fileupload

Allows you to hide the fileUpload

S1.view.xml

bar2

Allows you to hide the Bar2

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.