cancel
Showing results for 
Search instead for 
Did you mean: 

PO Email output sender address

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

laurent_touillaud
Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

laurent_touillaud
Contributor
0 Kudos

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