Application Development 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: 

BTE 2040 for direct debit prenotification email

former_member220430
Active Participant
0 Kudos

Hi!

I copied SAMPLE_PROCESS_00002040 to enable  emailing of direct debit prenotification. In the function module, I have:


select single * from reguv into ls_reguv

     where laufd = i_reguh-laufd and laufi eq i_reguh-laifu.

     if ls_reguv-x_dd_prenotif eq 'X'.

         c_finaa-nacha = 'I'.

         c_finaa-intad = 'abc@yahoo.com'.

     else.

         c_finaa-nacha = 1.

    endif.


But I see no email being sent in SCOT. Is there any other setting that should be checked?


Thanks!


Cholen




3 REPLIES 3

Former Member
0 Kudos

Hi

Include RFFORI06, form avis_nachrichtenart and  avis_oeffnen: check if e-mail is implemented (sometimes I've implemented some notes)

Max

0 Kudos

Hi Max,

I am using RFFOAVIS_DD_PRENOTIF as print program. I see there is already include RFFORI06 there. Should I put the include in the 2040 BTE too?

Cholen

0 Kudos

Hi

No you need to check if the BTE is called for your situation and if the sapscript is open in right mode

Max