cancel
Showing results for 
Search instead for 
Did you mean: 

getting internet browser session id in WD4A

former_member210967
Participant
0 Kudos

Hi,

I would like to have the 'session id' of the browser in which the wd4a application is opened. I have used the code below but I got empty strings back. So I don't know if the coding below is correct. Who can help pointing me in the right direction ?

METHOD handledefault .

DATA: lv_appwndi TYPE string,

lv_cltwndid TYPE string.

lv_appwndi = wdr_task=>client_window->get_parameter( `sap-wd-appwndid` ).

lv_cltwndid = wdr_task=>client_window->get_parameter( `sap-wd-cltwndid` ).

...

....

...

ENDMOTHOD.

Thanks for helping, John

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member210967
Participant
0 Kudos

Taken over the advise of Thomas Jung.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Why do you need the session ID? You shouldn't really ever build application logic around it. You should also never interact with WDR_TASK directly.

Former Member
0 Kudos

is it something related to ICF node settings from trasaction SICF???

former_member210967
Participant
0 Kudos

Hope somebody knows ?