Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Control

Former Member
0 Likes
413

is it possible to define a table control dynamicallllyyy ?

ie i need different no of colums acording to the no of employeess fetched

Thanks

4 REPLIES 4
Read only

former_member556412
Active Participant
0 Likes
394

Hi ,

Please refer to this thread hope this will answer your query

Regards,

Bhanu

Read only

0 Likes
394

Hi,

I think that is not posible because you have to assign a static table control structure directly in the dynpro. If you want a dynamic table structure you should use an ALV grid.

Read only

0 Likes
394

But can we create the internal table structure dynamically for the grid ?

Read only

0 Likes
394

Yes, you can create dynamically table structures for the ALV grid.

please refer to wiki "Creating Flat and Complex Internal Tables Dynamically using RTTI"

https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingFlatandComplexInternalTablesDynamicallyusingRTTI