Skip to Content
Apr 02, 2014 at 09:48 AM

How do I translate POPUP Message Text in Web dynpro program?


I have hardcoded some Text message for POPUP inside webdynpro program. It works properly for English Language. But not getting translated for other languages. So how do i solve this.? Can i make use of OTR text or Text Elements here? I am new to Webdynpro. Please clarify.

My Code :

ls_text = 'You want to cancel changes...Are you sure?'.

INSERT ls_text INTO TABLE lt_text.



lo_window = lo_window_manager->create_popup_to_confirm( text = lt_text

button_kind = if_wd_window=>co_buttons_yesno

message_type = if_wd_window=>CO_MSG_TYPE_WARNING

window_title = 'Information to Confirm...'

window_position = if_wd_window=>co_center ).


Anand R