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

Dynamic Table with references

Former Member
0 Likes
434

Hello everybody,

im tried to create a dynamic table with cl_alv_table_create=>create_dynamic_table, but that doesnt work for the table i need. I need a table with a changing number of columns of type "type ref to CL_DD_INPUT_ELEMENT", but the fieldcat only takes normal Data-Types.

So my question is, is there any way to create a dynamic table or structure with components of type ref to CL_DD_INPUT_ELEMENT?

Thank you very much for any help.

Cheers

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
404

I generally use Factory methods of RTTS classes to create dynamic tables. Check my reply (Step 1) in this thread .

2 REPLIES 2
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
405

I generally use Factory methods of RTTS classes to create dynamic tables. Check my reply (Step 1) in this thread .

Read only

Former Member
0 Likes
404

could solve my problem with the RTTS classes, thanks for the helps, points have been rewarded!