Dear All,
I got a problem while sending payment advice through Email notification.
One of my client ask me send email notification after payment (F110) for of payment method.
We have different types of payment methods
1. check
2. Bank transfer
etc.
For check system will print check and payment advice - there are two different prionters for check and advice , if check contains more than 6 items system will automatically send details payment advice with differet printer (laser). but check will print throgh check printer.- for this we assigned two differetnt forms in FBZP - Payment methods under company codes.
for bank transfer we directly trigger payment advice through Email.
now problem is when we gone live everything working correctly. after that my client did some changes i think in masterdata or FBZP settings or SCOT settings ) suddenly it stop sending email notification and giving an error message "Can not process messge no router from User to Fax numbe" . actually we never sepecified fax for communication. why it is triggering fax.
BT Process = 2040
Finctional Module = SAMPLE_PROCESS_00002040
under this we activate one customized Product "ZXXXX"
along with this we have compelted SCOT and SMTP settings
In function module the priority is
choose message type 'I'nternet and fill email address
c_finaa-nacha = 'I'.
c_finaa-intad = l_adsmtp_line-adsmtp-smtp_addr.
ENDIF.
ENDIF.
ENDIF.
* if email was not possible: try fax (message type 2)
IF c_finaa-nacha NE 'I'.
IF NOT i_reguh-ztlfx IS INITIAL.
c_finaa-nacha = '2'. "Fax
c_finaa-tdschedule = 'IMM'. "Sofort
c_finaa-tdteleland = i_reguh-zland. "Land der Faxnummer
c_finaa-tdtelenum = i_reguh-ztlfx. "Faxnummer
c_finaa-formc = 'FI_FAX_COVER_A4'. "SAPscript Deckblatt
My doubt is we activate email notification for Bank transfer only why check is getting impact on this . please help me to solve this issue.
Best Regards....Sudheer