How to fill another parameter automatically on selection screen

fill another parameter automatically on selection screen
Auto-populate selection screen field – archive SAP
Generate fields on the selection screen automatically
populating selection screen values automatically
Auto populating values in Selection screen
How to fill another parameter automatically on selection screen

PARAMETERS: V_LAUFD TYPE F110V-LAUFD,
V_LAUFI TYPE F110V-LAUFI.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR V_LAUFD.

DATA: DYNAME LIKE D020S-PROG,
DYNUMB LIKE D020S-DNUM,
DYNPFIELDS TYPE TABLE OF DYNPREAD WITH HEADER LINE.

CALL FUNCTION ‘F4_ZAHLLAUF’
EXPORTING
F1TYP = ‘D’
F1NME = ‘ ‘
F2NME = ‘F110V-LAUFI’
DISPLAY_LAUFK = ‘X’
EXPLAIN_LAUFK = ‘ ‘
IMPORTING
LAUFD = V_LAUFD
LAUFI = V_LAUFI.

DYNAME = SY-REPID.
DYNUMB = SY-DYNNR.
DYNPFIELDS-FIELDNAME = ‘V_LAUFI’.
DYNPFIELDS-FIELDVALUE = V_LAUFI.
APPEND DYNPFIELDS.

CALL FUNCTION ‘DYNP_VALUES_UPDATE’
EXPORTING
DYNAME = DYNAME
DYNUMB = DYNUMB
TABLES
DYNPFIELDS = DYNPFIELDS.