Skip to Content
0
Former Member
Dec 08, 2008 at 04:17 PM

Mirror Imaging Text (RTL arabic-style languages)

824 Views

Hi,

I have an odd requirement, to be able to display text typed into a purchase order or sales order and display it on the smartform as it's mirror image.

The background is our Arabic smartforms need to display English as well as Arabic. Arabic only is not a problem and works, SAP displays all text in it's correct right to left (RTL) format. English only also work, text is displayed left to right (LTR) but to produce a smartform with both is a problem. We have gotten around it so far by turning off the RTL function in Arabic smartforms and hard-coding the titles in Arabic as mirror images of themselves.

But now, the business wants user to manually type some text into purchase or sales order and this text is to appear on the smartform. This text will be in Arabic and needs to be displayed RTL as a mirror image of itself. So, the business has asked me to write a function module which accepts text strings and converts them into mirror images of themselves.

I have to admit I'm stumped - 8 years of ABAP and I've never been asked to do this before.

Any suggestions?

Gill