cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform issue with Template

Former Member
0 Kudos

Hi All,

I have a filed 'Name' in a Template.

The field 'Name' is retrieved from a table and its length is 40 char.

But in the final output, thid field is getting displayed only 35 char.

In Debugging mode, it displayes completely.

I can not enlarge the size in Template, as there are some more fields.

Customer is expecting that the field 'Name' should display remainging (5 char) in the second line, if the page doesn;t fit the total (40 char) length....

How to do it..?????

Is there any option to be set, so that the field should continue displaying in the next line, if the length exceeds its display limit..?????

Please Help me ...

Regards

Pavan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

u can't achive this without increasing the size of the template...

the alternative way is to print this out side the template... then.. it will print as u want.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I dont know whether you read my message for your qtn. in Abap general.

in the template define like this:

Name From To Height Unit 1 Unit 2 Unit

LINE1 1 1 0.05 cm 1.60cm 2.5 cm

LINE2 2 2 0.05 cm 1.60cm 2.5cm

Now for the text elements:

first txt element as &text1+0(35)& Output-options: Line 1, Column 1

Second txt element as &text1+35& Ouput-options: Line 2, Column 1.

Regards

Subramanian

marius_greeff
Active Participant
0 Kudos

Hi,

I have tried the same in a template and my text printed onto the next lines. Found that the template needed to be a bit bigger that what I thought to print the next line. If space is not a problem you can even use a table and exclude the data loop. In 4.6c you can use a complex section and set it to be a table. Then define your table with single column.

Regards,

Marius