Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9155

Issue with FM SO_OBJECT_SEND for sending emails - the recepient list when checked in SOST is accumulated

$
0
0

Hi Experts,

 

I'm using SO_OBJECT_SEND inside a loop to send multiple emails for different documents. When I check in SOST, the recipient list is accumulated. For example, there are 3 documents that need to be sent to three different people.

 

Document 1 - sent to Mike Decker

Document 2 - sent to David Wasol

Document 3 - sent to Jack Damm

 

When I check SOST, the recipients are accumulated depending on the order of sending.

 

Document 1 - sent to Mike Decker

 

Document 2 -   sent to Mike Decker

                         sent to David Wasol

 

Document 3 -   sent to Mike Decker

                         sent to David Wasol

                         sent to Jack Damm


Here is my code below; also I'm sure that I_receivers only contains 1 person. Thanks in advanced.

 

              CALL FUNCTION 'SO_OBJECT_SEND'

                EXPORTING

                  folder_id                  = wa_object_id

                  object_hd_change           = wa_object_hd

                  object_type                = wa_object_type

                  outbox_flag                = c_x

                  owner                      = sy-uname

                IMPORTING

                  object_id_new              = wa_object_id

                TABLES

                  objcont                    = i_objcont

                  objhead                    = i_objhead

                  receivers                  = i_receivers


Viewing all articles
Browse latest Browse all 9155

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>