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

Custom Order sequence for Multiple Email addresses

0 Likes
3,128

Hello.

I use FM SO_OBJECT_SEND and send emails with attach successfully

for all appends i have in receivers (LIKE soos1).

But I want to define the sequence display in TO: ,CC: when send email.

How i can do this?

Hello.

I use FM SO_OBJECT_SEND and send emails with attach successfully

for all appends i have in receivers (LIKE soos1).

But I want to define the sequence display in TO: ,CC: when send email.

How i can do this?

12 REPLIES 12
Read only

matt
Active Contributor
2,770

Don't use SO_OBJECT_SEND. Use the CL_BCS classes. These are far less problematic than the function modules and easier to use. They are well documented and there are many blogs and examples concerning their use.

Read only

0 Likes
2,770

Thanks for your answer.With this class i will resolve my problem?

Read only

0 Likes
2,770

1) Use reply to reply to a comment or an answer. Don't make an answer.

2) It will certainly make it easier for you, and it may fix the problem.

Read only

0 Likes
2,770

Its better than SO but didn't find solution..

Also i find this

https://archive.sap.com/discussions/thread/3813520

Read only

0 Likes
2,770

Refer the programs BCS_EXAMPLE*

Read only

0 Likes
2,770

there is no match any example..There also bcs_test* without such a scenario.

Read only

jozsef_hegyi
Product and Topic Expert
Product and Topic Expert
0 Likes
2,770

Dear Periklis

please check our example report RSBCS_EXAMPLE_EMAIL. Here you can find the way how to set the sender as cc or bcc

Best regards JozsefH

Read only

0 Likes
2,770

Thank you for your time.

I set CC & BCC correctly.But i want define output display sequence.

Example : CC: [email protected];[email protected]

But i want send mail with this order

CC: [email protected];[email protected].


Read only

matt
Active Contributor
2,770

I set CC & BCC correctly.But i want define output display sequence.

Example : CC: [email protected];[email protected]

But i want send mail with this order

CC: [email protected];[email protected].

Why? What difference does it make? You've no control over the actual order of sending in time - either one could be sent before the other, or received before the other.

What matters surely is the recipient receives their email

Read only

0 Likes
2,770

For me it has no difference.I was asked for this.

Read only

matt
Active Contributor
2,770

Then it is your job to reply to the person answer something like:

Why? What difference does it make? You've no control over the actual order of sending in time - either one could be sent before the other, or received before the other.

It is part of a developers job to push back when so-called requirements are stupid.

Read only

Florian
SAP Champion
SAP Champion
0 Likes
2,770

Additional to Jozsef, here is a blog with almost all coding you need:-)

https://blogs.sap.com/2012/09/28/sap-abap-sending-mails-optionsadd-sender-add-multiple-recipients-as...