07-04-2008 6:54 AM
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.
07-04-2008 9:58 AM
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
07-05-2008 4:44 AM
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.