Skip to Content
0
Former Member
Feb 21, 2011 at 11:12 AM

F110 Email to 2 different e-mail ids

104 Views

Hi All,

We have implemented BTE 2040 for Email and fax for automatic payments by F110. Below is the code of the ZSAMPLE_PROCESS_00002040. l_adsmtp_line-adsmtp-smtp_addr. is the place where email address of the vendor is been populated and sent successfully to the vendor as of now it is working fine.

Now i need to add one more email address where any email triggered to vendor should be sent the same to the email adding now. I saw FINNA is structure where i cannot populate more than one. Can anyone help me to achieve this.

CALL FUNCTION 'ADDR_GET_COMPLETE'

EXPORTING

addrnumber = i_reguh-zadnr

IMPORTING

addr1_complete = l_addr1_complete

EXCEPTIONS

OTHERS = 4.

IF sy-subrc EQ 0.

  • check that internet address is available

READ TABLE l_addr1_complete-adsmtp_tab INTO l_adsmtp_line INDEX 1.

IF sy-subrc EQ 0

AND NOT l_adsmtp_line-adsmtp-smtp_addr IS INITIAL.

  • choose message type 'I'nternet and fill email address

c_finaa-nacha = 'I'.

c_finaa-intad = l_adsmtp_line-adsmtp-smtp_addr.

ENDIF.

Regards

VEnk@