Application Development 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: 

Smartform Spacing issue between Two words

Former Member
0 Kudos

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

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

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 .

0 Kudos

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.

Former Member
0 Kudos

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