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: 

Forwarding the SAP mails

Former Member
0 Kudos

hi

i am sending some mails from SAP to internet mail ids ,some of them are undelivered and we can see only the undelivered mails in scot ,so is there any possibility that we can forward those mails from SAP to our own valid recievers .

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos

hi kittu,

try with method forward.of class CL_BCS (Business Communication Service).

You have to create a request using CL_SEND_REQUEST_BCS=>CREATE_FROM_MSG_ID. This can't be called directly. So either create a new class derived from that or check if it's possible with method CREATE_LINK.

Just an idea that may help you.

Regards,

Clemens

6 REPLIES 6

Former Member
0 Kudos

is there any way that we can redirect these mails

Clemenss
Active Contributor
0 Kudos

hi kittu,

try with method forward.of class CL_BCS (Business Communication Service).

You have to create a request using CL_SEND_REQUEST_BCS=>CREATE_FROM_MSG_ID. This can't be called directly. So either create a new class derived from that or check if it's possible with method CREATE_LINK.

Just an idea that may help you.

Regards,

Clemens

Former Member
0 Kudos

any idea?

Former Member
0 Kudos

Hi guys does anyone have any idea on this ,please reply it is very urgent

Clemenss
Active Contributor
0 Kudos

Hi Kittu,

what did you try regarding my recommendmends?

Regards,

Clemens

Former Member
0 Kudos

inorder to forward the mail i need to capture the mail bounced back from SAP ,how can i capture the whole mail (body) that is bounced back(error type E in sost table)

send that?could you please be more elobarative of how i could forward the mails using CL_BCS.

i am actually using this classes to send the mails too.

could you please help me tecnically(code) of how exactly i could forward the mails

are there any web blogs related to this?