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

Problem in the Class CL_BCS

Former Member
0 Likes
783

Hi All,

I used a function module ZNPI_SEND_MAIL which is copy from SDN.

When i executed this function module, some of the mail request can't found int SOST.

Does anybody know how to solve this problem ?

Regards,

Luke

Hi All,

I used a function module ZNPI_SEND_MAIL which is copy from SDN.

When i executed this function module, some of the mail request can't found int SOST.

Does anybody know how to solve this problem ?

Regards,

Luke

5 REPLIES 5
Read only

bharath_k6
Active Participant
0 Likes
727

Hi,

I am not sure about the code what you have written. May be cross check once again with the code that you copied from the SDN.

Try these:-

At end of the code, you must had written below code.

** Send email

     lo_send_request->send(

     EXPORTING

     i_with_error_screen = 'X'

     RECEIVING

     result = result ).

     COMMIT WORK.

In debugging, check what is the returned value in variable result.

if it is 'X', then mail must have been sent and you can see the same in SOST T-code.

It is 'X' and if you don't see a send request in SOST, then please check with BASIS team. I suppose, there will be some configuration done in SCOT transacton.

Best Wishes,

Bharath.

Read only

0 Likes
727

Hi Bharath,

Thanks your reply.

I can confirm you that the result value is "X" but some of the request can't find in SOST.

Do you think i need to double check with BASIS team.

Regards,

Luke

Read only

0 Likes
727

hi luke,

goto SCOT transaction.

You will be able to see different kind of connections for example fax ,email.

double click on the SMTP(under INT) and check the mail host address .

you can send the emails only to the host mentioned over there.

Read only

0 Likes
727

Hi Rajiv Sunkara,

If the e-mail address same with our testing environment sever, what i i do ?

Regards,

Luke

Read only

0 Likes
727

that would definitely resolve it.

If you double click on the smtp connection , a pop up comes up .

in the pop up ull find  general information

under general information you have a check box which says NODE IN USE.

check the check box node in use if it is not and check.it should resolve it.