Application Development 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: 

Sender Address coming twice in SOST

0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

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