Tem jeito sim segue o exemplo:
CONCATENATE sy-sysid '%' sy-mandt INTO DATA(logsys_aux).
CONCATENATE ' logsys like ''%' logsys_aux '%''' INTO DATA(logsys).
SELECT SINGLE logsys FROM tbdls INTO wa_mdfe_header-logsys WHERE (logsys).
Tem jeito sim segue o exemplo:
CONCATENATE sy-sysid '%' sy-mandt INTO DATA(logsys_aux).
CONCATENATE ' logsys like ''%' logsys_aux '%''' INTO DATA(logsys).
SELECT SINGLE logsys FROM tbdls INTO wa_mdfe_header-logsys WHERE (logsys).