Multiple Language Printing in Smartforms

Hi Friends ,
System is Unicode enabled , i have created a standard text ( through Tcode - SO10 ) in CHINESE ( logon language - EN only ). When i call it in my Smartforms it is displaying like boxes ( garbage ) and if i call same in sapscript then it is displaying properly in chinese language.
System have only English and German Language installed.
Can anyone help me in this.
Thanks in advance.
Edited by: vijayk.27 on Mar 29, 2011 12:07 PM

Hi,
Please Follow the Link , will help you.
Smart Forms in Other Language
Regards,
Prakash K

Similar Messages

  • Multiple Language Printing

    I want to know whether is it possible to print a Document in multiple languages. For example: French, German or any other language.For ur Note i am Using SAP B1 2005B.
    Regards
    Edited by: Rui Pereira on Aug 6, 2008 4:21 PM

    Hi Suda,
    Thanx.
              Do v have to add new fonts like Spanish,German ....etc in order to print the document in different languages ?
    Edited by: Rui Pereira on Jul 8, 2008 3:47 PM

  • How to handle the multiple language in SAP Smartform

    Hi all!
    I need to handle both English and French language for a form in smartform, that form was already maintained in English(EN) language, I need to copy of that form and it should be maintained in two languages(English and French). Anybody can guide me how to do this.
    Thanks in advance,
    palani.

    Hello,
    Use transaction SE63, after activate your smartform, to translate.
    Regards
    Frédéric

  • How to print hard-coded data in multiple language in sapscript.

    Hi All,
    How to print hard-coded data in multiple language in sap-script, here the requirement is when printing the output
    we can see the window heading, description which are mostly hard-coded here I want to print these in both language as fallows,
    Goods to be delivered: = Morada de Entrega:
    Total net value excl. tax = Valor Total (IVA não Incluído)
    Description = Descrição
    Item = linha
    here I want to print in both languages like----       Goods to be delivered:/ Morada de Entrega:
    and the above headings in English are hard-coded.
    Kindly suggest me on this.
    Thanks in advance.
    Arun.

    Hi Arun,
    Use Standard text ade those text elements. Then use those in SAP script using different languages.
    Regards,
    Amitava

  • How can i print text contain multiple language

    hi all,
    i have swing application with JTextPane contains multiple data (kannada and English)
    i used to the follwoing code to print contatent of jtextPane and in this code i seted
    font Kedage(for kannada)
    if did not set to kannada font the kannada test is printing squre box
    if i set english font than kannada the english font is squre box,
    here how can i identify the the character is kannada and english
    help me to solve this problem or suggest me any other way to print multiple language
    text in JTextPane.
         public void printMeetingDetails(String meetingDate){
                   PrintJob pjob = getToolkit().getPrintJob(new JFrame(), "Meeting Details", new Properties());
                    if (pjob != null) {
                      Graphics pg = pjob.getGraphics();
                      if (pg != null) {
                        String s1 = taMeetingDetails.getText();
                        s1 = s1 + "\n Resolution :";
                        //String s2 = "\n This is the second paragraph for printing after the sample java code.";
                        String s2 = "\t"+taResolution.getText();
                        printLongString (pjob, pg, s1,s2);
                        pg.dispose();
                      pjob.end();
              private int margin = 72;
                // Print string to graphics via printjob
                // Does not deal with word wrap or tabs
                private void printLongString (PrintJob pjob, Graphics pg, String strEng,String strKan) {
                  int pageNum = 1;
                  int linesForThisPage = 0;
                  int linesForThisJob = 0;
                  // Note: String is immutable so won't change while printing.
                  if (!(pg instanceof PrintGraphics)) {
                    throw new IllegalArgumentException ("Graphics context not PrintGraphics");
                  StringReader srEng = new StringReader (strEng);
                  StringReader srKan = new StringReader (strKan);
                  LineNumberReader lnrEng = new LineNumberReader (srEng);
                  LineNumberReader lnrKan = new LineNumberReader (srKan);
                  String nextLine;
                  int pageHeight = pjob.getPageDimension().height - margin;
                // Font helv = new Font("Kedage", Font.PLAIN, 12);
                  Font helv = new Font("Kedage", Font.PLAIN, 12);
                  //have to set the font to get any output
                  pg.setFont (helv);
                  FontMetrics fm = pg.getFontMetrics(helv);
                  int fontHeight = fm.getHeight();
                  int fontDescent = fm.getDescent();
                  int curHeight = margin;
                  try {
                    do {
                      nextLine = lnrEng.readLine();
                      if (nextLine != null) {        
                        if ((curHeight + fontHeight) > pageHeight) {
                          // New Page
                          System.out.println ("" + linesForThisPage + " lines printed for page " + pageNum);
                          if (linesForThisPage == 0) {
                             System.out.println ("Font is too big for pages of this size; aborting...");
                             break;
                          pageNum++;
                          linesForThisPage = 0;
                          pg.dispose();
                          pg = pjob.getGraphics();
                          if (pg != null) {
                            pg.setFont (helv);
                          curHeight = 0;
                        curHeight += fontHeight;
                        if (pg != null) {
                          pg.drawString (nextLine, margin, curHeight - fontDescent);
                          linesForThisPage++;
                          linesForThisJob++;
                        } else {
                          System.out.println ("pg null");
                    } while (nextLine != null);
                    Font fMyFont = new Font("Kedage", Font.PLAIN, 12); //for kannada
                    //have to set the font to get any output
                    pg.setFont (fMyFont);
                    fm = pg.getFontMetrics(fMyFont);
                    fontHeight = fm.getHeight();
                    fontDescent = fm.getDescent();
                    curHeight += fontHeight;
                    do {
                      nextLine = lnrKan.readLine();
                      if (nextLine != null) {        
                        if ((curHeight + fontHeight) > pageHeight) {
                          // New Page
                          System.out.println ("" + linesForThisPage + " lines printed for page " + pageNum);
                          if (linesForThisPage == 0) {
                             System.out.println ("Font is too big for pages of this size; aborting...");
                             break;
                          pageNum++;
                          linesForThisPage = 0;
                          pg.dispose();
                          pg = pjob.getGraphics();
                          if (pg != null) {
                            pg.setFont (fMyFont);
                          curHeight = 0;
                        curHeight += fontHeight;
                        if (pg != null) {
                          pg.drawString (nextLine, margin, curHeight - fontDescent);
                          linesForThisPage++;
                          linesForThisJob++;
                        } else {
                          System.out.println ("pg null");
                    } while (nextLine != null);
                  } catch (EOFException eof) {
                    // Fine, ignore
                  } catch (Throwable t) { // Anything else
                    t.printStackTrace();
                }thanks
    daya

    hi all,
    i have swing application with JTextPane contains multiple data (kannada and English)
    i used to the follwoing code to print contatent of jtextPane and in this code i seted
    font Kedage(for kannada)
    if did not set kannada font then kannada text is not printing porperly(printg squre box)
    if i set kannada font then english font is squre box,
    here how can i identify the the character is kannada and english characater
    help me to solve this problem or suggest me any other way to print content of jtextpane which is in multiple language text.
    public void printMeetingDetails(String meetingDate){
                   PrintJob pjob = getToolkit().getPrintJob(new JFrame(), "Meeting Details", new Properties());
                    if (pjob != null) {
                      Graphics pg = pjob.getGraphics();
                      if (pg != null) {
                        String s1 = taMeetingDetails.getText();
                        s1 = s1 + "\n Resolution :";
                        //String s2 = "\n This is the second paragraph for printing after the sample java code.";
                        String s2 = "\t"+taResolution.getText();
                        printLongString (pjob, pg, s1,s2);
                        pg.dispose();
                      pjob.end();
              private int margin = 72;
                // Print string to graphics via printjob
                // Does not deal with word wrap or tabs
                private void printLongString (PrintJob pjob, Graphics pg, String strEng,String strKan) {
                  int pageNum = 1;
                  int linesForThisPage = 0;
                  int linesForThisJob = 0;
                  // Note: String is immutable so won't change while printing.
                  if (!(pg instanceof PrintGraphics)) {
                    throw new IllegalArgumentException ("Graphics context not PrintGraphics");
                  StringReader srEng = new StringReader (strEng);
                  StringReader srKan = new StringReader (strKan);
                  LineNumberReader lnrEng = new LineNumberReader (srEng);
                  LineNumberReader lnrKan = new LineNumberReader (srKan);
                  String nextLine;
                  int pageHeight = pjob.getPageDimension().height - margin;
                // Font helv = new Font("Kedage", Font.PLAIN, 12);
                  Font helv = new Font("Kedage", Font.PLAIN, 12);
                  //have to set the font to get any output
                  pg.setFont (helv);
                  FontMetrics fm = pg.getFontMetrics(helv);
                  int fontHeight = fm.getHeight();
                  int fontDescent = fm.getDescent();
                  int curHeight = margin;
                  try {
                    do {
                      nextLine = lnrEng.readLine();
                      if (nextLine != null) {        
                        if ((curHeight + fontHeight) > pageHeight) {
                          // New Page
                          System.out.println ("" + linesForThisPage + " lines printed for page " + pageNum);
                          if (linesForThisPage == 0) {
                             System.out.println ("Font is too big for pages of this size; aborting...");
                             break;
                          pageNum++;
                          linesForThisPage = 0;
                          pg.dispose();
                          pg = pjob.getGraphics();
                          if (pg != null) {
                            pg.setFont (helv);
                          curHeight = 0;
                        curHeight += fontHeight;
                        if (pg != null) {
                          pg.drawString (nextLine, margin, curHeight - fontDescent);
                          linesForThisPage++;
                          linesForThisJob++;
                        } else {
                          System.out.println ("pg null");
                    } while (nextLine != null);thanks
    daya

  • How to print multiple form for tag printing in smartforms

    Dear Experts,
    I am working on tag printing in smartforms .in tag printing i am showing
    1.material no.
    2.material descrption.
    3.material doc no.
    4.Quantity
    5.supplier.
    my requirement is that for example , if the mat. document no.  has a material of 10,000.00 quantity , in tag printing it should come 1,000.00 of each tag  and total no of tag should be 10. and it should come one after another .
    and the page format size 8 x 6 cm. is it possible .if possible how ! how the system will know how many tag is to be printed . please reply its urgent.

    Hi Kumar,
    Let me know. is the quantity 1000.00 is fixed? if so thn you can achieve the requirement.
    For example:
    There are  A-material with 20000.00 quantity thn  u can first divide the quantity with 1000.00
                 v_ex = 20000.00/1000.00=20.
    thn  you can repeat the  print of the smartform for 20 times by passing  the parameter to  form fm.
    Please reward if  useful.

  • Smartform in multiple language

    Hi ,
    I have a smartform for purchase order which is in English Language,and i want this smartform in 10 different languages with some modification,how to do that.
    Points will be rewarded.
    Thanks

    Hi,
    One way of doing it is as given below.
    1)In the driver program, the function module which triggers the smart form has a control parameter.
    We need to pass the target language to this structure.
    2)Replicate all the paragraph formats and charecter formats in the smart style changing the font which supports the other languages.
    3)Replicate all text elements (for each language) in the smartform and use condition based on language to determine which text element would be called.
    while replicating the text elements, make use of the paragraph format created for that language.
    Let me know if it helps.
    Regards,
    Nitya.

  • FM SSF_CLOSE failing and giving error message while printing a smartform

    Hi,
    for language spanish the smartform is not getting printed for output type SG11 but for english it is getting printed? What could be the reason? I debugged and found that SSF_CLOSE is failing and giving error message.
    Thanks and regards,
    AP.

    Hi Aparajita,
    for changing from one languages to another translations in SE63 is to be done, either search on SCN for using SE63 , or atleast see these wiki help .
    Transaction SE63 - Translation Tools for Translators (BC-DOC-TTL) - SAP Library
    Transaction SE63 (SAP Library - Translation Tools for Translators (BC-DOC-TTL))

  • Best practice in working with Adobe forms in multiple languages

    We have to provide access to some Adobe Interactive Forms in both English and French, some of them from Web Dynpro application(s), some of them as callable objects from Guided Procedures.
    1- We know for sure that we can have two copies of each form, one in English and one in French but that implies duplicating the FormCalc and Javascript code behind. 
    2- Another way if to modify in javascript all labels, captions using some javascript i.e. If lang = "E" then "My label" else "Mon étiquette" . It would work but it is not very efficient.
    Is someone here has experience with this type of situation and would be willing to share his experience with me?
    Thanks in advance,

    Hi Benoit,
    For Adobe Forms in multiple language you can use include text solution also . Within this solution you need to add a language parameter in your interface and then retrieve the include text in the language value ( not current language ) . Personnaly i used a lot this solution with Smartforms text .
    Also i used dictionnary text for text linked with data dictionnary element . For this there is standard function module in SAP .
    Anothers way is in the SFP editor you can translate your form as in SAPSCRIPT .
    Hope this help you
    Regard.
    PS : if necessary i can send you a sample form with smartform/Dictionnary text solution.

  • Multiple Languages in one Form

    Hello,
    I have a requirement to replace a preprinted form and create a form in SAP that contains  texts in multiple languages. e.g. Russian, Greek, Bulgarian, German, English etc.
    The  form also contains single lines of text with multiple Languages.
    Does anybody know how to achieve this?
    We are on ERP 6.0.
    Greetings,
    Thomas

    if your using the smartforms : 
    you can use multiple include texts
    if it is EN
    Text Name         &GV_DEL_NUM&
    Text Object       VBBK
    Text ID           ZSO6
    Language            EN  pass here
      if it is DE
    Text Name         &GV_DEL_NUM&
    Text Object       VBBK
    Text ID           ZSO6
    Language      DE pass here
    like create multiple texts.
    if it is SCRIPT
    use read_text  multiple times and based on language
    finally  CONCATENATE texts into single line......

  • Displaying English and ARABIC language on a smartform?

    Hi All,
    Hi Folks, I have an issue printing two different languages on a smartform; I should print English and One more language of ARABIC style (RIGHT TO LEFT). In Debugging mode i could see the Arabic Text exactly in the format which i have entered but when i print it takes the other way.
    For Ex: ABCD - (Fyi - this is of Arabic Language dialect)
    o/p: ( i m getting) DCBA
    i tried with Text Include n Text Element during debugging i could see the data as DCBA but when i print the system (MS Tools - Word) are recognising the Language is of Arabic and its automatically changing the cursor position to the end ((**I found this in XML Format of Smartform)). so the form is printing from the new cursor position i.e A; and its displaying the output as ABCD.
    Note: I have no problem with List, Screen Etc. except "Form".
    Please Advice me. Thanks in Advance.

    Shekher,
    Check the printer device type you are using.
    For printing the Arabic output you need the printer defined using ZARSWIN device type. Ask the Basis consultant to do the same.
    Regards..

  • Reports Output in MULTIPLE Languages..

    Hello -
    We have a customer with operating locations in China, Japan and USA. They are OK with using the application (Forms, Java etc) in English. But they have few Customer facing reports (Invoices, Statements etc.) that need to be printed in the local language (Both DATA and Labels).
    So it is NOT just labels but also the data (right, even the item descriptions, styles, color) etc needed to be printed in Local Language.
    I know one way we do this is by storing the data in multiple languages (Items Descriptions, Colors, Styles) in a table. But I am wondering if there is ANY Dynamic conversion utility that can be used at the report run time that can convert ENGLISH to local languages before printing.
    Any suggestions?>
    Thank YOU
    Bala

    Hi Norman,
    We have Siebel 8.0.0.8 implemented in ENU and FRA. I have an XLIFF for each language. However , when I run the report from the French application, the report generated has all the labels show up correctly in French. However, the LOV values still show up in English. If I set the Language Code parameter in the XMLP Report Server component to FRA, then the French LOV values show up in English and French reports.
    How do I get the correct LOVs to show up on the correct language reports. Any ideas ?
    Thanks
    Subbu

  • How to display Smart form in Multiple Languages ?

    Hello,
    Very Good evening!
    How can I print the Smart Form in Multiple Languages like Korea, German and Japneese....
    I got a requirement where I need to display the developed Smart form in these languages. As of now it is displayed only in the Language ENGLISH.
    Any Suggestions will be appreciated!
    Regards,
    Kittu

    Hello kittu....
    I would recommend that you create a single Smart Form in the primary supported language (or the one which you're most comfortable maintaining forms). Embed all necessary logic in this form, and design it with the idea that it would need to be viewable in multiple languages .
    Then use transaction SE63 to translate all necessary form components into each desired language -- one by one -- and they will all be bound together under the same form name. In my experience, a basic multi-column spreadsheet (put together with the guidance of professional translators) works well as a translation guide.
    The advantages of a single, shared form include: consistent look and feel, avoiding dual maintenance for shared logic (or, in your case, up to 10x maintenance), and simplified output determination. On the other hand, a single form does constrain your design and can make for a more complex implementation.
    Hope this is useful
    Best of luck,
    Bhumika

  • Decimal Printing in Smartforms

    Hi,
    I have a Qty field LBBIL_IT_GEN-FKIMG in the Invoice Layout.In the dictionary it has 3 decimals but in printing i want only 1 decimal.
    I tried Using &GS_IT_GEN-FKIMG(.1)& which referrs to LBBIL_IT_GEN-FKIMG.But is giving as wrong formating option.
    I have to get the Sales Unit in Multiple Languages Eg (EN = ST ,FI = KPL).But in the Layout it is always printing as ST even if i have logged on In finish.In the Table T006A the Unit is also in Both English And Finish.
    Thanks

    Hi
           Please check the type of that field once. I take the variable type FKIMG and tested it, its working.
           Oherwise move that &GS_IT_GEN-FKIMG& value into a variable V_FKIMG and use
           &V_FKIMG(.1)&. Try this once. It will work.
    Thanks
    Sriiiiiii(Srikanth)

  • Multiple language correspondence with customer

    Ability to generate letters in multiple languages to inhance the communication between customer and the business. guide me how can we print letters in different languages.
    Thanks
    NIk

    Hi Michael,
    I should have told you that we are implementing SAP ESS/MSS business packages, so I guess there is no need to hardcode language content. I think I kind of understood your solution, but I am still trying to comprehend it fully. Please let me know if this could work.
    Let's say the WebLogic portal launches  the German quicklink - (/irj/portal/german). So this would try to open the portal in the default language which could be English. Let us say we have a hidden iView on the home page of SAP portal that sets the user's language to German. Would this display the SAP Portal in German language immediately as they are single-signed on from WebLogic. Or would it display in German only when the user clicks some other navigational menu after being logged on to SAP portal. If the problem is that the portal displays in the required language only for the subsequent clicks (i.e. after they log on), then maybe we can create a portal desktop to display home page in the correct language based on the portal URL alias using quicklink. Please let me know if this makes sense.

Maybe you are looking for