‎2009 Sep 17 10:45 AM
Hi All,
I am working with smartform.
My requirement is, when user logins with Japan language.
then all the data ( text template and variable data ) should be in Japan .
By using SE63 ,i can translate only text data. How about the variable data in smartform?
Please suggest any solution.
Regards,
Kishan
‎2009 Sep 17 10:54 AM
Hope you are passing the variable from print program. If not then do the same. and in the print program do the below thing.
wf_spras = sy-langu.
CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTP
EXPORTING
input = wf_spras
IMPORTING
output = wf_language.
SET LANGUAGE wf_language.
wa_control_parameters-langu = wf_spras.PS : wa_control_parameter , you pass through control_parameters, in to the SMARTFORM calling FM .
Make sure that the data, which u fill into the variable you are talking about in maintained in the log on language also.
‎2009 Sep 17 11:08 AM
Hi Prasanna,
Thanks for your reply.
Hope you have't got my quesion?
In samrtform we will have fixed text and varibale data ( the data from sap ).
by using SE63 we can translate the fixed text. My problem is with varible data. This data will same as it is in sap database.
how we can translate the varile data to required lang.
REgards,
Kishan
‎2009 Sep 17 11:16 AM
Hi,
The answer from Prasanna is correct.
You can send the language in CONTROL_PARAMETERS or use a SET LANGUAGE in the form.
If the data is also maintained in the corresponding language it will fetch the data in that language only.
Please make your MDM people to maintain the data in required languages.
‎2009 Sep 17 11:31 AM
Yes... Setting control parameters language attributes, as stated my previous post, and by Bhupals post, will solve you purpose.
Please Get back in case of further doubt.
‎2009 Oct 15 10:19 AM