05-31-2011 7:26 PM
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
06-01-2011 6:08 AM
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
06-01-2011 6:23 AM
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.
06-01-2011 4:24 PM
My requirement is..,
Multiple hotspots in a single column / field.
Anyone has any idea?
06-01-2011 4:34 PM
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?
06-01-2011 4:49 PM
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.
06-01-2011 4:56 PM
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