‎2010 Apr 21 12:32 PM
Hello Everyone,
I m doing 1 report, in which i required filled 2 be changed according 2 different data.
For Ex : I want Document type ( ekko-bsart ) in my report.
now i m doing hardcord in select query like bsart = ' '.
So, if there is any other document type then i have 2 change it in coding every time.
But i dont wnt 2 do ths.
So, I have 2 create Dynamic Internal Table.
So,i have 2 change in internal table only n according 2 tht it gets changed in report.
I dont knw how 2 create Dynamic Internal Table n i have 2 include fields in Dynamic Table like internal table
or i have 2 do code 2 include field?
Plz Help me 2 create.
Thanks in Advance,
Urvi Rajyaguru
‎2010 Apr 21 12:33 PM
‎2010 Apr 21 12:37 PM
‎2010 Apr 21 1:29 PM
Hi,
You can create generate a field catalog(using the structure lvc_s_fcat and table type lvc_t_fcat) as per your requirements and
passing it to the static method create_dynamic_table of the class cl_alv_table_create , you can get a dynamic internal table.
Regards,
Sagar
‎2010 Apr 21 1:56 PM
Thread locked due to extensive use of "txt spk", please refer to forum rules of engagement.
Also, please search before posting, "dynamic internal table" is a very frequent topic here.
Thomas