Skip to Content
0

How to display text from right in custom container?

Mar 14, 2017 at 06:18 AM

202

avatar image

Hello all,

How to display text from right (arabic) in custom container?

Is there any function module or method?

If possible sample code also.

Thanks in advance.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Richard Harper Mar 20, 2017 at 08:14 AM
0

If you use a text edit control I'm pretty certain you can right align the text. Make the control read only and there you are.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

I think the question is more about https://en.wikipedia.org/wiki/Bi-directional_text and i'm not sure whether the text edit control supports that directly. I found

https://wiki.scn.sap.com/wiki/display/ABAP/Bi-directional+texts+-+Left+To+Right+and+Right+To+Left

1

Just out of interest, this works automagically in sapscript - even to the point of swapping table columns around (Whcih amazed me.....).

As a thought though, any arabic text being displayed would have been translated elsewhere, so the actual characters would be in the right order - ie right to left so would not just right justifying the text achieve what the OP wants ? However, if they are trying to produce a screen completely in Arabic, this would not be a reasonable way to go.

Rich

1

Thanks a lot I hope it will resolve my issue.

@ Richard Harper

Thanks for your valuable suggestion .It may help in future.

@Horst Keller

0