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

ALV Report with dynamic fields

Former Member
0 Likes
437

hi experts,

I have one problem, i should show my output in AVL Grid Display but at the same time i want to display the fields dynamically accorting to my output table.

the problem is i am using Reuse_alv_grid_display,

with this function module how can i increase my output fields dynamically...

1. there r only 4fields these fields should be dynamically.

waiting for u r reply

ok byeeeeeeee

hi experts,

I have one problem, i should show my output in AVL Grid Display but at the same time i want to display the fields dynamically accorting to my output table.

the problem is i am using Reuse_alv_grid_display,

with this function module how can i increase my output fields dynamically...

1. there r only 4fields these fields should be dynamically.

waiting for u r reply

ok byeeeeeeee

2 REPLIES 2
Read only

Former Member
0 Likes
416

Hi,

You can create you field catalog dynamically using the case statement if there is some condition that is raised in the report you can set a flag for it and then use the case statement to create fieldcat .

Case flag.

when '1'.

you can use 1 field and for 2 u can have some other field.

Regards,

Himanshu

Read only

0 Likes
416

hi friends;

i also try to generate the output fields dynamically .i need some examples related to this .....using case statement or related to this.

regards

k.s.kannan