on 11-03-2006 10:07 AM
Dear All,
I have a scenario where I am converting a smartform output (Shipment) into PDF format and attaching it and sending it as an email using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
The requirement is to change sender address based on the sales org. The Email id will be maintained in a custom table.
The standard functionality puts the sender address as the person who processes the message. Does anyone have an idea how to change the sender address in this case? Any inputs on this would be highly appreciable.
Thanks in advance.
Warm Regards
Anurag Agarwal
FM SO_NEW_DOCUMENT_ATT_SEND_API1 calls another FM SO_DOCUMENT_SEND_API1 with export parameters sender_address and sender_address_type, you can call this directly instead and specify the sender parameter(logic of who this is you will have worked out on your code). If address is email, then specify smtp as type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Is this possible..The thing is that those who run report, his email id will come in the email send.
If we show some else email ID there its a FRAUD!! thing.
regards
Anver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create an internal table for your custom table. Then loop at internal table and call SO function module changing the mail id for every loop. That's it.
Feel free to revert back.
reward if helpful
--Ragu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.