cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPUI5 cross app navigation to standard transaction

Altarkawi67
Participant
2,671

Hello everyone,

I'm trying with my app to manage cross navigation to several transaction. right now to do so, i need to create semantic object for each app or tcode, however therefore i should also create an instance app for each tcode in the Content Manager of the Lauchpad. without the instance there would be an error like following (example with VA01) :

App could not be opened either due to an incorrect SAP Fiori launchpad configuration or a missing role assignment.

Failed to resolve navigation target "#SalesOrder-manageLineItems?sap-app-origin-hint=saas_approuter". This is most likely caused by an incorrect SAP Fiori launchpad content configuration or by a missing role assignment.

Now what I'm trying to do is being able to do it without the need to create the insatnce in the launchpad, i think there should be someway to do it at least with the standard tcodes.

All suggestions are welcomed and appreciated

Accepted Solutions (1)

Accepted Solutions (1)

Altarkawi67
Participant
0 Likes

Thanks to @Marian_Zeis, i did something like this

            const oLink = new URL(
              window.location.origin +
                "/sap/bc/ui2/flp?#Shell-startGUI?sap-ui2-tcode=" +
                oObject.Tcode
            );
            let URLHelper = mobileLibrary.URLHelper;
            URLHelper.redirect(oLink.href, true);

Answers (0)