Skip to Content
Former Member
Jun 29, 2007 at 11:56 AM

type problem adr6--smtp_addr


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.


in statement:

PERFORM send_mail USING receiver nalezeno text-014.

FORM send_mail

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.

please, help