cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot sending mail using CL_BCS

Former Member
0 Kudos

Hi guys,

I'm trying to send email using CL_BCS but it doesn't work( on development system). Anyway, when I test it,CL_BCS, with another system (testing system), it does work.

Can anyone explain me about this problem?

Does this problem involve with basic team?

Thanks!!

Accepted Solutions (0)

Answers (5)

Answers (5)

vikas2
Active Participant

Can you check the following:

- Call commit work after send method of cl_bcs.

- Job for program RSCONN01 is running. It can be run manually but be careful that you're not sending other messages.

- SOST configuration is in place by BASIS to allow emails to be sent external ( mentioned by Atheya ).

matt
Active Contributor

There is a job that needs to run regularly to get emails from SAP into the outside world. Presumably it is scheduled in your test system and not in your dev system. Talk to your basis people.

It would really help if instead of saying "doesn't work", you'd give a little detail about what precisely isn't working. For example, the cause might be because you've forgotten to switch on the application server...

Former Member
0 Kudos

Thanks guys for all your comments!!

My mail does appear in SOST and it just block from sending to external. One of my team said it'll work when my code move to production system.

arindam_m
Active Contributor
0 Kudos

Hi,

Check your SOST configuration and as advised check if the job to send mail is running in background. Your Basis team is your best guide on this.( I doubt its enabled from development system as it might end up with lot of junk mails in everybody's email )

Cheers,

Arindam

Former Member
0 Kudos

Daro,

     Is the mail entry appearing in SOST transaction and not being sent or its not appearing in SOST at all? If the mail appears in SOST and not being sent, contact basis team to get the issue resolved. Possibilities are that the mail filters in place or SMTP not been set up etc..

Hope this helps,

~Athreya