Skip to Content
avatar image
Former Member

form should be print in english as well as arabic

Hi,

my question is i want to go with scripts, printing the script with english as well as arabic language, suppose if the address we are extracting in english in one side of form along with that i have to print the same address in arabic language on the other side of form, so please help me about this and get me the solution as soon as possible.

Thanks,

MSA.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

16 Answers

  • avatar image
    Former Member
    Nov 01, 2009 at 06:09 PM

    Hi MSA,

    As you have not mentioned the configuration and type of system (unicode/non-unicode). There will be two cases for printing Arabic in script.

    CASE 1: Unicode system: If your system is a unicode system , you can create SO10 object and put in the required Arabic character in Unicode (Address) in it and include it in your sapscript by

    /:INCLUDE mytext OBJECT TEXT ID ST where mytext is the standard text name

    CASE 2: Non Unicode system: you need to take care of code page you use before including the SO10 standard text in script.

    first you need to identify the code page you are going to use and then either you can change the code page by SET COUNTRY before call or addition of Language field.

    Like

    /:INCLUDE mytext OBJECT TEXT ID ST LANGUAGE EN Arabic in your case instead of EN.

    Get back in case of any other queries.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2009 at 10:00 AM

    hi

    Check out whether the Address is maintainedin Arabic also ,if so get the fields and use the FONT that u have defined for arabic and print , its only the FONT assignement check.

    surya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2009 at 12:52 PM

    Hi ajay,

    yes i worked with giving ST LANGUAGE as arabic AR but it is not working but with that arabic text i have given numbers so the numbers are displaying but text is not displaying so please help me about this n explain in detail with steps so that it can be easily applicable for me.

    Thanks,

    MSA.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi MSA,

      It clearly seems to be a code page issue. You will be able to see numbers and common English alphabets as this would be available in all the code pages.

      I want some info about the system whether it is Unicode or non Unicode and how are you entering Arabic words in SO10 especially the code page.

      The issue of rendering Arabic words is only due to code page mismatch due to these reasons only Unicode came into existence.

      Cheers

      Ajay

  • avatar image
    Former Member
    Nov 03, 2009 at 04:28 AM

    Hi

    if you create standard texts u will get code page error...a also face same p[roblem for Japanese..

    Do one thing Suppose if u r creating PO We have one FM in driver program me_print_po there we can check based on company code we can execute the form.we have NAST structure we can find there,,,

    second thing sap script form is dependent ..create form for eg Zsap...with this form u can create N no.of layouts...

    For ur req create one in english and one in arabic...and give the correct font for arabic..while creating the from itself give the language..

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 03, 2009 at 04:38 AM

    Hi ajay,

    can you plz tell me about unicode and nonunicode what is that and also i'm entering the arabic words in SO10 by typing the keyboard in arabic text (converting) , so what should i do now and also in some windows i have to print the address in arabic by coding so plz help me and also help me in solving this issue.

    Thanks

    MSA.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Unicode is a global encoding standard which helps in storing, exchanging and sending text data in any language across all information technology protocol..

      How to check whether your system is Unicode or not : Goto to systems->status. You will find a field with Unicode Yes or No.

      And Can you please explain how exactly your are "typing the keyboard in arabic text (converting)". using any software/font/codepage.

      Just ensure that the code page which you are using to type in is used while rendering and printing these Arabic text..

      For a full proof solution SAP highly recommends to use Unicode System.

      Kindly get back with these details this would help me to recommend you the best solution.

      Cheers

      Ajay

  • avatar image
    Former Member
    Nov 04, 2009 at 05:23 AM

    Hi,

    Ajay, i just check in my system that it is a unicode system, and we added the software in arabic lang and i'm typing text in arabic in SO10 but with arabic i added numbers so in the output i'm getting numbers but not arabic text so plz help me and if possible explain in steps dear.

    Thanks

    MSA.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      Absolutely great that your system is a Unicode system. So you can do as following.

      1. Type in the text in Unicode encoding. I am not sure the software which you are using to type in Arabic is supporting Unicode.

      So just to test whether it supports Unicode try copying the Arabic text in notepad/word and check whether those words are copied properly or not. If yes then go ahead keeping them in the SO10 Object.

      If the Arabic text are rendered as boxes or question mark then the problem is with your typing software.

      2. After keeping the text in the SO10. You can print it by normal include command in the script.

      If you are still not able to print them then you need to check the printer configuration with help of SPAD transaction.

      Just ensure the printer character set in Attributes Tab is 4110 and UTF-8 encoding. If not then contact your basis team to change these settings.

      Try it and do let me know.

      Cheers

      Ajay

  • avatar image
    Former Member
    Nov 05, 2009 at 05:25 AM

    Hi,

    Ajay thanks i got it, yeah there was a problem in printer configuration as u said, and i go with arabic printer and now when i'm printing with that it is printing the text. thanks, and ajay i want to know how to extract the data in a address window (the data which is in arabic), yeah i have two address windows, in the left side i have to print the address of a vendor in english and on the right side of a print page i have to print the same address but in arabic language, as the address will be change with different vendors when we give different purchase orders respectively so please help me for this as we solve the text problem, so please help me.

    Thanks,

    MSA.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      In unicode you can combine any set of languages at one place.

      Just see: مرحبا喂 हैलो are 3 different languages ar one place.

      It works..

  • avatar image
    Former Member
    Nov 05, 2009 at 02:47 PM

    Hi,

    ajay i have to print the adress of a vendor in one window with english and in other window at right in arabic so when i give the purchase order no. , the address of vendor should be print at two different sides with 2 different language fine, plz find a solution to me .

    Thanks,

    MSA.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      This one is a very easy task..

      You need to create two pages FIRST and NEXT. First for English and NEXT for Arabic.

      Now design these two pages by putting your required windows and the text you want to print in.

      Make the page attributes to Duplex in attributes as show in the link.

      [Setting Duplex in Sapscript|http://i678.photobucket.com/albums/vv145/avinashkodarapu/Snap1-4.jpg]

      This will print back to back in a single paper.

      I think your major issue is solved, rest stuff you can sail through easily.

      Take Care

      Ajay

  • avatar image
    Former Member
    Nov 08, 2009 at 04:57 AM

    THANKS FOR ALL

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 09, 2009 at 04:43 AM

    Hi,

    ajay, it is solve to some extent thats the text object in arabic we can print, but i want in the same page that one address shoud be in left side and other address should be in right side as the address of a vendor should be change when we change the purchase order, simultaneously the address should be change in english and arabic on their respective sides in the same page. i think u got it n please help me for this.

    Thank You,

    MSA.

    Add comment
    10|10000 characters needed characters exceeded