This website is not affiliated with, sponsored by, or approved by SAP AG.

Printing English & Arabic text in Smartforms

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Printing English & Arabic text in Smartforms

Postby shails81 » Sat Aug 25, 2012 12:26 pm

Hello All,

I am having an issue printing English & Arabic text on same page in a Smartform. The original Language of form is Arabic.

1. With Arabic as Logon Language.... the English text appears right aligned. I tried aligning the English text to left (with Smartstyles) but then the alignment issue is still there with special characters like . , ; etc.

2. With English as Logon Language..... The Arabic text appears reversed.

The system is Unicode and version ECC 6

Kindly help to resolve the issue

Regards
Shailesh
shails81
 
Posts: 14
Joined: Mon Sep 07, 2009 3:11 am

Re: Printing English & Arabic text in Smartforms

Postby Rich » Mon Aug 27, 2012 1:28 am

This should really be in the Smartforms forum, but to answer your question, see OSS Note 999136, specifically point 6:

SAP wrote:6. Laout destroyed when English text is included into an Arabic or Hebrew document
This is a general problem of the OTF layout mirroring. If an RTL document (Arabic or Hebrew) contains parts that are labeled with an LTR language (like English), then layout mirroring and BIDI processing stops as soon as this part is reached. When another include with RTL language is encountered, layout mirroring and BIDI processing are resumed. The result is an incompletely mirrored document.

The only solution is to avoid the mixture of RTL and LTR languages when a document consists of several includes. If parts of the documents are not yet translated but exist only in English or another LTR language, but you want nevertheless to include them into an RTL document, then the only solution is to copy the untranslated parts into an include that has the RTL language as language key and include this one instead.

Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com
Rich
 
Posts: 7112
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool

Re: Printing English & Arabic text in Smartforms

Postby Gothmog » Mon Aug 27, 2012 5:13 am

Rich wrote:This should really be in the Smartforms forum

And now it is. :)
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1942
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 5 guests



cron


This website is not affiliated with, sponsored by, or approved by SAP AG.