Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Dynamic Actions on Steroids Session 301 Donna Wendling Sherryanne Meyer
<ul><li>Who Is Air Products? </li></ul><ul><li>Today’s Objectives  -- Learning Points </li></ul><ul><li>Brief Overview –  ...
Who is Air Products Fast Facts <ul><li>Global gases, chemicals, equipment and services provider </li></ul><ul><li>Serving ...
Who is Air Products HOMECARE   HYDROGEN SPECIALTY GASES HELIUM POLYMERS NITROGEN
SAP HR Countries UK Ireland Belgium Netherlands Germany France United States Canada Spain, Italy, Portugal Indonesia Singa...
SAP-HR and Air Products <ul><li>2001  Org Management, HR Admin, Compensation, Benefits, Time Entry, US Payroll, Structural...
Today’s Objectives:   Learning Points <ul><li>What is a Dynamic Action and what can it do for you  </li></ul><ul><ul><li>A...
Brief Overview –   What is a Dynamic Action? <ul><li>As defined by SAP </li></ul><ul><li>Dynamic actions trigger automatic...
Brief Overview –   Personnel Action vs Dynamic Action <ul><li>Personnel Actions are a series of Infotypes that are added, ...
The Basics -   Components of a Dynamic Action IType :  Infotype that triggers the dynamic action Sty :  Focus on a specifi...
The Basics – Variable Function Part <ul><li>Values of an old data record are in  structure PSAVE .  </li></ul><ul><li>Oper...
The Basics –  RP50D Structure – Return Values
Scenario 1 Date Specifications -  Populating Key Dates Dynamically
Scenario 1 – Date Specifications  Create Key Dates <ul><li>Hire Action (Z1) </li></ul><ul><li>Dynamic action will create I...
Create  IT0041 and populate dates  Personnel Action Z1 Create Date Types
End Result
Scenario 1 – Date Specifications Challenge:  Update  Key Dates <ul><li>Anytime Pay Scale Group changes on Infotype 0008 (B...
Answering The Challenge 1. Check Previous Pay Scale Group Not equal to New Pay Scale Group 2. Call procedure to locate X6 ...
Walk Through: Update Existing Date Type Example: In the Org Reassignment Action, Pay Scale Group is updated on Infotype 00...
Procedure to Update Existing Date Type
Walk Through: Update Date Type  cont’d
Scenario 2 Default Tax Area Based on Work Location
Scenario 2  –  Default U.S. Work Tax Area <ul><li>Hire (Z1), Rehire (Z2) or  Org Reassignment (U2) Actions </li></ul><ul><...
Scenario 2  – Default Tax Area Based on IT0001-Org Reassignment PSA=157 Work Tax =KY0J
End Result
Scenario 2 – Default Tax Area The Challenge –Too many Tax Areas! <ul><li>There are so many work Tax Areas to default – we’...
The Challenge –Too many Tax Areas! <ul><ul><li>1. Check Action is Hire (Z1), Rehire (Z2) or  Org Reassignment (U2)   and C...
Walk Thru – New Dynamic Action
Procedure for new dynamic action…
Walk Thru – New Dynamic Action  cont’d
Scenario 3 From IT0002-Personal Data Create IT0021-Family Member
Scenario 3 – Personal Data Create IT0021 Family Related Persons <ul><li>Hire (Z1) action </li></ul><ul><li>Dynamic Action ...
Create IT0021 Family Related Persons  If # Deps = 1, Insert IT0021
Create IT0021 Family Related Persons
End Result
Scenario 3  –  Personal Data The Challenge –  Adding  Dependents <ul><li>Dynamic action for entries into # of dependents w...
Answering the Challenge <ul><ul><li>1. Check previous # is less than new # of Dependents </li></ul></ul>2. Call Procedure ...
Determining previous entry
Walk Through – New dynamic action
Procedure for new dynamic action PCL4 cluster stores the changes made to infotype documents.
Procedure for new dynamic action
 
Family/Related Persons Infotype dynamically appears first time. Enter first dependent information Save
Family/Related Persons Infotype dynamically appears second time. Enter second dependent information Save
Or you could………..
Much Simpler code……
Return on Investment <ul><li>Data Integrity </li></ul><ul><ul><li>Controls placed in system to ensure accuracy  </li></ul>...
Key Learnings <ul><li>Nothing is foolproof -  80/20 Rule  </li></ul><ul><li>Dynamically some business processes can be ena...
Thank you for participating!  Please remember to complete and return your session evaluation form following this session. ...
Upcoming SlideShare
Loading in …5
×

Dynamic Actions On Steroids

2,476 views

Published on

Dynamic Actions On Steroids

  1. 1. Dynamic Actions on Steroids Session 301 Donna Wendling Sherryanne Meyer
  2. 2. <ul><li>Who Is Air Products? </li></ul><ul><li>Today’s Objectives -- Learning Points </li></ul><ul><li>Brief Overview – What is a Dynamic Action? </li></ul><ul><li>The “Basics” - Components of a Dynamic Action </li></ul><ul><li>Various Scenarios </li></ul><ul><ul><li>Date Specifications </li></ul></ul><ul><ul><li>Tax Area </li></ul></ul><ul><ul><li>Family/Related Persons </li></ul></ul><ul><li>How To “Kick it up a Notch” </li></ul>Today’s Agenda MORE POWER!!!!!
  3. 3. Who is Air Products Fast Facts <ul><li>Global gases, chemicals, equipment and services provider </li></ul><ul><li>Serving technology, energy, healthcare and industrial markets </li></ul><ul><li>Fortune 500 company </li></ul><ul><li>Chemical industry safety leader </li></ul><ul><li>Operations in more than 30 countries </li></ul><ul><li>~20,000 employees worldwide </li></ul><ul><li>Known for our innovative culture and operational excellence </li></ul>
  4. 4. Who is Air Products HOMECARE HYDROGEN SPECIALTY GASES HELIUM POLYMERS NITROGEN
  5. 5. SAP HR Countries UK Ireland Belgium Netherlands Germany France United States Canada Spain, Italy, Portugal Indonesia Singapore Malaysia China Hong Kong Japan Korea Taiwan Israel
  6. 6. SAP-HR and Air Products <ul><li>2001 Org Management, HR Admin, Compensation, Benefits, Time Entry, US Payroll, Structural Security, ESS, MDT </li></ul><ul><li>2002 Appraisals, C&SP, TEM, Workflow, BW </li></ul><ul><li>2002 HR / ERP Integration </li></ul><ul><li>2003 HR Phase 3 – Southern Europe </li></ul><ul><li>2004 HR Phase 4 – Asia </li></ul><ul><li>2004 Recognized SAP Certified Competency Center </li></ul><ul><li>2005 MSS-Phase 1 </li></ul><ul><li>2006 ECC 5.0, Learning Solution, Israel </li></ul>
  7. 7. Today’s Objectives: Learning Points <ul><li>What is a Dynamic Action and what can it do for you </li></ul><ul><ul><li>Automate business processes – </li></ul></ul><ul><ul><ul><li>Saves time by performing routine tasks </li></ul></ul></ul><ul><ul><li>Insure data integrity </li></ul></ul><ul><ul><li>Empower Global Power Users to successfully manage data </li></ul></ul><ul><li>Create new and improved Dynamic Actions </li></ul><ul><li>Maximize the power of a Dynamic Actions </li></ul>* None of the employees or data represented on the following slides is real.
  8. 8. Brief Overview – What is a Dynamic Action? <ul><li>As defined by SAP </li></ul><ul><li>Dynamic actions trigger automatic processing when specific infotype records are maintained. </li></ul><ul><li>The advantage of dynamic actions is that the system saves you time by performing routine tasks </li></ul>
  9. 9. Brief Overview – Personnel Action vs Dynamic Action <ul><li>Personnel Actions are a series of Infotypes that are added, changed, completely or partially deleted or delimited for the reason specified (i.e. Hiring, Leave, Termination, etc.) </li></ul><ul><li>Dynamic actions are automated and can use decision logic to enhance a Personnel Action for maintenance of a specific Infotype </li></ul>
  10. 10. The Basics - Components of a Dynamic Action IType : Infotype that triggers the dynamic action Sty : Focus on a specific subtype Field n: Start action when maintaining a specific field No : Sequence number Variable Function Part: Specifies the processing details when the dynamic action is triggered FC: Maintenance Operation 02 – Change 04 – Create 06 – Create and change 08 – Delete 10 – Change and Delete 12 – Create and Delete S: Step Indicator P – Check conditions I – Maintain Infotype Record W – Default values for a new record V – Reference to another step F – Call a FORM routine (subroutine in ABAP); M – Send Mail
  11. 11. The Basics – Variable Function Part <ul><li>Values of an old data record are in structure PSAVE . </li></ul><ul><li>Operations on Infotypes can be run in the background by entering /D at the end of the line. </li></ul><ul><li>Logical OR links must be indicated by /X . </li></ul><ul><li>When calling a routine you can use internal (module pool) and external routines </li></ul><ul><ul><li>When calling an external routine, enter name of program in parentheses after the form name </li></ul></ul><ul><ul><li>It is not possible to transfer parameters to the routine </li></ul></ul><ul><ul><li>For transferring values from the routine you can use fields in the RP50D structure </li></ul></ul>
  12. 12. The Basics – RP50D Structure – Return Values
  13. 13. Scenario 1 Date Specifications - Populating Key Dates Dynamically
  14. 14. Scenario 1 – Date Specifications Create Key Dates <ul><li>Hire Action (Z1) </li></ul><ul><li>Dynamic action will create Infotype 0041 (Date Specifications) in background and populate various dates for that employee </li></ul><ul><ul><ul><ul><ul><li>Original Hire Date (Z1) </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Employment Date (Z4) </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Date in Grade (X6) </li></ul></ul></ul></ul></ul>
  15. 15. Create IT0041 and populate dates Personnel Action Z1 Create Date Types
  16. 16. End Result
  17. 17. Scenario 1 – Date Specifications Challenge: Update Key Dates <ul><li>Anytime Pay Scale Group changes on Infotype 0008 (Basic Pay) – Automatically update the Date in Grade (X6) on Infotype 0041 (Date Specifications) </li></ul><ul><li>BUT ……How do I find the Date in Grade (X6) on Infotype 0041 and update it using a Dynamic Action ???????? </li></ul>
  18. 18. Answering The Challenge 1. Check Previous Pay Scale Group Not equal to New Pay Scale Group 2. Call procedure to locate X6 Date Type and set RP50D-FIELD1 3. Copy IT 41 in Background 4. Check Value of RP50D-Field1. Update X6 date on IT 41
  19. 19. Walk Through: Update Existing Date Type Example: In the Org Reassignment Action, Pay Scale Group is updated on Infotype 0008 (Basic Pay)
  20. 20. Procedure to Update Existing Date Type
  21. 21. Walk Through: Update Date Type cont’d
  22. 22. Scenario 2 Default Tax Area Based on Work Location
  23. 23. Scenario 2 – Default U.S. Work Tax Area <ul><li>Hire (Z1), Rehire (Z2) or Org Reassignment (U2) Actions </li></ul><ul><li>Dynamic Action will Create Infotype 208 (Work Tax Area) and default Tax Area based on employees Personnel Subarea (work location) </li></ul>
  24. 24. Scenario 2 – Default Tax Area Based on IT0001-Org Reassignment PSA=157 Work Tax =KY0J
  25. 25. End Result
  26. 26. Scenario 2 – Default Tax Area The Challenge –Too many Tax Areas! <ul><li>There are so many work Tax Areas to default – we’re running out of room on dynamic action table for Infotype 0001 – maximum 999 lines </li></ul><ul><li>So how can I manage all the Tax Areas necessary without maxing out the Dynamic actions table entries for 0001?????? </li></ul>
  27. 27. The Challenge –Too many Tax Areas! <ul><ul><li>1. Check Action is Hire (Z1), Rehire (Z2) or Org Reassignment (U2) and Country is US </li></ul></ul><ul><ul><li>2. Call Procedure to lookup Work Tax Area based on PSA on IT 0001. Set value of RRP50D-FIELD1 </li></ul></ul>3. Insert Infotype 0208 4. Write RP50D-Field1 to Work Tax area and set percent to 100
  28. 28. Walk Thru – New Dynamic Action
  29. 29. Procedure for new dynamic action…
  30. 30. Walk Thru – New Dynamic Action cont’d
  31. 31. Scenario 3 From IT0002-Personal Data Create IT0021-Family Member
  32. 32. Scenario 3 – Personal Data Create IT0021 Family Related Persons <ul><li>Hire (Z1) action </li></ul><ul><li>Dynamic Action will Create Infotype 0021 (Family/Related Person) Subtype 2 (Child) for every dependent </li></ul><ul><li>Evaluate # of dependents (ANZKD) when Infotype 0002 (Personal Data) is created </li></ul>
  33. 33. Create IT0021 Family Related Persons If # Deps = 1, Insert IT0021
  34. 34. Create IT0021 Family Related Persons
  35. 35. End Result
  36. 36. Scenario 3 – Personal Data The Challenge – Adding Dependents <ul><li>Dynamic action for entries into # of dependents works great on the initial Hire action …. </li></ul><ul><li>BUT……How can create the correct number of Infotype 0021 (Family/Related Person) anytime Infotype 0002 is changed or created and # of dependents (ANZKD) is increased. </li></ul>
  37. 37. Answering the Challenge <ul><ul><li>1. Check previous # is less than new # of Dependents </li></ul></ul>2. Call Procedure to get previously saved # of Dependents and calculate the difference. Set RP50D-FIELD1 3. Check value of RP50D-Field1. Insert correct number of IT0021, Sty 2 records.
  38. 38. Determining previous entry
  39. 39. Walk Through – New dynamic action
  40. 40. Procedure for new dynamic action PCL4 cluster stores the changes made to infotype documents.
  41. 41. Procedure for new dynamic action
  42. 43. Family/Related Persons Infotype dynamically appears first time. Enter first dependent information Save
  43. 44. Family/Related Persons Infotype dynamically appears second time. Enter second dependent information Save
  44. 45. Or you could………..
  45. 46. Much Simpler code……
  46. 47. Return on Investment <ul><li>Data Integrity </li></ul><ul><ul><li>Controls placed in system to ensure accuracy </li></ul></ul><ul><ul><ul><li>(i.e., of tax authority) </li></ul></ul></ul><ul><li>Efficiency </li></ul><ul><ul><li>Time saved in entering infotypes repeatedly </li></ul></ul><ul><li>Enables downstream processes </li></ul><ul><ul><li>Compensation Planning process more efficient with Date in Grade </li></ul></ul>
  47. 48. Key Learnings <ul><li>Nothing is foolproof - 80/20 Rule </li></ul><ul><li>Dynamically some business processes can be enabled </li></ul><ul><li>Dynamically some data entry can be automated </li></ul><ul><li>Basic Dynamic Actions can provide value added benefits </li></ul><ul><ul><li>Automating business processes – saves time by performing routine tasks </li></ul></ul><ul><ul><li>Insuring data integrity </li></ul></ul><ul><ul><li>Empowering Global Power Users to successfully manage data </li></ul></ul><ul><li>Dynamic Actions enhanced with some simple ABAP code make the impossible possible </li></ul>
  48. 49. Thank you for participating! Please remember to complete and return your session evaluation form following this session. Donna Wendling Sherry Meyer Session Code 301

×