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: 

ALV hotspot

Former Member
0 Kudos

How can i put hotspot on the traffic lights icon in alv grid?

4 REPLIES 4

Former Member
0 Kudos

It should be there in type pool slis. Below is the code from SLIS type-pools.

types: begin of slis_fieldcat_alv_spec,

key_sel(1) type c, " field not obligatory

no_sum(1) type c, " do not sum up

sp_group(4) type c, " group specification

reprep(1) type c, " selection for rep/rep

input(1) type c, " input

edit(1) type c, " internal use only

hotspot(1) type c, " hotspot

end of slis_fieldcat_alv_spec.

Former Member
0 Kudos

Hi,

While building fieldcatalog, we need to use gt_fieldcat-hotspot = 'X'.

Thanks,

Sriram Ponna.

Former Member
0 Kudos

Hi,

Pass the value 'X' for the field hotspot while preparing fieldcat for that particular traffic signal field.

w_fieldcat-hotspot = 'X'.

Cheers,

Bujji

Former Member
0 Kudos

In Fieldcatalog We have a option to make a HOTSPOT

Example

fcat-fieldname = 'TRECEP'.

fcat-hotspot = 'X'. " For that Particular screen field assigned with Hotsot

fcat-outputlen = '000016'.

fcat-just = 'L'.

fcat-seltext_m = 'Total Receipts'.

fcat-ddictxt = 'M'.

fcat-inttype = 'Q'.

fcat-datatype = 'QUAN'.

fcat-do_sum = 'X'.

fcat-just = 'R'.

fcat-no_zero = 'X'.

append fcat.

clear fcat.