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

issue in script

Former Member
0 Likes
533

hi friends,

i have one doubt - i have a script and it has both EN and HU versions.

i have created few texts for both Hu and En laguages.

i should use them based on the selection-screen parameter p_langu while printing.

so in the script, do i need to write the code as:

include ....language HU for Hungary in HU version script and ........EN for EN script

OR

should code it as

if P_langu eq HU...

then include ....language 'HU' and

in the same way...include ....language EN when P_LANGU eq 'EN'

Please help me..

Thanks

Praveen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

Hi,

You can do it both ways.

In second case, you would have to assign the language to P_Langu in the print program according to the sy-langu

Regards,

Suruchi

3 REPLIES 3
Read only

Former Member
0 Likes
511

Hi,

You can do it both ways.

In second case, you would have to assign the language to P_Langu in the print program according to the sy-langu

Regards,

Suruchi

Read only

0 Likes
510

Thanks Suruchi for ur quick response...

now a small question..

if i need to include three standard texts on a same line,

then how should i do the coding...

Thanks

Praveen

Read only

Former Member
0 Likes
510

hi,

u can try this one....

pass the parameter, it holds the language value which was entered on

selection-screen to the parameter LANGUAGE of OPEN-FORM function module.

regards,

Ashokreddy.