2011 Aug 22 2:10 PM
Hi,
I am calling an ALV Grid using CL_GUI_A;V_GRID. When I create a new record, I need F4 help for a particular field based on the entries in 2 other fields. Thing is I can't use DATA_CHANGED event coz then I won't be able to display the F4 button. And F4 option doesn't pass the data that has been changed(ER_CHANGED_DATA table). So frustrating. Can anyone help me plz???
Thanks in advance,
Poornima L Nathan
Hi,
I am calling an ALV Grid using CL_GUI_A;V_GRID. When I create a new record, I need F4 help for a particular field based on the entries in 2 other fields. Thing is I can't use DATA_CHANGED event coz then I won't be able to display the F4 button. And F4 option doesn't pass the data that has been changed(ER_CHANGED_DATA table). So frustrating. Can anyone help me plz???
Thanks in advance,
Poornima L Nathan
2011 Aug 23 2:11 AM
Why dont you try method CL_GUI_ALV_GRID's CHECK_CHANGED_DATA.
This method refreshes the data in the internal table of the GRID.
2011 Aug 23 7:09 AM
Hi ,
i think you are missing one params while registering your F4 fields..
ls_f4-register = 'X'.
ls_f4-getbefore = 'X'.
ls_f4-chngeafter = 'X'.
Documentatin of SAP program *BCALV_EDIT_08*
* 1b. If the value range in your f4 help depends on other
* values of cells that are input enabled, set the
* GETBEFORE parameter.
now you can use row_indx no to read your internal table
regards
Prabhu
Edited by: Prabhu Peram on Aug 23, 2011 2:11 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |