cancel
Showing results for 
Search instead for 
Did you mean: 

where do we need to chage in the workflow for the follwoing problem

Former Member
0 Kudos

development will need to adjust the existing code to pull email address from 105 currently the email address is derived from pmfkey@ca.com – Greg will provide update on this item

Accepted Solutions (1)

Accepted Solutions (1)

KKilhavn
Active Contributor
0 Kudos

Use BAPI_EMPLCOMM_GETLIST and look for an entry with subtype 10 (this one is SAP standard I believe) or any custom subtype which should hold e-mail address.

(Assuming I understood what you were asking about...)

Answers (2)

Answers (2)

former_member184112
Active Contributor
0 Kudos

Hello,

What you are saying. Don't throw simply, Make it clear.

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Kudos

i was given an HR work flow where the email approvals or rejections are sent to the initiators or next level managers and i was given an issue that previously the mail used to be sent to userid@***.com(userid from it0105 where subtype = 1)

now i need to replace the email address with user_id (which has the complete email address in pa0105 where subtype = '010')

?? now where and how can i find in the work flow where that relevant codeis inserted

former_member184112
Active Contributor
0 Kudos

Hi Kittu,

Use this FM " <b>HR_FBN_GET_USER_EMAIL_ADDRESS</b> "

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Kudos

hi where can we find this FM in Work flow builder

Former Member
0 Kudos

hi

wher do we need to inser this fmodule in the Workflow builder

former_member184112
Active Contributor
0 Kudos

Hi Kittu,

Call this FM in Method Program in your Business Object.

Thanks and Regards,

Prabhakar Dharmala

KKilhavn
Active Contributor
0 Kudos

There may be a mail-sending step that simply specified that the initiator is the receiver of the e-mail. You have several possibilities for changing this.

If you have an employee object in the workflow container you can enhance the BOR object type (i.e. create a subtype and delegate to this subtype) with a virtual attribute in which you hold the e-mail address, which you find using the aforementioned function module.

Alternatively you can create a method for the main object type of your workflow and make it return the e-mail address.

In any case you then bind your virtual attribute/returned e-mail address to the recipient field (task container element) of the mail-sending step. Some

Former Member
0 Kudos

Your question is not clear, please explain it in a better way/