If you used the function module REUSE_ALV_GRID_DISPLAY, I think you should register your own subroutine for the USER_COMMAND event using parameter I_CALLBACK_USER_COMMAND = 'YOURNAME', and write this subroutine as follows:
FORM YOURNAME USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE SLIS_SELFIELD. if r_ucomm = '&BACK'. rs_selfield-exit = 'X'. endif. ENDFORM.
Read the documentation of REUSE_ALV_GRID_DISPLAY for more information.
Hi there again,
I think you might be right. I'm re-evaluation my code. I think that is has something to do with me using:
i_callback_pf_status_set = 'SET_PF_STATUS'
and calling it internally instead of in my PBO module
FORM set_pf_status USING rt_extab TYPE slis_t_extab. "#EC CALLED DESCRIBE TABLE rt_extab. "Avoid Extended Check Warning SET PF-STATUS 'ALV_STATUS_1'. "I call my gui-status here instead of in the PBO ENDFORM.
I'm not sure if it has anything to do with it but that seems to be the culpit to me, since it says that i doesn't know the screen I'm referring to even tho all my other links defined in PBO works. This one is the only one not define in PBO but in ALV itself instead.
Add comment