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 + Dynamic fields

Former Member
0 Likes
682

is it possible to create a table control w/out fixed fields(based on an internal table definition or a data dictionary object)? My table control needs to be building in process time depending of the user selections. this tablecontrol may has n fields or n + 1,2,3, ... fields all over the application runs.

any suggestion will be always welcome!

tks in advance!

André

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
643

Hi

I don't believe, but you can create a tc with all fields you need and hide the fields at run time.

Max

5 REPLIES 5
Read only

Former Member
0 Likes
644

Hi

I don't believe, but you can create a tc with all fields you need and hide the fields at run time.

Max

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
643

I don't think that you can do that with a table control, but I know that you can with an ALV Grid.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
643

I don't know if it is possible for table control, but it is possible in alvs.

1) Create a dynamic internal table.

2) Create the field catalog for the internal table.

3) Call the alv display function.

4) make the grid editable to simulate a table control.

REfer the following links:

Regards,

Ravi

Read only

0 Likes
643

Ok guys!

Now, how can i make a reference between a alv grid into my on_line application? through custom controls? i never did it once.

Do you have some other code sample using in a module pool?

tks!

André

Read only

0 Likes
643

Yes, you would use a custom control. Please see the example programs that start with BCALV_GRID*

Regards,

Rich Heilman