on 04-23-2009 1:16 PM
Hi!
The smartform is invoked to display from the standard with some language, which we want to change.
We can't change calling code (because it's standard).
Is it possible to change the displaying language of a smartform from within the smartform. Say, "Initialization" section?
Hi
The language to be used is in parameter CONTROL_PARAMETERS, and it can't change it as it's an IMPORT parameter.
Then the language is transfered to the global data %HEADER-LANGU and %LANGUAGES-LANGU1, u can't try to change them.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Concern,
We can change language at run time. With following way.
1. Define a variable and allocate language u want to langu fields.
DATA lV_CT_PARA TYPE SSFCTRLOP.
Here LV_lang contain the language u want to assign.
LV_CT_PARA-LANGU = LV_LANG.
2. Pass it to smart form.
CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = LV_CT_PARA
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
Itu2019s working for me.
Regards
Swati.
Edited by: Swati Namdev on Apr 28, 2010 7:06 PM
Then in the Form Attributes section of Smartform, there is some section called language attributes.
YOu have to translate usng that radio button options.
Later, you can specify the name of the language in the Language attributes.
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.