cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForms Language

david_escofettrenado
Participant
0 Kudos

Hi,

We have three languages installed in SAP. Spanish, English and German. If an user executes the SmartForms standard in other language (for example Italian) it should be printed by default in English.

How we can set as default English language without modify program control?

Accepted Solutions (0)

Answers (5)

Answers (5)

david_escofettrenado
Participant
0 Kudos

I have solve this modifying control program that launches the Smartforms.

Thanks

Former Member
0 Kudos

Hi,

Set English as the default (original) language in form attributes.

If you want the smartform to be printed in you other languages, mark the into selected language button and choose the languages you need.

Regards

Åsa Thenstedt

Former Member
0 Kudos

Hi,

In the smartforms insert program lines in the starting window.

Write the lines below.

IF CONTROL_PARAMETERS-LANGU = 'ES' OR

CONTROL_PARAMETERS-LANGU = 'EN'

CONTROL_PARAMETERS-LANGU = 'DE' .

LV_LANGU = CONTROL_PARAMETERS-LANGU .

ELSE.

LV_LANGU = 'EN'.

ENDIF.

Then use the &LV_LANGU& as the language for all the standard texts inside in the smartform.

LV_LANGU is to be declared in the global definitions.

Regards,

Ram

Edited by: Ramakrishna Peri on Jan 6, 2009 11:47 AM

Former Member
0 Kudos

CONTROL_PARAMETERS-LANGU ?

ZF--> M?

EN--> E?

amit_khare
Active Contributor
0 Kudos

In form attributes, select Language as EN and check DO NOT TRANSLATE.

But any data which is coming from print program will not be translated..

If this doesnt work as required then you have to maintained SY-SUBRC = 'EN' as hard coded value in all language dependent texts.

Former Member
0 Kudos

In which language ur smartform is created?