‎2008 Apr 14 12:13 PM
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
‎2008 Apr 14 12:26 PM
Hi,
Instead of using parameters use select-options as below :
select-options : p_wtag for <database field name>-<field name>.
Regards,
Raghu
‎2008 Apr 14 12:31 PM
Does this way allows to display this field multilingual?
If so how is it possible ?
thx
ertas
‎2008 Apr 14 12:34 PM
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
‎2008 Apr 14 12:45 PM
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
‎2008 Apr 14 12:50 PM
Hi,
I am not sure. Just try to login with different lang.
Regards,
Raghu
‎2008 Apr 14 1:04 PM
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