Skip to Content
0
Former Member
Jun 10, 2008 at 09:04 AM

Urgent...

16 Views

Hi All,

I am using the function module to send mail

CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

EXPORTING

document_data = lwa_doc_data

sender_address =

sender_address_type =

put_in_outbox = 'X'

TABLES

packing_list = ta_objpack

object_header = ta_objhead

contents_bin = ta_objbin

contents_txt = ta_objtxt

receivers = ta_reclist

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.

Here the parameter 'sender_address' takes a default value sy-ucomm. So suppose i have a SAP login id 'vivek123' i am able to send mail from that id.

I am also able to send mail using my collegue's id also using my logon but chenging the value to a different id. But when i am trying to send mail from a id suppose 'customercare.er' i mail is not going.

Do the basis people need to create user with the same name or do they need to do some setting.

Please suggest some way for it or may be an alternative.

Regards,

Vivek Agarwal