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: 

PROBLEM IN PRINTING VALUE IN SMARTFORM

rahul_1996
Participant
0 Kudos
808

HI all,

can anyone help me I am facing a problem while printing values in smartform there is extra space coming between values, i debug the issue the value is filling correctly in an internal table .

i also try using condense statement it is not working. i am using concatenate statement to fill the value in smartform.

problem is coming when i have 2 alphanumic numbers.

please help me for reference i am adding screenshot of smartform column.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
741

First insure to add a space after the comma, or even replace the comma with a space.

The problem comes from the "-" symbol of hyphen, and not the comma as you seem to expect, you could try to replace the default value latin '-' (check at include LSTXBCFFH) with another dash character supported by your printer.

(reference: 1681445 - Improved support of Hyphenation in Unicode systems)

6 REPLIES 6

kevinholtkamptc
Explorer
0 Kudos
741

Try adding a SPACE after the commas

0 Kudos
741

hi kevin, actually spc-2022 they are one word , but while printing i am getting space between them. it is printing spc- in one line then 2022 in next line as you can see there is enough space to print 2022 with spc-

raymond_giuseppi
Active Contributor
742

First insure to add a space after the comma, or even replace the comma with a space.

The problem comes from the "-" symbol of hyphen, and not the comma as you seem to expect, you could try to replace the default value latin '-' (check at include LSTXBCFFH) with another dash character supported by your printer.

(reference: 1681445 - Improved support of Hyphenation in Unicode systems)

741

Thanks. Interesting enough, the note indicates where the hyphenation algorithm takes place (subroutine FT_HYPHEN of SAPLSTXBC) and can be debugged.

0 Kudos
741

Thanks Raymond and sandra for the support it help me, problem is coming in hyphen symbol

Sandra_Rossi
Active Contributor
741

It's not space. It's named "word wrap" and "hyphenation algorithm". Hyphen is a character where the split can be done, same as space.