cancel
Showing results for 
Search instead for 
Did you mean: 

"Expand to fit" Text field overwrites everything below it

Former Member
0 Kudos

Hi Guys,

I have a PDF "template" I added through the "Import" functionality.

Basically, I have Text field values (that I get from BAPI calls) with Captions. Now, I do not know what the length of some of these fields will be so I need to set the "Expand to fit" width property of these fields to cater for this. The problem is that if a field displaying this data is above another one, it overwrites this bottom field. It does not "move" the content below this expanding field lower on the form. The result is a "mashed" form.

Please advise.

Christiaan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey Christiaan,

One way that I got around this is to place the field inside their own subform. Of course, you have to place the fields before and after that one into their own subform. Make sure that the subform you have your field that you want to expand to fit is set to flowed.

Hope this helps...

Cheers,

Kevin

Answers (1)

Answers (1)

sankar_narayana
Active Participant
0 Kudos

I agree with kewin comments, one thing you need to know while creating the field was you need to know the exact maximum length that field will take. You need to test it by giving static values and look after PDFPreview. Make adjustments accordingly.