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

Problem with sender name CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

Former Member
0 Likes
356

Hi All ,

I am using below function module to send a mail to external email Id's , Everything is working perfectly .

But in the sender address I have passed text as 'infomation ' , In email which i am recieving sender address is like text and '@xyz.com' .

Any idea from where this @xyz.com is picking ? .

CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

EXPORTING

document_data = gd_doc_data

put_in_outbox = 'X'

sender_address = 'Information'

sender_address_type = 'INT'

commit_work = 'X'

IMPORTING

sent_to_all = gd_sent_all

TABLES

packing_list = it_packing_list

contents_bin = it_attachment

contents_txt = it_message

receivers = it_receivers

EXCEPTIONS

too_many_receivers = 1

document_not_sent = 2

document_type_not_exist = 3

operation_no_authorization = 4

parameter_error = 5

x_error = 6

enqueue_error = 7

OTHERS = 8.

1 REPLY 1
Read only

Clemenss
Active Contributor
0 Likes
302

Hi,

there is just one ueseful answer on any 'SO_DOCUMENT_SEND' related questions: CL_BCS. Start with [Unknown thus unloved?|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3443] [original link is broken] [original link is broken];. Then check the BCS Reports in your system.

Regards,

Clemens