Skip to main content
Colocando código no formato
Fonte Link
David Dutra
  • 2,5mil
  • 1
  • 15
  • 26

Tem jeito sim segue o exemplo:

[![print][1]][1] [1]: https://i.sstatic.net/Jyszz.pngprint

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:

[![print][1]][1] [1]: https://i.sstatic.net/Jyszz.png

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:

print

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).
Fonte Link

Tem jeito sim segue o exemplo:

[![print][1]][1] [1]: https://i.sstatic.net/Jyszz.png

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).