on 12-17-2010 12:19 PM
Hi,
I have a smartform in EN language , I have selected the radio button for all language on the global settings page
I have also created translations via SE63 to other language , but the user wants the smartform display not in logon language but the vendor language LFA1-SPRAS , Kindly note that SF is triggered from T-code MR91 hence I cannot control the language parameter . Please advice me some solution.
Thanks & Regards
Gaurav Deep
Hi GaravDeep,
You dont have to do much over here. Follow below steps and it should resolve your problem.
The very first step you do over here is idetify the language of the vendor based on the vendor country.
Pass this language to the interface of the smart form and then system should take care of the printing.
you can even overwrite the nast-spras lang once you identify the vendor lang.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi GauravDeep,
I would like you to check following things.
In SPRO can you please check if any standard form & print program is configured?
If you have any standard program configured in SPRO. Please analyze this program to find how standard program is passing print parameters to the FM for smartform or Sapscript.
Incase you dont have any standard program configured let me know where are you configuring this form in SPRO?
Send me the node details.
Thanks
Hi Priya,
what is your question at all? I mean, if you do the messaging there is all included what you need.
If you do not know about that, get to one of your colleagues and he/she should explain the very basic to you.
I mean, if you ask a question, so it should be a question at all, don't it?
Share all things about it, what transaction, what did you try to solve it, do you got a driver-program, did you deliver a smartforms or a sapscript or or or.. Are you able to modify the ABAP-Program. I mean,it isn't that hard to share the details.
Without details there will be no good answer. It's that easy
But nice, that you used the search than just start a new discussion
Regards
Florian
Hi Florian,
Sorry if you did not understand my question. I had mentioned that I have a similar requirement as Gaurav. To print delivery note based on customer language. I have developed a smartform in EN (English) language and yes the smartform has a Z driver program. Now based on the Customer language I need to display the smartform in that language. I have passed the language key to CONTROL_PARAMETERS in driver program to the function module. Yes the smartform I have checked the radiobutton translate to all languages. But while executing it the delivery note is displayed in EN only. I have tried SE63 to translate the texts but that also is not working. How can we translate the texts in SF? Should we manually do it and based on condition display the delivery note?
Regards,
Priya
Hi Priya,
if you got a proper translation it is exact that way you mentioned.
Here is a wiki for the translation:
Smart Form Language Translation - Step by Step procedure - ABAP Development - SCN Wiki
The mistake is definitely in the SE63-translation to search.
Perhaps you forgot to activate the translation or a transport is missing?
Regards
Florian
Hi Florian,
I have tried SE63 for std SAP smartform LE_SHP_DELNOTE to check how the translation works. For LE_SHP_DELNOTE smartform when I put the source from DE to target EN, I can see the translation when clicking on edit before saving itself. But for my Z smartform when I give source EN to target ES and click EDIT, there is no change in the text. The target text still remains in English. So that is problem. I need to check other means for translating my texts. Please do you have any suggestion?
Thanks & Regards,
Priya
There you go, you do not got a translation yet, what you see is the text for the person who translates the form. The translator needs an hint what to translate at what poition in the form. Normally they aren't developers so how should they know
You need someone, which are able to translate your EN-Form now to ES.
If you see the text in front of you, you have to click save and then the system ask you, fi you are done with the translation ( that is what i mean with active before).
so you just have to ask in your company, how your translation process works. In my company we got an own unit just doing the translations, I think there will be one person at least, which feels comfortable with such things in your company too.
You just have to find this one. In developing you made everything correct and if the form is translated finally it will show up.
Regards
Florian
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check in Customizing
Message Control Customizing can be reached via the Reference IMG: from the initial screen of the SAP system, select Tools ® Business Engineer ® Customizing, Implement. projects ® Display SAP Ref. IMG
From the Reference IMG, select Materials Management ® Purchasing ® Messages ® Output Control
(ref Message Control Customizing in Purchasing (MM): Example - Purchase Order)
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aidan Black & Raymond Giuseppi Thankyou so much for your replies .
@Raymond I have requested the Functional guy to look into the config. possibilities to attain this .
@Aiden I have debugged the same by putting breakpoint at the starting of the FM Control_parameter was blank
and then I encountered
{ CALL FUNCTION 'SSFRT_SET_LANGUAGES'
EXPORTING I_CONTROL_PARAMETERS = CONTROL_PARAMETERS
I_MASTERLANGUAGE = 'E'
I_THRULANG = ' '
I_INSTALL_LANG = ' '
IMPORTING O_LANGUAGES = %LANGUAGES.
%HEADER-LANGU = %LANGUAGES-LANGU1. }
and here the %LANGUAGES was E ....
since we have config the form to trigger form standard T code MR91 are you suggesting to find some exit etc to cod enad change the CONTROL_PARATEMER and set it to LFA1-SPRAS
Hi,
When the smartform function module is called, it is the parameter CONTROL_PARAMETERS-LANGU that determines the language of the smartform. This needs to be set somewhere in the customizing of yuor application. I am not familiar with your aplication. perhaps you can debug to check.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.