Skip to Content
0
Former Member
Jun 29, 2009 at 08:03 AM

how to dynamically increase the no. of outputs according to company code

38 Views

Hi experts,

In my selection screen i have company code as select -options.

SELECT-OPTIONS : s_code FOR t001-bukrs.

Now i need the alv_output (grid controls) according to company code.

ie.,

for company code 1 ( as grid title )

alv output1 (employee details ).

for company code 2 (as grid title)

alv output2 (employee details ).

:

:

:

likewise for all the company code selected in the select options.

For 1 or 2 company i can write manually by checking the company. but how to do it dynamically.

plz guide me.

Thanks.

Sakthi Sri.