03-31-2016 6:11 AM
Hello experts,
I'm displaying an alv grid with a list of materials for a plant and storage location entered in the selection screen. The columns are editable and f4 is enabled. I've used CL_GUI_alv_grid class.
The output results are stored in a z table. In this table, for the storage location fields, I've marked check table as T001L table and the search help of that table is automatically taken here.
Now, in the f4 help of the grid, I only want the storage locations for the plant in the selection screen. Instead all storage locations are coming up. So, I created a new z search help and tried to attach this in the z table that I have created. I get an error here saying, assignment not possible. How can I fix this?
03-31-2016 6:17 AM
Hi tharun,
There is an event 'ONF4' in cl_gui_alv_grid, call the method 'REGISTER_F4_FOR_FIELDS' of this class and register this event for that column. Check the parameters of this method .
regards
ashish
03-31-2016 6:28 AM
Hi,
Check out the below threads for sample code and example:
Thanks,
Srikanth