Skip to Content
avatar image
Former Member

How to translate Select Option Block Title

Hi,

Can someone please enlighten me on how to translate for a Select Option Block Title in a Web Dynpro ABAP?

My coding as follows:


  wd_this->m_helper->add_block(
    i_id         = `GROUP1`
    i_block_type = if_wd_select_options=>mc_block_type_group
    i_title      = 'Period' ).

  wd_this->m_helper->add_block(
    i_id         = `GROUP2`
    i_block_type = if_wd_select_options=>mc_block_type_group
    i_title      = `Selection` ).

I would like to translate for both 'Period' and 'Selection'. Do I still use syntax $OTR: alias?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 22, 2011 at 10:29 AM

    Hello Girish,

    you can use the assistance class for the webdynpro component and create the text in the assistance class. This text can be used to populate the title like wd_assist->get_text( <id> ).

    BR, Saravanan

    Add comment
    10|10000 characters needed characters exceeded