Application Development 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: 

issue in script

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.