Application Development and Automation 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: 
Read only

Send email with-in PAI module using a class interface

kmoore007
Active Contributor
0 Likes
706

I have a custom class which has an instance method to send out an internet email. It works fine if I utilize it in an online program. However, I tried to use it in a PAI module for a dynpro and the email is not sent out. I am not getting any error messages. Any ideas why it does not work in the PAI module?

5 REPLIES 5
Read only

sridhar_k1
Active Contributor
0 Likes
670

Is there commit work parameter in the function module import parameters? try setting it to X.

Regards

Sridhar

Read only

0 Likes
670

There is a COMMIT WORK in the method already.

Read only

Former Member
0 Likes
670

Hi Kennet,

Write the following code immeadiately afetr the call to the mailing FM/ class.

SUBMIT rsconn01 WITH mode = 'INT'

WITH output = 'X'

AND RETURN.

REgards,

ravi

Read only

0 Likes
670

I don't believe RSCONN01 is the issue. The email is not showing up in tcode SCOT. So it is not there to send.

Read only

kmoore007
Active Contributor
0 Likes
670

I just used a submit program with my code and this is my work around.