Skip to Content
avatar image
Former Member

ESS - Dynamic actions

Hello,

Can we use dynamic actions in ESS. ex: employee changes his/her address, we need to send an email to the department and the employee too.. I tried setting it up and testing it.. does not work. The email can be sent when I make changes using PA30. Just wanted to confirm here if dynamic actions work in ESS.

My other option will beusing workflow.. any idea which business object to use to catch the triggering event "changed" .

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Jul 13, 2007 at 01:04 PM

    ESS services use RFC calls/ mostly HR_INFOTYPE_OPERATION to update Employee Master Data & do not go via PA30..I am almost positive you have to go in for Workflow..

    ~Suresh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 13, 2007 at 01:21 PM

    Business Object is <b>EmployeePrivAddress</b> u can use Object type : <b>ADDRESSEMP</b> as the triggering events for the workflow, with event <b>Change</b>.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I have recently done exactly the same Dynamic action for change of address and have found out they do not work via ESS.

      All that work wasted...

      If you have found a way around it please let me know.

      I will be looking at creating workflow for it now. if you have found any steps on this, please let me know.

      Cheers

      Sam

  • avatar image
    Former Member
    Jul 15, 2007 at 11:53 AM

    Hello Mark,

    i have successfully implemented such a requirenment several times already. Check transaction SWEHR2 (SAP-Entries) and SWEHR3 (Customer Entries).

    create a new entry with transaction SWEHR3 for infotype 0006:

    OT: P

    IType: 0006

    VBOper: DEL / INS /UPD (3 entries in total)

    LfdNr: (e.g. 901 ... )

    OBJECTYPE: ADDRESSEMP

    Funktion Module: Custom FM (a specific interface is required: check FM: HR_EVENT_RULES_PA0006)

    In this FM now get sure that you just process the email-sending when you are coming from ESS and not via the PA30 transaction. A simple sy-tcode is initial or sy-tcode <> 'PA30' is sufficient.

    .. Now simply add your coding to send an email. This solution works perfectly smooth.

    regards,

    Markus

    Add comment
    10|10000 characters needed characters exceeded