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

Language Selection to print scripts

Former Member
0 Likes
687

Hi Friends,

I have a custom dialog program . On the screen I have following parameters .

Print Immediately :

No of Copies :

I want to add a language option to it . The default should be the logon language .

Which table contains the logon language and other languages . So when the users wants to print the form in a diff language he can dropdown and choose any .

Depending on the selection on the screen . I will put a if ..else in the print program and go print the form in that particular language .

Please advice .

Thanks ,

4 REPLIES 4
Read only

Former Member
0 Likes
633

Hi!

Check table T005T for countries and languages.

The default logon language can be read from system variant SY-LANGU.

Regards

Tamá

Read only

Former Member
0 Likes
633

Hi,

You can use the command SET COUNTRY 'US' in scripts

such that it will print the country specific language .

check the table T005T for countries and lang's

Regards,

Anji

Read only

0 Likes
633

I have a different client in which the form needs to be printed .

Read only

0 Likes
633

what about checking all languages which are defined for your form (layout) and displaying just those which can be used for this particular form.

(table stxh, tdobject = FORM, tdid = TXT, tdname = form name)