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

Mirrored & reverse arabic text in smartform

mawasey03
Participant
0 Kudos
1,614

Hi

In Smartform i have mixed text (English & Arabic) when i check print preview i see Arabic text reversed & when i print Arabic text is reversed as well as each Arabic word shows as broken letters.

arabic-text.jpeg

I even tried using control param language as 'A' but this is resulting in no output .

Thanks

Wasey

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Kudos
1,266

If your question is about some unexpected space added at random places, it's due to font defined in the Smart Form which is not defined for the printer (SPAD), or font metrics not available in SE73 (SAP wrongly thinks the Smart Form font is not available in the printer and does a workaround to position as best as it can). This was asked in the forum already, and not specific to Arabic.

If your question is about combining English and Arabic, this is also explained in the forum and you can find the limitations and workarounds.

In both cases, I think SAP has published notes. You can search the note numbers in the forum.

Read only

mawasey03
Participant
0 Kudos
1,266

Hi Sandra

there is no problem in SPAD or any font metrics,ther is another smartform similar to this smartform and it is printing Arabic properly.

I tried to add control params & Composer param with below syntaxt as well but still same result.


ls_control_param-langu = 'A'.
ls_composer_param-tdnoprint = ''.


CALL FUNCTION FM_NAME
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = ls_control_param
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = ls_composer_param
USER_SETTINGS = 'X'
W_HDR = WA_HEADER
I_ITEM = I_MSEG

* IMPORTING