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: 

How to hide save function in an alv grid

Former Member
0 Kudos

Hi,

I am using REUSE_ALV_GRID_DISPLAY, in my list i want to enable SAVE function only if user enters data in any of the edit enabled fields.

How this can be done with out using classes.

Thanks,

Sai.

2 REPLIES 2

Former Member
0 Kudos

hi sai,

You will have to use ALV GRID LAYOUT for that.

Specify the sort parameters for the table.

Specify the fields which need to hidden in IT_SORT table and pass it to REUSE_ALV_GRID_DISPLAY along with other data.

u can use this, in that particular fields catalogue,,

WF_FC_ITAB-NO_OUT = 'X'. " it will hide that particular fueld

WF_FC_ITAB-NO_OUT = '0'. " it means Oobligatory, or it will display the field,

before this use ur if condition...

With Regards,

Anup

0 Kudos

Hi Anup,

Thanks for your reply, but I dont require to hide the fields in my list. I need to hide the save function until user doesn't give any input in the edit enables fields of my list.

Thanks,

Sai.