on 03-11-2014 5:28 PM
Hi!
I am trying to create an URL link to open a transaction in a role that I am using.
The webpage is shown in a web-chip as a part of FPM page inthe NWBC desktop client.
I have tried this type of concept: https://serverXX:8000/sap/bc/nwbc/~canvas/roleEntry/MyROLE:56/
The problem is that this opens the transaction in the HTML version of NWBC (inside NWBC desktop client).
However, I would do not want to use the HTML based version of the transaction. I want to use nativ abap transaction inside NWBC Desktop client.
I am able to open the transaction with a link from a webbrowser with this type of link:
sap-nwbc://https://serverXX:8000/sap/bc/nwbc/~canvas/roleEntry/MyROLE:56/
This link does not open at all from within NWBC....
How do I achieve opening a transaction via URL from inside the NWBC Desktop client?
By using methods URL_CONSTRUCT and URL_LAUNCH of ABAP class CL_NWBC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuli!
I hade a look at the class that you recommended. AS I understand it, I would not be able to call these methods via a URL, since the class needed to be implemented in ABAP.
How would you do this? Would you create a service that one would call and send parameters to that then redirects to transaction/node in PFCG role that I want to reach?
Or do you know any other simpler way to achieve the same result?
Re-reading your requirement I think you should consider integrating the transaction directly into the chip, see the respective chapter of the application help for details.
Hi Stefan,
Have you got any solution for this problem.
I am having same issue and so far no solution.
Regards,
Manish T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
Same issue i have as well.
My Understanding is, in NWBC desktop, if you open a non sap (eg: html) page, NWBC becomes an IE Browser.
That means you are now out of SAP for that tab (with html page) and whenever you try to launch any SAP transaction (using the method from HTML) it will launch in a new window and ask for Login.
May be Experts like Samuli Kaski & Melinda Ludanyi can put some light on it.
But, I have one more solution for this which is partially working in my case. May be helpful in you case as well.
Issue: From some SAP transaction in NWBC (say tab A), you are launching the html page (say tab B) and then want to launch another SAP transaction (Say tab C) from html.
Solution: Embed the HTML in SAP using HTML Viewer class and launch SAP custom transaction using the interface IF_LSAPI. It will launch it in new tab as a sap transaction with your html page.
Now if you want to launch the SAP transaction from your html page (Which is embedded in SAP custom transaction) you can use HTML Viewer class Events and you can pass parameters as well. Re use the same interface IF_LSAPI and launch it in new tab
In my case i am facing problems as the web developer has so many things on java script and they are not working properly. He is working on it and i am hoping it will be fine.
Regards,
Nik
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.