Skip to Content
author's profile photo Former Member
Former Member

Cannot sending mail using CL_BCS

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!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on May 26, 2013 at 02:57 PM

    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... 😈

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2013 at 05:31 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 27, 2013 at 12:31 AM

    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 ).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 27, 2013 at 11:22 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2013 at 02:22 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.