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

Smartform Spacing issue between Two words

Former Member
0 Likes
1,748

Dear all ,

Have Nice Day!


issue = i am unable to minimize space between two words like shown in image.

Note: i want one space between words , i dont want to con-cat it .


PFA.

Dear all ,

Have Nice Day!


issue = i am unable to minimize space between two words like shown in image.

Note: i want one space between words , i dont want to con-cat it .


PFA.

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,497

First read some documentation on : Smart Forms : Using SAP Smart Forms, Using Fields in the Form, Output Options for Field Contents. e.g. &field(Z)& to remove leading zeroes.


Regards,

Raymond

Read only

0 Likes
1,497

Thanks for your help but my issue is remove extra spaces between two text words .

for example ,

in and Rs.(in    Rs.)

there  is  extra space between these two words on smartform print preview .

i am having HELVE character format .

Read only

0 Likes
1,497

Hi,

Is you variable &vat& is printed as right justified, if not get this value in some char field of the same length and Condense the field.

Data lv_vat type c length 15 . "(Check the length of the data type of VAT Variable)

lv_vat = vat.

condense lv_vat.

Now print VAT@&lv_vat&%.

Hope this helps.

Read only

Former Member
0 Likes
1,497

Hi Deepak,

For percentage : Change field length for per,make it around 6 char,it will solve your problem.

You might have kept it 15 char,that's why its displaying show many blank spaces.

It will definitely resolve your issue.

Regards,

Chandrashekhar Dubey