cancel
Showing results for 
Search instead for 
Did you mean: 

Mails Sent Via BRFplus are not visible in SOST

gaurang_gujar
Active Participant
0 Kudos

Hi All,

I have created BRF Plus application with has an action to send mail .

I have been filling the recipients using an expression and for test purpose I have even hard-coded the email in recipients.

Even Action gets executed and Finished. There are no email sent to me because in the development environment the smtp node is disabled.

I cannot even see  the mail in SOST/SOSG transaction.

Can anybody help me how do it trace if there is any email sent out ?

Regards,

Gaurang

Accepted Solutions (1)

Accepted Solutions (1)

carsten_ziegler
Active Contributor
0 Kudos

How did you test this? In simulation or with your own ABAP code as caller?

Depending on the release and patch level the simulation component will not execute the actions.

Therefore pls put it into your program and execute a commit afterwards.

You may also set a breakpoint in the Email-API to understand what's goinng on.

gaurang_gujar
Active Participant
0 Kudos

Hi Carsten,

I already tried both methods . I also called my function via ABAP Code.

I am not sure which API is called to send mail though I tried debugging putting external debugger in few send email API without much result.

Probably I need to debug the entire brfplus function or put an RFC trace.

I will do that and check if it helps

Regards,

Gaurang

carsten_ziegler
Active Contributor
0 Kudos

Debugging BRFplus is easy.

  1. Generate the code (if not done yet)
    • either use the function UI to this
    • or a backend report, like FDT*GENERAT* (do not remeber exact name)
  2. Open the generated class in SE80
  3. Take a copy of the Send Email action UUID (can be found on general data section)
  4. Search in the generated code for the UI (Start..., End...)

That is where you put your break-point.


gaurang_gujar
Active Participant
0 Kudos

Hi Carsten,

Your inputs really helped me.

It worked after after I put a commit in my Z code

Regards,

Gaurang

Answers (0)