cancel
Showing results for 
Search instead for 
Did you mean: 

WDA Portal Eventing with FFP (FLP@EP)

Lukas_Weigelt
Active Contributor
0 Kudos

Hello folks,

I'm having a nasty problem getting our WDA apps to talk to our Portal's Fiori Framework Page (FLP@EP). Hopefully, somebody can throw me some approaches I might not have found yet, because I'm about to run out of ideas here...

System Information:

Backend: SAP ERP 6.08/SP61 on NW 7.50 SPS10

Frontend(Gateway): NW 7.50 SPS10

Portal: NW 7.50 SPS12, using FFP (FLP@EP), using both Remote Content and EP-Tiles

Background:

In our "old" Portal landscape, running on 7.31 with AFP we frequently used the following "common trick" for means of a workaround in WDA apps to a have a functionality á la "close and go back to homepage":

 CALL METHOD wd_comp_controller->mr_portal_manager->fire
 EXPORTING
 portal_event_namespace = 'urn:com.sapportals:navigation'
 portal_event_name = 'historyNavigate'
 portal_event_parameter = '-1'.

Problem:

The above mentioned code snippet no longer works for WDAs used in our "new" Portal with FFP (FLP@EP). It seems as though the Fiori Desktop containing the Fiori Framework Page does not create a history entry in the browser. The WDA is embedded in an EP-Tile (iView) from the Remote-Source template and I already double-checked the iview's properties concerning "pass parameters for browser history to wda application" according to Note 2455628.

What I already tried:

.


  • Navigate Absolute --> this doesn't work and/or doesn't make sense to use either, because the "home page" is the FFP embedded in the portal desktop. I.e. there is no PCD-Object to sensibly navigate back to. For lack of ideas I tried to navigate to the FFP PCD-Object nevertheless, however that leads to the framework page being opened inside the (already opened) framework page.
  • Navigate Relative --> same problem
  • Searched for other Portal events I might "abuse" to invoke a "navigate back" or "navigate home" in the FFP. Unfortunately the Documentation on EPCM/EPCF does not include what standard events are available and/or where to look those up. I.e. I have no clue what events are even available
  • Attempted to use cl_wd_flp_api and invoke an IBN. Unfortunately this API and/or the WDA does not seem to recognize it's running in a FLP (FFP), so that doesn't work either. I.e. the WDA doesn't "know" the Portal's FFP.

.

Does anybody have an idea what else I could try? Or maybe where I could find some kind of list of standard portal events (I don't know where to technically look, though they have to be defined somewhere in the depths of the JAVA AS)? All I want is to programatically express in my WDA, that I want to "click on the home button" in the FFP. It can't be that hard. Tell me I overlooked something obvious, please? -_-

Cheers, Lukas

Accepted Solutions (0)

Answers (2)

Answers (2)

Lukas_Weigelt
Active Contributor
0 Kudos

BUMP. This is still driving me mad.

I've now additionally tried:

...to consume my Navigation-Helper app as a Remote Catalogue. This would theoretically work, if I had a means to navigate to that Remote Catalogue from my WDA, which I don't, because the Remote Catalogue is no PCD-Object. I tried to bypass this problem by creating a Dummy Freestyle Portal Role with an entry point having no content except this one Remote Catalogue and doing a Navigate Absolute onto that Role. However, as I already expected, this doesn't work either, because a Portal Role will only default to Portal Content and not to a Remote Object. I.e. the Role then tells me "Theres no content for this navigation node"

As a (for now) last approach, I will try to deploy my Navigation-Helper App to the Portal's WRR, Build an App-Integrator iView to consume the component, put that iView in my Role and do a Navigate Absolute again. If that fails too, I'll try using a sledgehammer -.-

Lukas_Weigelt
Active Contributor
0 Kudos

BUMP. This is still unsolved.

Another thing I've tried now is:

  • Developed a small Fiori app that does nothing except loading the following snippet upon initializing:
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");       oCrossAppNavigator.toExternal({         target: {           semanticObject: "#"         }       });
  • Deployed that app to our Gateway (ABAP FES)
  • Built a Fiori iView to call that App
  • Put the iView in a Portal Role
  • Do a Navigate Absolute in my WDA to call that iView (PCD-URL)

Result:

The iView's Frame remains intact and reopens the FFP within the already opened FFP....

Somebody please end my suffering Q.Q