Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

multilingual

Former Member
0 Likes
949

Hi Experts!

PARAMETERS     *p_wtag*   type  BKK_KDATE_WEEK . "WEEKDAY_GET.

p_wtag is defined as selection text.

The goal is to make it multilingual?

How can I fulfil this requirement ?

Regards

ertas

6 REPLIES 6
Read only

Former Member
0 Likes
823

Hi,

Instead of using parameters use select-options as below :

select-options : p_wtag for <database field name>-<field name>.

Regards,

Raghu

Read only

Former Member
0 Likes
823

Does this way allows to display this field multilingual?

If so how is it possible ?

thx

ertas

Read only

0 Likes
823

Hi,

You mean that to enter multiple values right?

If so then you can use the following declaration:

Tables : IBKK_DYN_PER_BN.

select-options : p_wtag for IBKK_DYN_PER_BN-WKEY_DATE.

<REMOVED BY MODERATOR>

Regards,

Raghu

Edited by: Raghu Raman on Apr 14, 2008 5:06 PM

Edited by: Alvaro Tejada Galindo on Apr 14, 2008 3:43 PM

Read only

Former Member
0 Likes
823

Raghu

PARAMETERS p_wtag type BKK_KDATE_WEEK . "WEEKDAY_GET.

p_wtag is a parameters and has a selection text

assigned in english. This text should be displayed

in users logon language. This is my question

p_wtag = day of week Englisch

p_wtag = Wochentag German

p_wtag = Día de la semana Spanish etc

Read only

0 Likes
823

Hi,

I am not sure. Just try to login with different lang.

Regards,

Raghu

Read only

0 Likes
823

hi,

you would have to do it programatically. take a look at the following code:


SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (30) gd_comnt FOR FIELD up_datum.
PARAMETER up_datum TYPE sy-datum.
SELECTION-SCREEN END OF LINE.

AT SELECTION-SCREEN OUTPUT.
  IF sy-langu EQ 'EN'. "Language is in English
    MOVE 'day of week' TO gd_comnt.
  ELSEIF sy-langu EQ 'DE' OR sy-langu EQ 'D'. "Language is in German
    MOVE 'Wochentag' TO gd_comnt.
  ELSEIF sy-langu EQ 'ES'. "Language is in Spanish
    MOVE 'Día de la semana' TO gd_comnt.
  ENDIF.

Regards,

Peter