12 Replies Latest reply: Apr 12, 2012 3:05 PM by Martynas Kadakauskis RSS

Change language in web Dynpro

Martynas Kadakauskis
Currently Being Moderated

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.

Actions