on 09-18-2008 5:35 PM
Hi all,
I want to develop 1 sapscript form with the possibility for many languages.
The translation of the texts is based on a value of a databasetable.
for example :
case &db-value&
when 1.
Present 'Number' in the form.
when 2.
Present 'Numero' in the form
.....etc
1.
Does the transactio se63 helps for resolving the problem?if yes how ?
2.
Is the best solution to make objects via so01?
Do i have already the $db-value$ ?
3.
i want to present the following rule:
Contract:$Contract_nr$ Reference: $Reference$
also in different languages?
do i have to use the include statement?
Thanks in advance.
NB: It concerns 1 sapscript.
Hi Bala,
Thanks for your answer.
I.Your solution is the following :
This means that for every text i have to make x
objects via SO01 (where x = number of languages i wish to use).
For EN and FR :
Object 1 :
Name : Z_Invoice_titel
Text-id : ST
Language : EN
Object2 :
Name : Z_Invoice_titel
Text-id : ST
Language : FR
and then include :
/: INCLUDE Z_invoice_titel OBJECT TEXT ID ST LANGUAGE &EKKO-SPRAS&
Correct me if i m wrong.
Disadvantage : Too much text objects
II.The other solution in this case :
1 Object : Z_Invoice_titel
and inside the object programming with the case-endcase (i-endif) on &EKKO-SPRAS& .
In my case i want to make an SD invoice.Is there any customizing possibilty to do this ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
He gustavo .
my requirement is not calling the corresponding
form based om the logon language , but on the
country of the vendor/cutomer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adel,
No need to use CASE and IF ENDIF, just in INCLUDE use the Language of customer or vendor Language
You create Form with 1 language and check radio button Translate to languages give other language which u want the form, and maintain in SO10,
Ex:-
/: INCLUDE &T024E-TXGRU& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS&
where &EKKO-SPRAS& will the your vendor or customer language. so that corresponding text is called.
so what ever value you maintained in OBJECT &T024E-TXGRU& will be get printed according to the language of the customer or vendor.
Regards
Bala Krishna
Edited by: Bala Krishna on Sep 19, 2008 11:07 PM
Nope,he means that you program the sapscript normally for one language, withouth any kind of language control builtin, and then edit it as another language and manually change the labels for that language.
Now, when any client connects to it in one of those two languages, SAP authomatically recognizes the language and uses the corresponding script.
The whole SAP system is based upon localization of languages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bala,
Do you mean that i have to make text objects via so01
and inside the text object something like this :
case &country&.
when 'England'.
Number
when 'France'
Numero
....
and then include the text object in my sapscript ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks bhupal,
But i said i have to develop only 1 form suitable for different languages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
For Scripts:
go to SE63> Translation>ABAP Objects->other long texts-->FS Forms and Styles-->FORM Forms-> give object name, source and target languages--->go edit tab and translate EN text to chineses text.
For Smart form:
go to SE63> Translation>ABAP Objects->other long texts-->FS Forms and Styles-->SSF SAP Smart Form-> give object name, source and target languages--->go edit tab and translate EN text to chineses text.
As per the above paths you give required translate languages, if
you want to two languages like DE, JA etc go SE63 save both languages whatever you want
once logon to JA (japan) its display the japan language etc.
Regards,
Bhupal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.