Application Development 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: 

Dynamic Internal table in ALV format

Former Member
0 Kudos
129

Hi,

I have the internal table like the below one and there are 7 seven check-box in the selection screen which relates the seven fields in the internal table. If the user selects 5 check-box then the corresponding 5 fields has to be displayed in the output as ALV format. If he selects 2 check-box then the corresponding 2 fields has to be displayed in the output as ALV format. Please let me know how to do it?

Data : Begin of Lt_temp occurs 0,

f1,

f2,

f3,

f4,

f5,

f6,

f7,

end of lt_temp.

Thanks for your reply.

Best Regards,

Raj.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
104

Hi

Try when creating the field catalog, put the field visible or not visible.

ie:

...

if f1 eq '1'.

Fild_cat-no_out = "X".

endif.

....

Bye

Gabriel

4 REPLIES 4

Former Member
0 Kudos
105

Hi

Try when creating the field catalog, put the field visible or not visible.

ie:

...

if f1 eq '1'.

Fild_cat-no_out = "X".

endif.

....

Bye

Gabriel

former_member583013
Active Contributor
0 Kudos
104

Check out this weblog...

<a href="/people/alvaro.tejadagalindo/blog/2006/11/27/dynamic-alv-list-display ALV List Display</a>

It might help you out.... -:)

Greetings,

Blag.

amit_khare
Active Contributor
0 Kudos
104

Refer the links -

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos
104

Thx every for the help.

Problem solved.

regards,

Raj.