Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Arabic Text in SAP Script

former_member227810
Participant
0 Likes
3,770

Hi Experts,

I am having an issue in printing Arabic text, While printing check receipt, Arabic text is not printing its displaying as mirror(RTL) in print preview

Eg: company code description or cash journal description need to be displayed in arabic,

I have tried SAP notes it says but this sap notes says it cannot be implemented

0822634 RTL SAPScript/Smartforms printing with embedded LTR texts

1258722 LTR Includes in RTL SAPScript/Smartforms documents

Fact : Login Lang - English , Script language English

Please provide some input,

Thanks,

Ahmed.

15 REPLIES 15
Read only

Former Member
0 Likes
2,771

hi sadeq,

is it able to print in normal programs like ms word?

Read only

0 Likes
2,771

Hi Abdul,

Yes we can able to print,

Thanks,

Ahmed

Read only

raphael_almeida
Active Contributor
0 Likes
2,771

Hi Sadeq!

I have questions for you:

Your system is unicode? (Necessary);

Do you use Arabic language key on login? (sy-langu = AR).

Do you use standard LOCL printer?

BR,

Read only

0 Likes
2,771

Hi Raphael,

Yes its a Unicode system,

Login language is only English,

Yes LOCL printer,

Script Form is in English and for just 2 or 3 Arabic fields we don't want the form to be built in Arabic language

Please provide some input if possible,

Thanks,

Ahmed

Read only

0 Likes
2,771

Hello

Can you see if following SAP notes are helpful

Note 1108855 - Mixing non Latin 1 and ASCII (English) content

Note 1280236 - RTL languages not known to the SAP system: Only the languages Hebrew (HE), Arabic (AR)

Regards

sandy

Read only

0 Likes
2,771

Hi sadeq !

Interestingly, I see the community's assistance as the Arabic language in SmartForm, interesting to have only two fields (At least for me ). So I would advise you to take a look at SPAD and find what type of device it is assigned (Probably should be the type "SAPWIN / SWIN"). Worth a test by changing it to the value "SWINCF". Can you do that?


BR

Read only

0 Likes
2,771

Thanks Raphael,

I have change the device type in SPAD and issue is SOLVED as i created SAP SCRIPT in AR Language.

Thanks

Read only

0 Likes
2,771

Hi Sadeq!

I'm glad to have helped.


BR,

Read only

0 Likes
2,771

Hello Sadeq,

I am also facing issue to print material text in Arabic in Smartforms.
.We have a requirement to print material text in English and Arabic both. I have maintained text in Material master in both languages, but now I don't know how to proceed further. can you help me in this matter.

What are primary requirements in our SAP server or in my PC. do we need to install Arabic font in both of these ?

Regards,

Archana

Read only

0 Likes
2,771

Hi Archana,

Whats the issue you are facing,

is it at printing level or display level,

What exactly issue you are facing.

Thanks,

Sadeq

Read only

0 Likes
2,771

Coupled with that,  checkout Cascading Fonts in Smartformss

Rich

Read only

0 Likes
2,771

I am facing issue to print material text in Arabic in Smartforms. We have a requirement to print material text in English and Arabic both. I have maintained text in Material master in both languages, but now I don't know how to proceed further. can anyone help me in this matter ? My SAP Logon Language is EN and smartform created in language EN. What are primary requirements in our SAP server or in my PC. do we need to install Arabic font in both of these ? when I am printing this material description with language = AR in Smartform it is showing fonts in ENGLISH. How can I convert it in Arabic fonts ? Regards, Archana

Read only

0 Likes
2,771

Hi,

Firstly,  you can find the language for the smartform in IS_NAST-SPRAS.  You then use this to lookup the material description in MAKT.  You should not need to install arabic on your server or your local pc.

Have a look at Unicode Printing Solutions for SAP - ABAP Development - SCN Wiki  with respect to Cascading fonts.

Regards

Rich

Read only

manukapur
Active Participant
0 Likes
2,771

For a smartform, you have to do the translations using SE63. Enable Arabic language for Smartform.

For a script, you need to open the script in AR language and key in the Arabic text.


The issue we had was Arabic prints right to left, but arabic fonts solved the problem.

Regards,

Manu

Read only

Former Member
0 Likes
2,771

Hi,

You'll find that in Smartforms when you tell the Smartforms that it is to print in any RTL language not only does the font change and also become right justified but also any columns in tables are transposed so:

COL ACOL BCOL C
1AX
2BY

becomes

COL CCOL BCOL A
XA1
YB2

automagically which I thought was quite smart.

Rich