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: 

How to change Sender mail addres in sapconnect.

ibrahim_u
Active Participant
0 Kudos

Hi,

I have searched this and i have found a thread, but i cant see it because when i click the link, giving a message "No message Found". Can you open this thread?

https://forums.sdn.sap.com/click.jspa?searchID=738174&messageID=1287908

Anyway, is it possible to change sender address when i am sending mail with FM SO_NEW_DOCUMENT_SEND_API1 ? How ?

I looked at fields of structures, but i haven't found a field to change sender addres.

Thanks

Ibrahim

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try the function module SO_DOCUMENT_SEND_API1 . This has got the parameter SENDER ADDRESS. Specify sender address & address type.

Reward if found useful.

Regards,

Barath.

2 REPLIES 2

Former Member
0 Kudos

Hi Ibrahim,

i can't also use the Link.

I use for sending this FM:

CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

EXPORTING

DOCUMENT_DATA = DOC_DATA

PUT_IN_OUTBOX = 'X'

COMMIT_WORK = 'X'

SENDER_ADDRESS = 'SAP_USER' "Your SAP User

SENDER_ADDRESS_TYPE = 'U'

TABLES

PACKING_LIST = OBJ_PACK

CONTENTS_TXT = OBJ_TXT

CONTENTS_BIN = OBJ_BIN

RECEIVERS = REC_LIST

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.

Perhaps you can use this FM

Regards, Dieter

Former Member
0 Kudos

Try the function module SO_DOCUMENT_SEND_API1 . This has got the parameter SENDER ADDRESS. Specify sender address & address type.

Reward if found useful.

Regards,

Barath.