Skip to Content
avatar image
Former Member

Smartform Spacing issue between Two words

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 03, 2015 at 07:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • avatar image
    Former Member
    Nov 03, 2015 at 08:19 AM

    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

    Add comment
    10|10000 characters needed characters exceeded