Tem jeito sim segue o exemplo: [![print][1]][1] 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). [1]: https://i.sstatic.net/Jyszz.png