Sapscript: Print different languages

Dear all,
We have the following issue I need your help on:
We have an offer, which has to be printed in Chinese and English. For printing we use the Sapscript forms ...
Here is the current coding for printing (SE71):
- Chinese: Printout is in Chinese and correct
/:         ADDRESS PARAGRAPH T2 LINES 8
/:           ADDRESSNUMBER &VBDKA-ADRNR(K)&
/:           COUNTRY 'CN' LANGUAGE 'C'
/:           LANG_FOR_COUNTRY 'X'
/:           FROMCOUNTRY &VBDKA-SLAND&
/:         ENDADDRESS
- Englisch: Printout of customer address is shown as ##### even we print the output type in English and there is an English language maintained in SD and customer master data
/:         ADDRESS PARAGRAPH T2 LINES 8
/:           ADDRESSNUMBER &VBDKA-ADRNR(K)&
/:           FROMCOUNTRY &VBDKA-SLAND&
/:         ENDADDRESS
The customer master data in VD03 is in English and Chinese as "Internat. Version".
Please can you help us how the coding should look like, so the same output type can be printed in Chinese with Chinese letters and English with Latin letters.
I've read through some other related topics and it seems like the device type is also relevant if the printing of different languages is supported or not!?
Does someone know the correct device type? We currently use the following: PDFUC.
By the way: In our user exit we also have implemented an user exit with the following function ....
* China:
  ELSEIF destination_country_fields-intca = 'CN'.
     IF sender_country_fields-intca = 'CN'.
* China -> China: Version C (if maintained, otherwise version SPACE)
      version_key = 'C'.
     ELSE.
* from elsewhere -> China: International (if maintained)
       version_key = 'I'.
     ENDIF.
--> This user exit shows, that we can't print the English characters since it's always pulls the Chinese ADRNR.
Do you have an idea how we can adapt the program or user exit so we also can print the form in English, even parts goes CN to CN.
Thanks in advance.

Hi Andreas,
you just have to make sure, that the device-type support the character-set. This is located in TA SPAD and there you go to the device-type.
but that is a basis-thing.
Additional to that it necessary to call the form in the correct language in such specific cases.
To solve this issue go to SE63 and translate it to chinese.
Now, if you got a chinese customer, call the form for the chinese output and if you got the english call the EN-Output.
To connect both forms together you can use the START_FORM/ END_FORM functionstones. It is located in the same functiongroup.
OR
An easy try and error thing would be to set the country before printing the address.
/: SET COUNTRY CN
/:         ADDRESS PARAGRAPH T2 LINES 8
/:           ADDRESSNUMBER &VBDKA-ADRNR(K)&
/:           FROMCOUNTRY &VBDKA-SLAND&
/:         ENDADDRESS
SET COUNTRY <Yourpreferredcountry>
This takes affect also at the outputdevice-type to refer to the correct language-settings.
It is just an idea which come during writing my answer. I never faced something like that, but I can imagine, that this could be a also an easy to go solution.
Hope that gives you a solution for your problem.
~Florian

Similar Messages

  • Developing SAPScript in different languages

    How can I develop SAPScripts in a different Language?

    Hi,
    SE63 is mainly for smartforms.
    Do as following
    copy the script in required languages.
    as far as data is concerned you dont need to worry abpout language.
    only thing standard text.
    so
    go to so10 and give the text id(Ilet us say ST)  and text name and language then say create . give the text of particular language.
    If you givr EN then enter english transalation if you enetr DE then give german translation. and save it.
    Now you can include these text in your script at the required placed or you can get this text using the read_text in your progarmm and place different texts in different fields . then you can use these varaiables in your script.
    depend upon the logon language the respective transalationtext will be displayed .
    Reward points if useful
    Regards,
    Nageswar

  • 1 Sapscript in different languages

    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

  • Printing sapscript in different languages

    I have a script created in EN,DE,FR,CS,SK lang. respectively.
    The original language of the form is DE.When I dynamically change the language to EN in the driver (OPEN_FORM) NAST-SPRAS to EN i get the output in English lang.But when i try the same for other languages in which the form exist (SK,FR,CS,RO) .i get the error "Output not issued" Please let me know the solution for the same.

    Hi,
    It Initializes the text elements TEXT-nnn and language-specific text literals 'abcd.....'(nnn) (nnn = Text number) in the language specified in the
    SET LANGUAGE lg statement.
    Texts that have not been translated into the specified language remain unchanged.
    If the text pool does not exist in the required language, all texts remain unchanged.
    The statement only applies to the current program. It does not apply to external subroutines ( PERFORM) or to other programs that are called (SUBMIT).
    Hope this helps you.
    Pankaj Singh.

  • SAPScript in different language

    Hi Everybody,
      Requirement is to prepare a SAPScript Form which prints text in hindi (India's National Language). Could anyone suggest ideas besides of using image for the purpose???
      As such it can be directly implement this using images. But there are problem associated with this approach. Valuable suggestions are requested.
    Regards,
    Deva.

    Thanx Asish. I had previously too put up the similar question but there had been no response from anybody.
      Rather I have tried out something. Can you please guide further in this regard.
      My Concept :-
        1. Load the font to R/3.
        2. Access the font in  Form or Standard Text.
      My Developments :-
        1. Using SE73 I uploaded the font to R/3.
        2. Using Form (Paragraph with hindi font) I tried to print.
      My Results :-
        1. Form prints only in English.
      My Analysis :-
        1. The form had language 'EN'. The environment is not there to run form in 'hindi'.
      My Doubts :-
        1. Can form can pick up font at runtime presentation server. If that can happens then the form will pick up hindi font installed on PC.
      Any suggestions.
    regards,
    Deva.

  • How to support different language and print in non-english language from AS

    I want to print different language that users enter in Oracle 9i AS and print reports in english and other language like spanish.
    How do I configure the AS Server, I am running 9i AS on Windows 2003, I have changed NLS_Lang setting in registry but it doesn't work.
    Please provide setting and if any environmental vairables I have to set in Reports properties files or elsewhere.
    Thank you.

    Did you select the languages on the first screens of the Universal Installer, when installing this instance? If not, you may need to do it again to enable support for that language.

  • Issue in viewing 'Print Preview' of SAPScript output in different languages

    Hi All,
    I have developed a SAP Script.
    It is working correctly in English in all aspects.
    I have created few standard texts for headers in SO10 and maintained in different languages.
    In Print program also while retrieving these text i have used Order's language.
    In debug mode also it is showing texts in different language (Chinese, Japanese, Thai etc...).
    But in print preview it is showing as # every where we suppose to print headers from standard texts.
    How can i view these texts in their original language (Order)!
    Can anybody provide the solution for the same!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    I have selected 'Supplemental language support' boxes.
    But still it is not working.
    Can anybody solve above posted issue!
    In PO it is showing in Japanese/Chinese etc.. characters.
    In SO10 it is showing texts in respective languiages.
    In debug mode of Print program & Layout set text is shown in respective language of text based on country of PO.
    But in print preview it is showing as # everywhere there must text in different language.
    Only in English i am able to view print preview correctly.
    Can anybody provide inputs for resolving this issue!
    Thanks in advance.
    Thanks,
    Deep.

  • INVOICE PRINTING IN DIFFERENT LANGUAGE

    Hello friends,
    We have offices in different countries so every countries generate there invoices in their language.
    Now how to print the invoices depending upon the logon language?
    should i create invoices in smart forms or sapscript which one is better?
    How to maintain the title and all the text of invoice in different languages?
    Thnks,
    Sunny

    Hi Sunny,
    It is pretty simple.
    Create a smartform(it is easy to design & fast to develop) in English Language.
    Then goto transaction SE63 & maintain translations in the required language for your smartform texts.
    Now, when you logon to the target language & print the invoice, it will print in logon language as per the translations you have maintained.
    Best regards,
    Prashant

  • How to print Adobe form in different languages.....

    HI ,
    I made one Adobe print form in EN language. Now the client requirement is that  want to print in Chinese language also or in any other langauge . Please tell me how tio do that. I am looking for a valuable solutions.
    Vishwjeet

    Hi Manoj,
    Does the requirement is to translate text in different language without any modification in the layout or do you need to make modification on layout depending on language ?
    If you only need to translate text, use SMARTOFRMS and SAPSCRIPT text in your form and add a Language parameter in the interface . then in the layout use the text in the language value given by "Language Parameter" . With this way you don't have to connect in each language to activate the form .
    If you need to make modification on layout, you need to conect to SAP in required language and then modify the form .
    Hope this help , if you need i can send you a sample form for the first solution.
    Regards.

  • Re: Printing Picking list in different language

    Hi,
    I have developed Picking List using SAPscript in English and French language, but when i try to print output using LT31 it only prints in English language. Where do i assign different language for picking list. I appreciate your help.
    Thanks.
    Hitesh

    Ravi,
    Is it possblie to print in different language for picking list unlike Order Confirmation / Delivery note if i have logon in English language.
    Thanks.
    Hitesh

  • Update Language for SAPSCRIPT printing

    HI, im having troubles trying to print a new invoice which is created within a new company code in a different language.
    I do not have any troubles printing my invoice in the initial company code/language.
    Are sapscript forms limited by company codes or languages?
    please help.

    Hi,
    In OPEN_FORM, pass the language ID.
    Regards,
    Subramanian

  • I installed Reader (in English) and it prints in a different language

    I installed Reader [01/03/2010,in English] and it prints in a different language/garble.
    I received a hospital appointment email with an attachment confirming my next day's appointment.
    The attachment confirms place and time with a barcode to be scanned upon arrival at the hospital's kiosk.
    So far all is good but, when I print the attachment it looks similar in format but is garbled.
    It does not appear to be a translation to a foreign language but rather a series of random letters and symbols.
    Examples:
    Time:      prints out as; Ujn f ;       Provider:prints out as: Qspwjef s ; Location: prints out as: Mpdbyjo
    09:00AM   "     "   ;    1: ; 11BN      Not only are the letters garbled but they are merged
    I don't know what's wrong or how to fix it. My question is "What I Gotta Do?" HELP!

    It "could" have something to do with improper embedding of the fonts used in the document. Reader is substituting for a different font which as you can see, rarely works.
    One thing you can try is in the print menu find the option to "print as image" and see if that works.
    If it doesn't, there isn't really anything you can do except to contact the folks that made the PDF and request that they embed all fonts.

  • Print PO item text in different language

    Hi,
    We have a global vendor whose communication language is maintained as PL in vendor master while our logon language is EN.  The text therefore is maintained in PL language.  It seems the output program only picks the text in logon language (EN) and so the PL text is ignored.  Current the solution we can find is either ask user to logon with PL language when he needs to print the PO, or manually input EN as communication language when creating a PO.  But I hope to find a better solution.  I tried changing the the message output to be PL but doesn't help.  Any idea? 
    Thanks a lot in advance.
    Susan

    Thanks DEV, to clarify, for this particular PO with PL vendor, only item text in PL language is maintained. It doesn't seem like SD, we can manually choose language and maintain texts in different language (I think I saw some notes saying this - one PO one language of text only).
    Also both from other threads I saw and my test proves via maintaining communication condition record with other language doesn't work.
    However from you second thread, I am curious about this saying :
    If you want to print the PO in different language.
    Then in Message determination IMG settings or NACE.
    You can modify the output type NEU
    here change the language from EN to your relevant language as per SAP.
    If you want the both EN other language then copy the std NEU & create as per your requirement & mention the language in that new out put type.
    rgds
    gsc
    I want to know how to change the language for a output type?  I search the whole output type configuration but I didn't find anywhere to maintain language for a output type.
    Thanks Susan
    PS, so far I feel the first reply from Sharma makes sense, the only thing is not sure if SAP is supporting the idea of making change to routine (comprehension issue)

  • SAPSCRIPT Quantity Symbol printing different values

    Hi,
    I am generating a Printout & Fax at a time for the Purchase Order output, a SYMBOL which is having a conversion value is printing different values in FAX output. Both the Printout and Fax uses the same Print Program but different sapscripts which have same formatting for printing the conversion value (different scripts but copied one and no changes in the script).
    the following symbol is printing different values:
    Print program:
    data: p_value type ekpo-menge,
             umbsz TYPE umbsz.
    umbsz = marm-umrez / marm-umren.
    p_value = umbsz.
    Script
    &p_value(7.0R)&
    This &p_value(7.0R)& gives different values in Printout and Fax and this difference is not for every document, it is for some documents and there are no changes in conversions also.
    My question is: "Is there any problem in using (7.0R) for datatype menge, I mean restrict the no.of characters and decimals at a time for quantity field type".
    Thanks in Advance.
    Ravi

    Hi Ravi,
    Try doing a WRITE - TO in your program. Make the variable p_value type char.
    Another suggestion would be to get the value doing a PERFORM xxxxx IN PROGRAM and retrieve the value from there.
    Regards,
    Ernesto.

  • Printer prints in different language?

    I am trying to print off the website! I am currently printing of a Lexmark Z82. My web browser is Mozilla Firefox. Every time i print, using my lexmark it prints in a foreign language, other than the english. When looking at page preview it shows everything in english. But when printing in prints out in a different language?
    == This happened ==
    Every time Firefox opened
    == When I first installed Firefox

    You're probably seeing this Bug, which hasn't been fixed.
    https://bugzilla.mozilla.org/show_bug.cgi?id=454532
    ''(Please don't comment in that Bug report unless you can provide a patch to fix the problem.)''
    https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

Maybe you are looking for