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 Internal table in ALV format

Former Member
0 Likes
890

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
Read only

Former Member
0 Likes
865

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

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
Read only

Former Member
0 Likes
866

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

Read only

Former Member
0 Likes
865

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.

Read only

amit_khare
Active Contributor
0 Likes
865

Refer the links -

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
865

Thx every for the help.

Problem solved.

regards,

Raj.