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.