01-15-2007 1:33 PM
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
01-15-2007 2:17 PM
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.
01-15-2007 2:14 PM
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
01-15-2007 2:17 PM
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.