To display the Directory names of AL11 in Search help for the (Parameter) field on Screen.
Type: Classical Report
- Data declarations
- Selection Screen
- Initialization event:
- Execute the ‘MAIN’ subroutine in Standard program ‘RSWATCH0’ to get the directory names
- Move the directory names to an internal table (due to data type mismatch on the fetched data) for Search help
- At Selection Screen Event:
- F4 help has to be provided for the field so we have to use ON VALUE REQUEST FOR the FIELD
- Use Function Module: F4IF_INT_TABLE_VALUE_REQUEST for displaying the search help
- On double clicking the required directory, the same will be displayed in the input field
Report in the attachment.