DATA: gt_text  TYPE TABLE OF tline,
      gwa_text TYPE tline.
*&---------------------------------------------------------------------*
*&      Selection Screen
*&---------------------------------------------------------------------*
PARAMETERS: p_chk AS CHECKBOX.

*&---------------------------------------------------------------------*
*&      At Selection Screen Event
*&---------------------------------------------------------------------*
AT SELECTION-SCREEN ON HELP-REQUEST FOR p_chk.

  gwa_text-tdformat = 'U1'. " To display text in blue color
  gwa_text-tdline = 'F1 Help'.
  APPEND gwa_text TO gt_text.
  CLEAR gwa_text.

  gwa_text-tdline = 'ABAP Demo Checkbox'.
  APPEND gwa_text TO gt_text.
  CLEAR gwa_text.

  CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
    EXPORTING
      titel      = 'F1 Help'
    TABLES
      text_table = gt_text.
 
 
Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP MM SD Consultant