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: 

To deactivate filters in ALV grid

Former Member
0 Kudos

Hi all,

Please help me to deactivate the filters in ALV grid.

Thanks in Advance,

Regards,

Shaju

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Replace the standard menu with your menu & remove the buttons from menu.

Regards,

Hemant.

5 REPLIES 5

Former Member
0 Kudos

Hi,

Replace the standard menu with your menu & remove the buttons from menu.

Regards,

Hemant.

Former Member
0 Kudos

Hi,

pls go through this code

data: var.

if con is true

var = 'X'. (show hotspot)

else.

var = ' '. (deactive hotspot)

elseif ws_fieldcat-fieldname = 'DMBTR'

AND ws_fieldcat-tabname = 'T_MTAB'.

ws_fieldcat-do_sum = C_X.

ws_fieldcat-hotsopts = var.

MODIFY Wt_fieldcat FROM ws_fieldcat

TRANSPORTING DO_SUM.

Reward if It helpful for u

Regards

Vana

amit_khare
Active Contributor
0 Kudos

Hi,

you can exclude buttons from ALV toolbar in your program.

Check these links -

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

in debugging check the FCODE for filter

and use

in the parameter I_CALLBACK_PFSTATUS = 'SET_STATUS'

FORM SET_STATUS.

SET PF-STATUS EXCLUDING 'FILT'.

ENDFORM.

0 Kudos

Hi all,

Thanks for your valuable information's.

I used the below statement

SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLKKBL' EXCLUDING '&ILT'.

Now the problem got solved.

Regards,

Shaju