Display Condition Types as F4 Help on Selection Screen
This ABAP tutorial shows how to display condition types list search help or F4 Help popup screen for KSCHL condition data field on a Selection Screen using function module RV_CONDITION_RECORD_DISPLAY.
Assume that you have an ABAP report listing data rows filtered according to a selection screen where you have condition type KSCHL as filter criteria.
It is possible to display search help screen when F4 Help is requested as follows.
In the value request perform for condition type, following function module can be used to display list of condition types on a pop-up screen. The selected condition type data will be returned back using importing variables; condition type and condition_type_text.
When the user selects an item (condition type record), the corresponding KSCHL data (condition_type parameter value stored in ll_kschl) is copied into selection screen field s_KSCHL-Low