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

Spaces between words in Smartforms

Former Member
0 Likes
5,745

Could you please tell me how to reduce spaces between words in smartforms? (Specially in arabic language)

1 ACCEPTED SOLUTION
Read only

satyabrata_sahoo3
Contributor
0 Likes
3,836

Use proper character format. It will care the spaces. In some cases the character spacing appears on preview only, upon printing it will come fine.

Could you please tell me how to reduce spaces between words in smartforms? (Specially in arabic language)

9 REPLIES 9
Read only

Former Member
0 Likes
3,836

Create a 'program line' before display

Write ABAP Statement

CONDENSE XXX NO-GAPS.

Where XXX is  a variable.

Read only

FredericGirod
Active Contributor
0 Likes
3,836

Hi,

did you check the Smartstyles transaction you use in your smartform ?

regards

Fred

Read only

arindam_m
Active Contributor
0 Likes
3,836

Hi,

Defining your PARAGRAPH FORMAT suitable to you need can reduce the spaces but a much more dependency is in the Font available in system.

Just as different fonts in English appear different due to the spacing and alignment I think a similar rule applies for all others. You might have to look for diffrent font formats for arabic that can be uploaded in system in SE78 and used.

Cheers,

Arindam

Read only

satyabrata_sahoo3
Contributor
0 Likes
3,837

Use proper character format. It will care the spaces. In some cases the character spacing appears on preview only, upon printing it will come fine.

Read only

0 Likes
3,836

Yeah it appears on preview only, so can i control the spaces in the print preview?

Read only

0 Likes
3,836

can you please explain how to solve it coz am new to this and need to know !

thanks in advance

Read only

0 Likes
3,836

Create Character Formats in SmartStyles and use it in your form.

Read only

former_member206479
Participant
0 Likes
3,836

Hi Ahmed,

Make use of variable(symbol) along with C.

For example

move  'SCN        Discussion          Form' to gv_text.

and while placing the variable in text element make sure your variable like &gv_text(C)&(it compress additional spaces between words and it specifies exactly one space between every word).

Then your out should be like SCN Discussion Form.

Regards,

Venkat.

Read only

Former Member
0 Likes
3,836

Thanks for your help guys