Skip to Content
0
Former Member
Apr 10, 2012 at 01:41 PM

Change language in web Dynpro

367 Views

Hello,

I am searching how to change language in web Dynpro application.

I am doing this in WDDOINIT

CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'XXXXXX' "

IMPORTING
out_absolute_url = lv_link.


* Get default user language
lv_langu = me->get_langu( ).

* Change URL link (Add language)
CALL METHOD cl_http_server=>append_field_url
exporting
name = 'sap-language'
value = lv_langu
changing
url = lv_link.

But with this logic my URL doesn't reach browser.

Maybe someone have any ideas? How I could change language in web dynpro application?

Thank you.