cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Field Translation

prathamesh_gandhi
Participant
0 Kudos

Hi All,

I wanted to set the field labels based on browser language for FPM application. I am designing it through FPM configuration only (Not Webdynpro).

Please share what all ways can be implemented to achieve this ? And which is recommend.

Thanks In Advance,

P$G.

Accepted Solutions (1)

Accepted Solutions (1)

former_member197475
Active Contributor
0 Kudos

Hi,

You mean that are you defining the fields in GET_DEFINITION method??

If yes, pass the OTR text to the label, such that it will take care of language translation.

DATA ls_field_description TYPE fpmgb_s_formfield_descr.

CLEAR ls_field_description.

ls_field_description-label_text               =  cl_wd_utilities=>get_otr_text_by_alias(  alias =    

                                                                     'PACKAGE/OTR_NAME' ).

ls_field_description-visibility                  = 'X'.

APPEND ls_field_description TO et_field_description.

BR,

RAM.

Answers (0)