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: 

Multiple Hotspots in a ALV Grid single column

Former Member
0 Kudos

Hi Experts,

My ALV Grid report output looks like below....

If you observe below output, column 3 has multiple documents each one separated by ' ; '. Now, I would like to assign hotspot on each documents like DOC1, DOC2, DOC3, etc.

Heading#: COL1 | COL2 | COL3 |

Records1: 1 | xxxxx | _DOC1_ ; DOC2 ; *DOC3*

Records2: 2 | xxxxx | _DOC1_ ; DOC5 ;

I know, we can assign hotspot for entire column. but my requirement is multiple hot spots in a single column.

Please help me on this?

Thanks in Advance

Raghu

6 REPLIES 6

ravi_lanjewar
Contributor
0 Kudos

Hi,

I am not sure it it posible.

But You can create dynamic ALV and display all document in seprate column and assign hotspot to each column containing hotspot.

Kind Rgds

Ravi Lanjewar

Former Member
0 Kudos

Hi,

yes, we can create hotspot as coulmn wise.

fieldcatalog-fieldname = 'FIELD1'.

fieldcatalog-hotspot = 'X'.

append fieldcatalog.

clear fieldcatalog.

fieldcatalog-fieldname = 'FIELD2'.

append fieldcatalog.

clear fieldcatalog.

fieldcatalog-fieldname = 'FIELD3'.

fieldcatalog-hotspot = 'X'.

append fieldcatalog.

clear fieldcatalog.

According to above code we can get hotspot for 2 cloumns only ( FIELD1, FIELD3)

Ram.

0 Kudos

My requirement is..,

Multiple hotspots in a single column / field.

Anyone has any idea?

0 Kudos

I think you are asking a bit much of ALV Grid here. Unless you can set up some sort of template within a field which is not something I've ever done. And what is the advantage of doing this over holding each hotspot in a separate field?

0 Kudos

As I mentioned earlier,

My ALV Grid report output looks like below....

Heading#: FIELD1 | FIELD2 | FIELD3 |

Records1: 1 | xxxxx | DOC1 ; DOC2 ; DOC3

Records2: 2 | xxxxx | DOC1 ; DOC5 ;

If you observe above output, field 3 has multiple documents each one separated by ' ; '.

When I click on DOC1, it supposed to display related picture on the POP-Up Screen. Similarly when I click on DOC2, it supposed to display that document picture on POP-up screen.

Before going to do this, first I need to assign hotspots on each documents like DOC1, DOC2, DOC3, etc.

Please help me.

0 Kudos

You can have only one hotspot per field. Having a requirement to use more than one hotspot isn't going to change that.

But see if you can find anything in SELFIELD that shows the position. You may be able to parse the field (but I doubt it).

Rob