- Create an internal table and populate it with the values that should appear in the F4 Help.
- Create another internal table and populate it with the positions of the previously selected values from the F4 Help. (This is done to check those values which were previously selected by the user).
- Call the function module “F4IF_INT_TABLE_VALUE_REQUEST”.
Note: The Parameter “Multiple_Choice” should be set to “X” for the Multiple Selection Checkbox to be enabled and the parameter “Mark_Tab” must take the internal table which is populated with the positions of the values selected by the user on previous execution so that those values remain checked on next execution.
The F4 help will look as below -