Skip to Content
0

Sender Address coming twice in SOST

Nov 10, 2016 at 06:52 AM

115

avatar image
Former Member

Hi All,

I am using CL_BCS to send a mail with attachment.

In my sender details I have used Email ID instead of Sy-uname using below code

"

lo_sender = cl_cam_address_bcs=>create_internet_address( lv_email ).

CALL METHOD lo_send_reqt->set_sender
EXPORTING
i_sender = lo_sender .

"

But in my SOST the mail is triggering twice with the email id from lv_email and my sy-uname.

can anybody help me to overcome this issue.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Nov 10, 2016 at 09:11 AM
0

Hi Meenakshi Gnana Kannan,

I can understand your issue.

I can Suggest you something regarding, SAP user id details,

Every User ID in sap may assign to some email id. Whenever any mail triggered from that mail id will be sent with sender as mail id(Which mail id assigned to that user id) automatically. you can check in SOST for mail status.

Here This is suggestion not solutions to your issue, May be it will help you.

Try remove mail id from user id with the help of your local Basis Consultant.

Then you can trigger your program and check.

Note: you can use Transaction Code SU01(Better inform to Basis Consultant they will do it for you, since you might not have authorization)

Thanks,

Sivaraj Sadasivam.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Sivaraj,

Thanks for your reply.

I have solved my problem.

This is an enhancement program before my condition there was already a send_data form was called with same logic above. So based on my condition I created another enhancement and skip that form instead leading for duplicate.

Thanks & Regards,

Meenakshi

1