2022 Dec 29 6:58 AM
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
2022 Dec 29 8:33 AM
2022 Dec 29 8:47 AM
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.