06-21-2016 10:57 AM
Dear Experts,
I have a requirement , where I have to print A table content with Dynamic Column Name, so is there any possibility through which i can create dynamic column in table in SMART FORM
Please suggest me..
Thanks in advance.
06-21-2016 12:40 PM
Hi,
Since a Smartform is a function module, you can create all sorts of dynamic things using RTTS.
I would also suggest rather than passing the table to the smartform, I would pass a memory reference. In that way you avoid the problem of typing in the function call.
Rich
06-28-2016 6:07 AM
Hi,
how to use RTTS in Smartform, will you please give me any reference guide,
Thanks for you reply,
regards,
06-28-2016 7:36 AM
06-21-2016 12:44 PM
Hi,
Can you elaborate on your requirement. Do you want to use Dynamic Internal tables i.e. different number of columns, or the number of columns will be constant but the Column descriptions will be dynamic.
Thanks.
06-28-2016 6:01 AM
Hi,
I want to use Dynamic Internal Table of different numbers of column, number of column is not fixed, I want to pass header data(column Description) as well as item data Dynamically as we can do in ALV report.
Thanks & regards,
06-29-2016 8:18 PM
Even though you can pass dynamic data to the Smartform I'm pretty sure there is no option to create a dynamic table element. All the columns are set in the table node in the form, it's not feasible to add/delete them using the code AFAIK.
I've seen similar questions on SCN before (have you tried searching?) and the best suggestion so far was to create several tables, if necessary, and then set the condition for each of them to be called based on the appropriate criteria. You can change the table content dynamically (header/data), but not the table layout.
Not sure if this is feasible in the PDF forms.
06-29-2016 8:58 PM
In pdf you can use scripts (ex. FormCalc) to do an awful lot. Problem of those scripts is that these tend to make the form somewhat harder to maintain.