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

Cursor in ALV-Controls

weltspion
Participant
0 Likes
799

Hi ABAPers!

I'd like to use an ALV-Grid (class cl_gui_alv_grid) for a display only. Thus I don't need any cursor on the displayed list.

But in general the upmost left cell is marked (the whole cell is marked in orange).

How do I suppress that mark? I don't want to have any cell marked.

Any Ideas?

Best regards

Torsten

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
778

Hi

Try to set the field NO_ROWMARK of the layout structure (LVC_S_LAYO).

Max

Hi

Try to set the field NO_ROWMARK of the layout structure (LVC_S_LAYO).

Max

5 REPLIES 5
Read only

Former Member
0 Likes
779

Hi

Try to set the field NO_ROWMARK of the layout structure (LVC_S_LAYO).

Max

Read only

0 Likes
778

Hi Max!

Good idea, but I gave that a try before.

I set NO_ROWMARK checked and SEL_MODE initial. But the cellmark did not disappear.

Best regards

Torsten

Read only

0 Likes
778

Try passing NO_ROWMARK = 'X' and SEL_MODE = 'D'.

Hope this helps.

Thanks,

Balaji

Read only

0 Likes
778

Hi Balaji!

I tried all SEL_MODE combinations. The difference between A/B/C/D is, that when you move the cursor, the whole row is marked instead of a single cell.

There must be another way to suppress the mark in the cell. There is nothing to choose from, so why having a cursor?

ts.

Read only

0 Likes
778

Hi

I don't know if it's possible to do what you really need to do, I believe the best solution can be:

LVC_S_LAYO-NO_ROWMARK = 'X'.

LVC_S_LAYO-SEL_MODE = 'A'.

Max