Skip to Content
avatar image
Former Member

3 User ids

Hi,

wf_initiator userid where will store,

i want to call 3 user ids (wf_initiator userid, the wf_initiator's supervisor and HR personnel) in agent assignment.

HR personnel is only one user, common for all users (i have user id, i will enter directly as agent)

but how can we collect all three users and send mail notification at a time.

Regards,

PS

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 08, 2007 at 04:34 AM

    Hi PS,

    this could be achieved if you have maintained a reporting structure thru PO13.

    If this is maintained, then you need to use FM's like RH_LEADING_POSITION.

    Also there are std. rules like 168 which identifies superior's.

    Hope it helps.

    Aditya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2007 at 01:23 PM

    hi,

    using step type until loop you can send the mail to them.

    create a aagent in container and assign al these three agents to them.

    these therr agents are already in workflow conatiner

    reward points if useful

    regards

    sathiya

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I need to send sap workplace mail notification after finish rejection and also after all mangers approved, need to send 3 userids, wf_initiator, HR personnel department manager and ,wf_initiator's superior.

      Regards,

      PS

  • avatar image
    Former Member
    Oct 08, 2007 at 11:07 AM

    Hi,

    I guess you can collect the 3 user id's by creating one internal table of type SWHACTOR and then while collecting the user ids using the logic put everything in the internal table, which can be done by using the multiline option in the workflow container to store multiple entries. Pass this variable to the Sent mail activity and it sill send it to all the users in the internal table

    Add comment
    10|10000 characters needed characters exceeded