Let's have an example for the title in the selection screen in SAP ABAP.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text.
PARAMETERS p_date TYPE dats.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
text = 'Select a date'. "You can give any text you want to be visible as the title.
As we can see in the above example, b1 will be a frame containing 'p_date' as a field, and above the frame, the title will be displayed as 'Select a date'.
Happy Learning!
Dr. Tech