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 Dynamic template size

AJeB
Participant
0 Kudos
452

Is it possible to dynamically change the size row/cell of a template? is there a function module for that or structure like dynamically changing the window using field symbols?

i want to dynamically change this in my Global Definitions -> Initialization

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos
352

No. Smart Form is a very old technology.

abo
Active Contributor
0 Kudos
352

Hmmm, the whole point of a template is to have a predetermined fixed layout so I'm skeptical that it can be done.

Are you really sure that this template can't be a normal table?

Having said that, I would create a template with fairly recognizable numbers (123.45 and so on) then check in the generated function module if those numbers appear (bad luck, you can't change them for sure) or if they're stored elsewhere and read back at runtime (my guess). In this latter case, I would try to change the stored definition depending on the data at hand... oh and also remember to use locks to prevent others from printing, because your new layout will only match your data now.