on 01-09-2008 12:16 PM
Hi guys,
We are facing an issue with SRM PO Email output.
The sender address of the Email is showing as Workflow system instead of the Username who has created the PO.
Any suggestions?
Thanks,
naga.
Hi Nagarajan,
Yes the output of the po is normally done with the batch user (Wf-batch).
What do you want to do exactly?
Regard,
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laurent,
Thx for the reply.
What we need is, the Sender address of the Email should be the Username who has actually created the PO. Say for example, ESBUYER99 is the user who is creating the PO. Then the Sender address of the Email should be ESBUYER99@domain.com.
Can you suggest me, how to arrive this?
Thanks,
naga.
Hi naga,
I think you can do this this way :
Your PO is sent by mail so there is certainly a method called like : PROCESS_BBP_PO_MAI where your smartform is called. At the end of this method there is a function module called to send the mail : CALL FUNCTION 'SO_DOCUMENT_SEND_API1' this function contains parameter "sender_address". You should change this parameter by the mail of po requester. To find the mail of po requester you have to call : BBP_PD_PO_GETDETAIL and then find the requesters mail. Anyway try first with hardcoded mail to test it. You would also need to copy the standard class which is triggering this method in order to modify the code.
Tell me if this answers your question and reward points if helpfull.
Best regards,
Laurent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.