10-11-2007 4:40 PM
Hi all,
I need to disable few rows after displaying ALV to restrict user not to process those records. Please let me know any body if any body has an idea how to do this.
Regards,
Venkat.
10-12-2007 7:16 AM
Hi,
In the field catalog, there is the parameter NO_OUT. Simply set it to 'X'.
DATA: v_fieldcat TYPE slis_fieldcat_alv.
v_fieldcat-no_out = 'X'.
Regards,
Zaheed
10-12-2007 7:21 AM
Hi,
What you do you mean by disabling..Is it disabling the checkbox
Thanks
Naren
10-12-2007 7:27 AM
Processing of the rows is done through code - most likely in the USER_COMMAND form in your program. Just check the record as they try to process it and give an error if it is not one they should choose.
You could also use the ALV row colour to set these rows to a different colour.
You could also delete these rows from the internal table before displaying the ALV so the user does not even see them.
Andrew