‎2013 Oct 04 12:55 PM
Hi all,
i have a requirement for making a smartforms for bidding purpose, my requirement is
to fetch all the values related to PR no, now according to my scenario for a single
value of PR , there may be various values of "ebeln " possible, now i have created
a smartform in which i can able to show only six set of values(for your reference,
herein i am posting screenshot of the layout of my smartform).
My requirement is that if i will get more values of quotataion no (ebeln), then i can get
all its related data,(as i got for one quotation), and i will take its print in A3 size.
So my question is how could i do that, i have got one set of data in it, please tell me how could i
achieve dynamic coulms for the set of data, based on different "quotataion".
‎2013 Oct 05 6:02 AM
Hi all,
You can not have dynamic structures in smartforms.
But you can create Dynamic internal table in Driver program then pass that internal table to smarform
i think this will help you
‎2013 Oct 04 2:05 PM
Hi all,
sorry i was not able to add the screenshot in previous post.
Here is the screenshot.
‎2013 Oct 05 5:45 AM
You can not have dynamic structures in smartforms.
A better solution to your problem is show the data in dynamic ALV (which is possible) and print the same through smartforms with limitations.
‎2013 Oct 05 6:02 AM
Hi all,
You can not have dynamic structures in smartforms.
But you can create Dynamic internal table in Driver program then pass that internal table to smarform
i think this will help you
‎2013 Oct 05 6:17 AM
You can pass the dynamic internal table to smartform, but if you can not print it, whats the use?
‎2013 Oct 05 8:35 AM
Hi Chinmy,
i wants to take its print (when it exceeds 6 values) in A3 paper.
Can you littlebid elaborate how could i make dynamic internal table
because i am not getting exacctly how to achieve this.
I have two smartforms based on condition first when values are less than six
i will call my first program, and values greater than six , i will call my second smartform.
Please tell me how could i make a dynamic internal table.
Thanks in advance.
‎2013 Oct 05 10:55 AM
What my solution is -
1. Drop the idea of smartform.
2. Present all the data in ALV using dynamic ALVs.
You can see how dynamic ALV is created here - Create table structure dynamically
3. Once your ALV output is displayed, download the content into a spreadsheet and take a print from spreadsheet (excel) instead of from SAP.
4. In case you want to control the layout in excel as well, you need to use OLE.
Please let me know, if you could achieve dynamic table printout in smartforms.