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

Former Member
0 Likes
496

Hi ,

I am working on ALV Report.

I have the requirement to display the list layout like

If read fails display the records with Red Stoplight icon else show with green light .

please send any reference program.

its very urgent.

Thanks,

Aruna

Hi ,

I am working on ALV Report.

I have the requirement to display the list layout like

If read fails display the records with Red Stoplight icon else show with green light .

please send any reference program.

its very urgent.

Thanks,

Aruna

2 REPLIES 2
Read only

Former Member
0 Likes
464

HI,

Declare a field(type c length 4) in ur itab dat u r passing to the REUSE_...FM.........

if green move '@08@' into that field of itab

if red move '@0A@' into that field of itab

red and green traffic lights ll appear in ur display

Cheers,

jose.

Read only

Former Member
0 Likes
464

Hi Aruna,

Declare one field in the final table similar to the below example:

ampel(1) type c,  " STORE THE SIGNALS ON THE SCREEN

Now loop at the final table
If read fails display the records then
 i_final-ampel = '3'.
else
 i_final-ampel = '1'.
endif.
Endloop.

Now assign the field name in the layout structure:

i_layout-lights_fieldname  = 'AMPEL'.

This will solve your problem.......:))