‎2008 Oct 21 1:28 PM
Hi All,
I want to give a popop before stadard user command like 'Insert row' 'Append row' 'Delete Row' as that happens for 'Find', 'Sort' in program BCALV_TEST_GRID_EVENTS.
If you feel that we can not modify standard functions, give me a possibility if I can perfrom standard function in any way after my custom code.
Helpful answers are surely rewarded.
‎2008 Oct 21 1:51 PM
Hello Priyanka
We have event BEFORE_USER_COMMAND available yet it appears that the USER_COMMAND events are NOT triggered by standard toolbar functions.
Therefore my suggestion is to replace to standard function code values with custom values (e.g. APPEND_ROW, INSERT_ROW) and use the approach described in thread
Regards
Uwe
‎2008 Oct 21 1:51 PM
Hello Priyanka
We have event BEFORE_USER_COMMAND available yet it appears that the USER_COMMAND events are NOT triggered by standard toolbar functions.
Therefore my suggestion is to replace to standard function code values with custom values (e.g. APPEND_ROW, INSERT_ROW) and use the approach described in thread
Regards
Uwe
‎2008 Oct 21 2:41 PM
Hi,
you can use 'C14A_POPUP_SAVE_WITH_CANCEL' Fm
CALL FUNCTION 'C14A_POPUP_SAVE_WITH_CANCEL'
IMPORTING
e_answer = answer1.
If the user presses Yes then Answer1 will have 'J' in it and if the user presses then Answer1 will have 'N' in it.
So based on the value of Answer1 you can code accordingly to delete the row from alv
Regards,
Syed