‎2006 Oct 09 11:29 PM
I have a program with alv_Tree and a normal AVL.
I fill the data in both alv. And In both alv I have implemented the class to be able to use the event "double click", When I execute double click on alv_tree control to execute this function 'SET_DYNP_VALUE' everything works correctly
And with this function of it updates the corresponding text
CALL FUNCTION 'SET_DYNP_VALUE'
EXPORTING
I_FIELD = 'V_TXT_CDT'
I_REPID = SY-REPID
I_DYNNR = '0100'
I_VALUE = ''
EXCEPTIONS
OTHERS = 0.But when I double click on alv normal, this function does not work
CALL FUNCTION 'SET_DYNP_VALUE'
EXPORTING
I_FIELD = 'V_TXT_RULE'
I_REPID = SY-REPID
I_DYNNR = '0100'
I_VALUE = ''
EXCEPTIONS
OTHERS = 0.When I make double click on ALVnormal The following events just don't happen.
PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.The values are updated when I press return in any input field in the screen. How can I make these events to execute when I use the double click function because even if I call the functions that compound these events, the screen doesnt get updated.
‎2006 Oct 09 11:32 PM
‎2006 Oct 09 11:32 PM
‎2006 Oct 09 11:42 PM
So.... we must force it, I wanted to test this before I actually suggested it, in your event handler method for double click, add the following code at the end.
call method cl_gui_cfw=>set_new_ok_code
exporting
new_code = 'REFR'.Adding this code will force a screen cycle, first PAI, then back around to PBO.
Regards,
Rich Heilman
‎2006 Oct 10 12:02 AM