on 06-22-2011 12:29 PM
i want to convert on row to multiple column in smartform.As number of column is not per define..Please suggest the way out in smartform
hi Florian what more information you want can you specify so that i can tell you on that particular point
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suggest you to create an internal table and pass it ti smartform.
Create maximum no of columns on the smartform. and pass any unique value in the column of internal table which has not any data. then apply condition on the smartform for the columns which have that unique value to hide those columns. So in this way you can make dynamic smartform.
Hi Aneel,
this Question is from 2011 and the last answer is (no! was) from 22 Jun 2011!
Watch this information first, your answer just produced some noise and it also was marked as assumed answered. That means, there is nothing to add, except you would face exact the same problem and hope that the author remember the solution and share it with you.
~Florian
I saw a post and working perfect. The link is given below.
http://scn.sap.com/community/abap/blog/2013/10/06/the-case-of-dynamic-columns-in-smartform
Thanks to Eitan.
my requirement is to create dynamic column...but number of column is not per define as when we retrieve the record line from database, in that one of attributed we want to make as title but number of record is not define.
In short i have to convert one of the row in multiple column but number of row as not per define as which column is not define..
Can you please suggest another option or in sapscript
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i guess your problem is solvable but with that much information given it is not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As jorge mentioned we cannot change it dynamically.
Table is something we define statically while cretaing a smartform. You can get an internal table to fulfill your requirment.
But replicating that to your smartform would not be possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
there´s no way to do this dynamically in the form, since there´s no functionality. Your form is static and you cannot influence the design per code.
What you have to do is to manipulate the data in the internal table before you pass it to the generated function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.