Show TOC

App Extensibility: Carry Out SourcingLocate this document in the navigation structure

Use

You can extend the Carry Out Sourcing app according to your business needs for different aspects. For this purpose, the following extensibility options are available:

  • Extend the Carry Out Sourcing screen

    You can add more columns to the existing columns in the Carry Out Sourcing screen. The new columns that you add can in turn be used as a criteria to filter unassigned items.

  • Extend the Edit Selected Items screen

    You can add a new field relevant to item details and use it when you edit multiple items.

  • Extend the Edit Selected Item screen

    You can add a new field relevant to item details and use it when you edit a single item.

  • Extend the Filter screen

    You can add a new field to sort or group items.

  • Extend the Documents Preview screen

    In addition to the existing columns that display the values of the unassigned shopping cart items, you can add more columns and use them to filter items.

  • Extend the Item Details screen

    You can add more fields and tab pages to the existing Item Details screen.

  • Extend the Select Source of Supply screen.

    You can add more fields to the existing Select Source of Supply screen.

Extend the Carry Out Sourcing screen

To add a customer field to the app, 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

extDemandColumn

Service: SRM_SOCO

Entity Set: UnsourcedDemandCollection

SRMSOCO_S_UNSOURCED_DEMANDS

Superclass: CL_SRM_SOCO_DPC

Method: UNSOURCEDDEMANDC_GET_ENTITYSET

S1.view.xml

extDemandList

Service: SRM_SOCO

Entity Set: UnsourcedDemandCollection

SRMSOCO_S_UNSOURCED_DEMANDS

Superclass: CL_SRM_SOCO_DPC

Method: UNSOURCEDDEMANDC_GET_ENTITYSET

Extend the Edit Selected Items screen

To add a customer field to the app, 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

EditMultipleItem.fragment.xml

extEditMultipleItem

Service: SRM_SOCO

Entity Set: UnsourcedDemandCollection

SRMSOCO_S_UNSOURCED_DEMANDS

Superclass: CL_SRM_SOCO_DPC

Method: UNSOURCEDDEMANDC_GET_ENTITYSET

Extend the Edit Selected Item screen

To add a customer field to the app, 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

EditSelectedItem.fragment.xml

extEditSingleItem

Service: SRM_SOCO

Entity Set: UnsourcedDemandCollection

SRMSOCO_S_UNSOURCED_DEMANDS

Superclass: CL_SRM_SOCO_DPC

Method: UNSOURCEDDEMANDC_GET_ENTITYSET

Extend the Filter screen

To add a customer field to the app, 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

GroupSortItem.fragment.xml

extSortItems

Service: SRM_SOCO

EntitySet: UnsourcedDemandCollection

SRMSOCO_S_UNSOURCED_DEMANDS

Superclass: CL_SRM_SOCO_DPC

Method: UNSOURCEDDEMANDC_GET_ENTITYSET

GroupSortItem.fragment.xml

extGroupItems

Service: SRM_SOCO

EntitySet: UnsourcedDemandCollection

SRMSOCO_S_UNSOURCED_DEMANDS

Superclass: CL_SRM_SOCO_DPC

Method: UNSOURCEDDEMANDC_GET_ENTITYSET

Extend the Documents Preview screen

To add a customer field to the app, 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

S2.view.xml

extDraftPriceFooter

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_HEADER

Superclass: CL_SRM_SOCO_DPC

Method:DRAFTCOLLECTION_GET_ENTITYSET

S2.view.xml

extDraftColumn

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_ITEM

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

S2.view.xml

extDraftList

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_ITEM

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

S2.view.xml

extDraftList

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_ITEM

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

S2.view.xml

extDraftPanelHeader

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_ITEM

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

EditPOItem.fragment.xml

extEditPOItem

Service: SRM_SOCO

Entity Set: DraftCollection

 

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

EditPONotes.fragment.xml

extEditSingleItem

Service: SRM_SOCO

Entity Set: DraftCollection

 

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTNOTESCOLLECTION_GET_ENTITYSET

Extend the Item Details Screen

To add a customer field to the app, 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

S3.view.xml

extDraftPriceFooter

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_HEADER

Superclass: CL_SRM_SOCO_DPC

Method:DRAFTCOLLECTION_GET_ENTITYSET

S3.view.xml

extDraftColumn

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_ITEM

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

S3.view.xml

extDraftList

Service: SRM_SOCO

Entity Set: DraftCollection

SRMSOCO_S_DRAFT_ITEM

Superclass: CL_SRM_SOCO_DPC

Method: DRAFTCOLLECTION_GET_ENTITYSET

Extend the Select Source of Supply Screen

To add a customer field to the app, 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

SOSTable.fragment.xml

extSOSTableColumn

Service: SRM_SOCO

Entity Set: PreferredSOSCollection

SRMSOCO_S_DRAFT_HEADER

Superclass: CL_SRM_SOCO_DPC

Method: PREFERREDSOSCOLL_GET_ENTITYSET

extSOSTableList

Service: SRM_SOCO

Entity Set: PreferredSOSCollection

SRMSOCO_S_DRAFT_HEADER

Superclass: CL_SRM_SOCO_DPC

Method: PREFERREDSOSCOLL_GET_ENTITYSET

Further Extensibility Entities

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

extHookOnInit

Allows you to modify the behavior of unassigned items list view s1 view.xml. This hook can be used to trigger operations during the initialization of the view

extHookOnAfterRendering

Allows you to modify the behavior of S1 view.xml after it is rendered on the user interface

extHookShowEditItemDialog

Allows you to modify the behavior of the fields contained in theEditSelectedItemfragment.xml after it is rendered on the user interface

extHookShowEditMultipleItemDialog

Allows you to modify the behavior of the fields contained in the EditMultipleItemfragment.xml after it is rendered on the user interface

extHookopenSosDialog

Allows you to modify the behavior of the Source of Supply field

extHookhandleCategoryHelp

Allows you to modify the behavior of the fields contained in theEditSelectedItem.fragment.xml

S2.controller.js

extHookOnInit

Allows you to modify the behavior of Create Drafts screen. This hook can be used to trigger operations during the initialization of the view.

extHookOnAfterRendering

Allows you to control the behavior of S2 view after it is rendered on the user interface

extHookShowEditItemDialog

Allows you to modify the behavior of the fields contained in the EditSelectedItemfragment.xml after it is rendered on the user interface

extHookShowEditMultipleItemDialog

Allows you to modify the behavior of the fields contained in the EditMultipleItemfragment.xml after it is rendered on the user interface

extHookCreateDocumentSucess

Allows you to display messages when the documents are created in the synchronous mode

S3.controller.js

extHookOnInit

Allows you to control the behavior of Create Drafts screen in the S2 view during its initialization

extHookOnAfterRendering

Allows you to control the behavior of Create Drafts screen in the S2 view after it is rendered

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

S1.view.xml

facet_filter

Allows you to hide filters

demandsCount

Allows you to hide the count that appears against the demand

S2.view.xml

draftDescription

Allows you to hide the description for the document type

draftVendorNumber

Allows you to hide the Supplier Name that appears against the Supplier field

draftVendorName

Allows you to hide the Supplier Name field

draftVendorNameLink

Allows you to hide the link associated with a Supplier Name

oDetailsTab

Allows you to hide the Item Details tab page

oSourceLabel

Allows you to hide the Source of Supply field

oSourceText

Allows you to hide the number of sources against the Source of Supply field

oSupplierLabel

Allows you to hide the Supplier field

oSupplierText

Allows you to hide the Supplier Name that appears against the Source of Supply field

oContractLabel

Allows you to hide the Contract field

oContractText

Allows you to hide the name that appears against the Contract field

oCatLabel

Allows you to hide the Category field

oCatText

Allows you to hide the text that appears against the Category field

oReqLabel

Allows you to hide the External Requirement field

oReqText

Allows you to hide the number that appears against the External Requirement field

oDelDateLabel

Allows you to hide the Delivery Date field

oDelDateText

Allows you to hide the date that appear against the Delivery Date field

oReqNumLabel

Allows you to hide the External Requirement Number field

oReqNumText

Allows you to hide the number that appears against the External Requirement Number

oDelAddLabel

Allows you to hide the Delivery Address field

oDelAddText

Allows you to hide the address that appears against the Delivery Address field

oAccountAssTable

Allows you to hide the Account Assignment table

oNoteTab

Allows you to hide the Notes tab page

oAttachTab

Allows you to hide the Attachment tab page

S3.view.xml

oNoteTab

Allows you to hide the Notes tab page

EditMultipleItem.fragment.xml

supplierLblMulti

Allows you to hide the Supplier field label using the controller hook extHookShowEditMultipleItemDialog

SupplierNumber

Allows you to hide the Supplier Number using the controller hookextHookShowEditMultipleItemDialog

categoryLblMulti

Allows you to hide the Category field using the controller hookextHookShowEditMultipleItemDialog

CategoryNumber

Allows you to hide the number that appears against the Category Number using the controllerextHookShowEditMultipleItemDialog

delDateLblMulti

Allows you to hide the Delivery Date field using the controllerextHookShowEditMultipleItemDialog

DeliveryDate

Allows you to hide the date that appears against the Delivery Date field using the controllerextHookShowEditMultipleItemDialog

EditSelectedItem.fragment.xml

supplierLblSingle

Allows you to hide the Supplier field using the controllerextHookShowEditItemDialog

SupplierNumber

Allows you to hide the number that appears against theSupplier field using the controllerextHookShowEditItemDialog

descLblSingle

Allows you to hide the extHookhandleCategoryHelp

itmDesc

Allows you to hide the Item Description field using the controllerextHookShowEditItemDialog

categoryLblSingle

Allows you to hide the Category field using the controllerextHookShowEditItemDialog

 

CategoryNumber

Allows you to hide the number that appears against the Category Number using the controllerextHookShowEditItemDialog

delDateLblSingle

Allows you to hide the Delivery Date field using the controllerextHookShowEditItemDialog

DeliveryDate

Allows you to hide the date that appears against the Delivery Date field using the controllerextHookShowEditItemDialog

 

quantityLblSingle

Allows you to hide the Quantity field using the controller extHookShowEditItemDialog

 

editQuantity

Allows you to hide the Edit Quantity extHookShowEditItemDialog

 

UOMSelectField

Allows you to hide the Unit of Measure field using the controllerextHookShowEditItemDialog

 

priceLblSingle

Allows you to hide the Price field using the controllerextHookShowEditItemDialog

 

editPrice

Allows you to hide the Edit Price field using the controllerextHookShowEditItemDialog

 

editSinglePrcPerUnit

Allows you to hide the Price Per Unit field using the controllerextHookShowEditItemDialog

EditPOItem.fragment.xml

PORes

Allows you to hide the purchase order response check box

 

SHPNot

Allows you to hide the Shipping Notification check box

 

ERS

Allows you to hide the Evaluated Receipt Settlement checkbox

IRInd

Allows you to hide the Invoice Expected check box

GRBased

Allows you to hide the Confirmation Based Invoice Verification check box

GRInd

Allows you to hide the Goods Receipt or Confirmation check box

forward.fragment.xml

FwdLabel

Allows you to hide the Forward label

 

FwdText

Allows you to hide the forward reason text box

SupplierHelp.fragment.xml

Country

Allows you to hide the Country field in the Search Help for Supplier

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.