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

Internet mail not coming in SOST

Hello Experts,

We have a custom program in our SRM system to send the mails to internet users. The mail functionality is working perfect across Dev and Test systems but not working correct in Acceptance and Production system. So I suspect that this issue pertains to some customizing/ external settings.

To elaborate more on the error: -

We have used methods of classes CL_BCS, CL_DOCUMENT_BCS, CL_SAPUSER_BCS to create the mail document and send it.

I have checked the SOST and SCOT settings as well. They are maintained correctly.

The funny part is when we use function "send" of class CL_BCS

CALL METHOD lo_send_request->send(
EXPORTING
i_with_error_screen = space
RECEIVING
result = l_sent_to_all ).

the parameter i_sent_to_all is set as 'X' at the end of the method execution which ideally indicates that the mails have been sent. And we are doing explicit commit also after the method. Nevertheless, we don't see any entry in the SOST transaction. (not even with the extended filter statues - "Still not entered in queue" and "Send date not yet reached").

I have checked other forums as well for the same error but could not see a satisfactory explanation to our situation.

I would really appreciate if you could hint on what could be malfunctioning in the system.

Best Regards,

Shreya

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 06, 2013 at 06:07 AM

    Hi shreya,

    Did you checked outbox flag as 'X'.

    Thanks & Regards,

    Ramu Velaga.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Thanks for your replies.

      The problem is solved. It was because of some parameters of SAP Office: system wide settings, which are accessed while setting the recipient through attribute gs_profile of class CL_BCS_REC_MANAGER.

      The values for work-area gs_profile is fetched from table SOPR (which is maintained through customizing).

      Hope the above info would be helpful to you guys.

      Cheers,

      Shreya

  • author's profile photo Former Member
    Former Member
    Posted on Mar 06, 2013 at 05:50 AM

    Dear shreya,

    Please use thie link

    http://it.toolbox.com/wiki/index.php/Setup_Sapconnect_Email_for_RZ20

    It will help you

    Regards,

    Prabaharan B

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Prabhaharan,

      Thanks for your response but i believe RZ20 is not the intended place that i need to check. I am not setting alerts but built a custom program to explicitly send mails.

      Also the other links are really informative, but could not help me with current issue.

      Best Regards,

      Shreya

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.