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

REGARDING ALV OOPS

Former Member
0 Likes
885

HI FRIENDS,

GOOD MORNING....

I NEED UR HELP....I AM DISPLAYING A GRID USING ALV OOPS.THE GRID CONTAIND A SELECT-ALL OPTION AT THE LEFT TOP TO SELECT ENTIRE ROWS AT A TIME..CAN U PLEASE SUGGEST HOW TO DEACTIVATE IT OR REMOVE IT.

THANKS

URMILA

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
858

Hi,

This can help u....


ps_layout-sel_mode = 'A'.
ps_layout-NO_ROWMARK = ' '.

OR


ps_layout-sel_mode = space.

Edited by: Sukriti Saha on Oct 11, 2008 8:10 AM

Edited by: Sukriti Saha on Oct 11, 2008 8:13 AM

7 REPLIES 7
Read only

Former Member
0 Likes
858

use the layout option NO_ROWMARK , that will remove the option.

layout-no_rowmark = 'X' .

ps: switch of the caps lock

Read only

0 Likes
858

HI VIJAY,

IF AM USING NO_ROWMARK ITS COMPLETELY DELETING THE SELECTION ROW AT THE LEFT SIDE.

BUT I WANT THE ROW SELECTION... I NDT WANT THE SELECT ALL ICON TO DISAPPEAR AS I NEED TO SELECT ONLY SINGLE ROW.

THANK U

Read only

0 Likes
858

if your requirement is to select single row then why do you need that row mark. with out that also you can select the single row.

Read only

0 Likes
858

HI,

HOW CAN WE SELECT A SINGLE ROW ....?I NEED TO CAPTURE THE RECORD USING GET_SELECTEDROWS FUNCTION.

Read only

0 Likes
858

First switch off the caps lock. and Did you check the method GET_SELECTEDROWS , if not check it once.

did you tested it or not. if you have the code just post it here will see.

Read only

Former Member
0 Likes
859

Hi,

This can help u....


ps_layout-sel_mode = 'A'.
ps_layout-NO_ROWMARK = ' '.

OR


ps_layout-sel_mode = space.

Edited by: Sukriti Saha on Oct 11, 2008 8:10 AM

Edited by: Sukriti Saha on Oct 11, 2008 8:13 AM

Read only

0 Likes
858

HI SUKRITI,

IF I USE THE SEL_MODE ='A'. I THINK IT ALLOW FOR MULTIPLE SELECTIONS RIGHT.BUT I WANT ONLY SINGLE RECORD TO B SELECTED ASWELL AS I DNT NEED THE SELECT-ALL ICON WHICH APPEARS AT THE TOP.

URMILA