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

type problem adr6--smtp_addr

25 Views

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.

endselect.

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.

.

.

.[e.t.c]

I have error message:

In PERFORM "SEND_MAIL", the actual parameter "RECEIVER" and formal parameter

"EMAIL" are incomapatible.

please, help