How to write on selection screen after giving any user input in SAP ABAP

You can use the WRITE to write on the selection screen. But still you have other options available to accomplish your task.

You can choose to show your text in a message which is shown at the bottom of the screen. Also, you can try with a popup to show your required text.

Sample snippet: Message 'Your text' TYPE S