cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Cross App Navigation in Edit Mode

former_member203179
Participant
2,265

Hi Community,

there is question I have related to cross app navigation.

Is it possible to navigate to another fiori app and the user is automatically in the edit mode ?

Context: The app we navigate to is a generated app via ABAP CDS with metadata annotations.

In the App via coming from, we are using sapui5 to navigate to the app, where we want to be in the EDIT mode, like this:

var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
var empHash = (oCrossAppNavigator && oCrossAppNavigator.hrefForExternal({
  target: {
    semanticObject: "%semanticObject%",
    action: "%fioriAppAction%"
  },
  params: {
    "%additionalParameter%": %contextParameter%
  }
})) || "";
oCrossAppNavigator.toExternal({
  target: {
    shellHash: empHash
  }
});

As per definition the actual navigation takes place via the %semanticObject% and the %fioriAppAction%

We can change the app actions, but this will not automatically trigger the edit mode, when we use the action change.

The app we are navigating to is a generated Fiori List Report app controlled via CDS Metadata.

Are there options to control the app mode ?

  • Maybe via the Fiori App Customizing ?
  • or an app extension ?
  • or via the sapui5 navigation ?
  • or via the generated app manifest ?

Or can we always turn the edit mode on ?

Thanks a lot for any help or hint 🙂

P.s.:

In addition:

  • we are navigating to an object page of a single entry
  • example URL we will end up navigating to
    https://%server%:%port%/sap/bc/ui2/flp#%semanticObject%-%fioriAppAction%&//ZCDSVIEW('0000000001')
  • see below the screenshot how such view of a generated app looks like - here the user needs to extra click on EDIT - but we want to navigate here and be already in the edit mode

All the Best,
Thomas

View Entire Topic
Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert

Hi Thomas

Up to now it has not been possible - object pages open in edit mode when you are editing an entry that is locked against your user id in draft mode.

With the introduction of SAPUI5 1.60 there may be a way around it if you are using the Web IDE Adaptation project.

I'd suggest raising an incident to component CA-UI5-ST to confirm if this is still a restriction of List Report

rgds

Jocelyn

former_member203179
Participant
0 Kudos

thanks for the answer, I will do this 🙂

0 Kudos

thomas.schmidt8 Did you get the solution?