on 05-29-2014 7:23 PM
Hi experts!
I have one problem with NWBC for desktop and side panel.
The challenge is that using wda api (or nwbc api) open sapgui transaction in nwbc and side panel have to be active for this sapgui transaction.
NWBC for desktop version 4.0.
SAP ERP 6.0 EHP 6.
When I logon to nwbc I see side panel that customized using pfcg role. I implemented side panel for sapgui transaction in nwbc.
I implemented wda application to open sapgui transcation.
See below.
As resut in nwbc new tab(window) with sapgui transaction opened BUT side panel is absence in new tab(window) in nwbc. It is very confused.
The challenge is opening new sapgui transcation with side panel .
NWBC for html and sapgui for html is not suitable for my case.
This is my source from wda application to open sapgui in nwbc.
-----------------------------------------------------------------------------
DATA:
lv_url TYPE string,
lo_nwbc TYPE REF TO cl_nwbc,
lo_api_component TYPE REF TO if_wd_component,
lo_window_manager TYPE REF TO if_wd_window_manager,
lo_window TYPE REF TO if_wd_window.
lv_url = cl_nwbc=>url_construct(
canvas_transaction = 'VA42'
CANVAS_TRANSACTION__CLNT_TYPE = 'sapgui'
CANVAS__WINDOW = cl_nwbc=>canvas__window__app
) .
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window(
url = lv_url
).
lo_window->open( ).
----------------------------------
Please, help...
Best regards,
Timur Tabakov.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Timur,
I have almost the same problem.
Did you solve this problem?
Kind regards,
Eike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Timur
Your code above looks fine for me; but I probably need to understand your statement "The challenge is opening new sapgui transcation with side panel" ...
I presume that you open the Tcode VA42 successfully. Is the issue because there's no Side Panel associated with this Tcode? Or you have the Side Panel, but you need to write code to open it?
Regards
Damean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is interesting. I believe that there was a similar issue when transactions were opened from the NWBC Favourites (user saved favourites) - this was fixed in a release of the NWBC desktop client (PL10 I think). So this might be a bug that needs fixing... if I were you I would raise it with SAP support.
Timur
I think I've similar issue in the past. The key issue ... When I open up the transaction, it does NOT seems to be associated with a Side Panel related Role & I just could NOT find a BAPI that could open up a Tcode within a particular role.
I believe there maybe a work around by making the side panel role "global" ... however I abandon this design shortly. Reason ... I found a better solution via the use of Launchpad Chip. Primary value .. I could add my multiple Tcode without hardcoding and the role based designed make security role changes far more easier.
Regards
Damean
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.