2006 Dec 04 5:57 AM
Hi all,
I wanted to include a search help in my ALV grid using OO methodology. However, I was not able to get the event ONF4 to trigger althrough I have define the fieldname and also call the method GRID->REGISTER_F4_FOR_FIELDS
EXPORTING IT_F4 = I_F4. Any kind of help is appreciated. Thanks in advance.
Hi all,
I wanted to include a search help in my ALV grid using OO methodology. However, I was not able to get the event ONF4 to trigger althrough I have define the fieldname and also call the method GRID->REGISTER_F4_FOR_FIELDS
EXPORTING IT_F4 = I_F4. Any kind of help is appreciated. Thanks in advance.
2006 Dec 04 6:09 AM
hi,
Here is an example program BCALV_GRID_F4_HELP .
Hope it helps..
2006 Dec 04 6:20 AM
Hi,
if u r working with CL_GUI_ALV_GRID then there is an event for F4 -- ONF4 .
register this evnt in PBO and set handler for the same .
Hope this helps.
2006 Dec 04 6:35 AM
HI, as I mentioned earlier in my first post, I have registered the handle the event ONF4, but still the event was not firing when I click on F4.
2006 Dec 04 7:05 AM
By the way, the which I want a search help is not a standard SAP field. It was a custom component type. I'm not sure will it effect the overall function.
2006 Dec 04 7:31 AM
Hi Alvin,
Hope u are handling the event :
SET HANDLER on_f4 for the instance of class.
And the custom search will not affect the logic.
Hope this helps.
2006 Dec 04 7:38 AM
Yes, I have that.. and still the ONF4 was not triggering. I was still wondering where goes wrong.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |