Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

getting email ID

Former Member
0 Likes
407

Hello All,

I am using an output type to send mail to vendor by external send.

the below FM is converting the actual mail ID (for eg amar.reddyxxxxxxx) To system (eg: Q45CLNT010RECIPIENT.....).

my requirement is, i should not send the mails to everyone, we are maintianing few ID in out custom table, only those mails have to be sent.

But in this case, the parameter lvs_recipient contains 'Q45CLNT010RECIPIENT.....'

Is there any way to get the actaul mail 'amar.reddyxxxxxxxfrom this 'Q45CLNT010RECIPIENT....' .

Any help is highly appreaciated

I ahve checked the function goup of 'CONVERT_COMM_TYPE_DATA' and checked SDN, but no use....

CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'

EXPORTING

pi_comm_type = lvs_comm_type

pi_comm_values = lvs_comm_values

pi_country = lfa1-land1

pi_repid = xprogramm

pi_snast = intnast

IMPORTING

pe_itcpo = itcpo

pe_device = xdevice

pe_mail_recipient = lvs_recipient

pe_mail_sender = lvs_sender

EXCEPTIONS

comm_type_not_supported = 1

recipient_creation_failed = 2

sender_creation_failed = 3

OTHERS = 4.

Hello All,

I am using an output type to send mail to vendor by external send.

the below FM is converting the actual mail ID (for eg amar.reddyxxxxxxx) To system (eg: Q45CLNT010RECIPIENT.....).

my requirement is, i should not send the mails to everyone, we are maintianing few ID in out custom table, only those mails have to be sent.

But in this case, the parameter lvs_recipient contains 'Q45CLNT010RECIPIENT.....'

Is there any way to get the actaul mail 'amar.reddyxxxxxxxfrom this 'Q45CLNT010RECIPIENT....' .

Any help is highly appreaciated

I ahve checked the function goup of 'CONVERT_COMM_TYPE_DATA' and checked SDN, but no use....

CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'

EXPORTING

pi_comm_type = lvs_comm_type

pi_comm_values = lvs_comm_values

pi_country = lfa1-land1

pi_repid = xprogramm

pi_snast = intnast

IMPORTING

pe_itcpo = itcpo

pe_device = xdevice

pe_mail_recipient = lvs_recipient

pe_mail_sender = lvs_sender

EXCEPTIONS

comm_type_not_supported = 1

recipient_creation_failed = 2

sender_creation_failed = 3

OTHERS = 4.

1 REPLY 1
Read only

Former Member
0 Likes
356

Hi,

Could you once verify the SOUC table.I think the values in that table are concatenated and formed the system email address.We had retrieved the values from that table.

Thanks

Papiya