Sorry for an unclear replay.
In Simple terms; I have 2 scenarios;
- Launch a new tab (IW38 tcode), on click of a button in SAP screen of custom transaction in NWBC.
- Launch a new tab (IW38 tcode), on click of a button in a Non - SAP App opened (using URL) in NWBC.
For 1st case, i have used
CL_NWBC=>URL_CONSTRUCT
EXPORTING
CANVAS_WDA__CLIENT_TYPE = 'nwbc'
CANVAS_TRANSACTION = 'IW38'
RECEIVING
URL = lv_URL.
CALL METHOD CL_NWBC=>URL_LAUNCH
EXPORTING
URL = lv_url
But it gets open in NWBC HTML not in NWBC Desktop client.
I tried all the Parameters you have mentioned in your response to this post earlier, but nothing worked. the last one is CANVAS__WINDOW which actually hides the top area and few buttons but still it is a HTML version.
If i set the HTML_CLIENT = ABAP_FALSE, it launches a new window instead of the tab and asks for Login. If i login in can see the IW38 in NWBC desktop client. But the only problem is we have the restriction of single window/single login for users.
I am on NWBC PL12 and also updated the GUI 7.3 to PL8.
Simply the problem is URL_CONSTRUCT for any transaction is launching it in a new tab but in HTML Version.
For 2nd case,
It asks for the login details on click of a button on the 3rd party URL opened in NWBC. which means i am launching SAP from a 3rd party.
Is there any way to achieve the launch of new tab in this case instead of the new window ?
I hope its more clear now.
Regards,
Nik.