Skip to Content
0
Jan 14, 2021 at 08:47 PM

Concatenate sy-title and sy-dbcnt to Display in Title Bar

143 Views

Hi there!

I'm curious if anyone has concatenated sy-title and sy-dbcnt to display in the title bar.

When one of these reports are chosen and executed:

the button selection name and row count should be displayed:

This is what I currently have to display the chosen selection:

START-OF-SELECTION.  "to set it once list is displayed

   IF P_RAD1 = 'X'.
    sy-title = 'SAP GUI'(001).
      ELSE. P_RAD2 = 'X'.
      sy-title = 'CDS View'(002).
      ENDIF.

END-OF-SELECTION.

What is the best way of going about this?

Thank you in advance!

Attachments

obeu4.png (5.5 kB)
mmdbb.png (9.5 kB)