SAP Knowledge Base Article - Preview

3433999 - Navigation to object page on edit mode is not working

Symptom

When implement a navigation from a pop up in a list report to an object page, opening object page in Edit mode doesn't work.


this.extensionAPI.getNavigationController().navigatelnternal(     
  oModel.createBindingContext(sPath),
  {
   replaceInHistory: true, 
   displayMode: 'edit'    
  }


Read more...

Environment

Accordingly to following documentation, 

class sap.suite.ui.generic.template.extensionAPI.NavigationController

From <https://ui5.sap.com/1.108.20/#/api/sap.suite.ui.generic.template.extensionAPI.NavigationController%23methods/sap.suite.ui.generic.template.extensionAPI.NavigationController.getMetadata


this should be possible using the method 'navigateInternal' with the parameter 'displayMode':


displayMode?
sap.suite.ui.generic.template.displayMode
This gives the provision to the application developer to chosse between "display"/"edit" mode for target page

Product

SAP S/4HANA 2022

Keywords

extensionAPI, NavigationController, displayMode , KBA , CA-UI5-ST , Fiori elements v2 , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.