I have the a problem with types compability, here is a piece of code:
parameters: login(3) type c.
data: receiver like ADR6-SMTP_ADDR. "and then...
select SMTP_ADDR from ADR6 join usr21 on adr6~persnumber =
usr21persnumber into receiver where usr21bname = login.
PERFORM send_mail USING receiver nalezeno text-014.
USING email LIKE reclist-receiver
nalezeno TYPE i
predmet LIKE doc_chng-obj_descr.
I have error message:
In PERFORM "SEND_MAIL", the actual parameter "RECEIVER" and formal parameter
"EMAIL" are incomapatible.