‎2013 Apr 11 2:41 PM
I have checked those functions to display a selection table and from there select a line to treat.
Function POPUP_WITH_TABLE and function REUSE_ALV_POPUP_TO_SELECT.
My problem is that I can't set default line selection. Is there a way to do it with these functions or I should use another function?
Regards,
Daniel Cantin
‎2013 Apr 12 11:34 AM
Hi Daniel,
Use the FM REUSE_ALV_POPUP_TO_SELECT. In your final internal table, have a additional field "CHECK" with type char01. Make/Display that field as check box through the ALV fieldcatlog.
Set the field "CHECK" to X in your internal table for the needed default row. For example, if you want to set the third row as default, set the field "CHECK" to X for that third row.
Cheers
~Niranjan
‎2013 Apr 12 11:34 AM
Hi Daniel,
Use the FM REUSE_ALV_POPUP_TO_SELECT. In your final internal table, have a additional field "CHECK" with type char01. Make/Display that field as check box through the ALV fieldcatlog.
Set the field "CHECK" to X in your internal table for the needed default row. For example, if you want to set the third row as default, set the field "CHECK" to X for that third row.
Cheers
~Niranjan