Quantcast
Channel: SCN : Popular Discussions - SAP Business Client
Viewing all articles
Browse latest Browse all 1327

Open sapgui from nwbc with side panel (using api)

$
0
0

Hi experts!

 


I have one problem with NWBC for desktop and side panel.

The challenge isthat 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.

 

 

 


Viewing all articles
Browse latest Browse all 1327

Trending Articles