cancel
Showing results for 
Search instead for 
Did you mean: 

IF_BCS_BADI_SEND_ADDRESSES Problem

0 Kudos

Hello to everyone, I've got the following problem:

I've wrote a class to chane a Sender of the Email. When I the new adress and new name define in this way:

es_sender-addrtype = 'INT'.
es_sender-address = 'mr_nemo@gmail.com'.
es_sender-visname = 'Mr. Nemo'.

everything works fine, but when I try to read the same Info from a table:

SELECT SINGLE eknam smtp_addr into ( lv_name, lv_adress )
from t024
WHERE ekgrp EQ ls_ekko-ekgrp.

es_sender-addrtype = 'INT'.
es_sender-address = lv_adress.
es_sender-visname = lv_name.

the sender stays default ( SAP User ) and not tne new one.

The new sender is in BADI created. I've compared both objects, they are the same. I've also tried to set the ES_STATUS_RECIPENT but it also didn't help. Do anyone have ideas where is the problem?

Accepted Solutions (0)

Answers (0)