Enhancing SAP HCM - Thoughts and opinions hcm

Download Enhancing SAP HCM - Thoughts and opinions hcm

Post on 21-Nov-2014




9 download

Embed Size (px)


Slide deck from presentation given at #SAUG Plenary in Melbourne Nov 2011 - all views contained are my own and do not reflect those of my employer or SAP.


  • 1. How to get the best out of HCM
    • Chris Paine
  • SAP Mentor 2011
  • Consultant
  • Presence of IT

2. When Good just wont cut it

  • SAP standard HCM delivers a good solution
  • For most of us its not 100% what we want
  • 2 choices:
    • Change the company to fit SAP
    • Change SAP to fit the company

3. But the Unmentioned Law

  • Dont stuff it up and dont cost me a fortune!

4. Changing SAP

  • Enhancing not modifying!
  • Some key areas
    • Triggering something off an update
    • WDA versus WDJ and Classic Dynpro
    • Decoupled Infotype Framework
    • Build your own versus adapt some standard (BYOASS)

5. Triggering off an update

  • Multiple use cases
    • Want to create/update additional data records when some information updated.
      • E.g. Removing a reminder when a qualification has been obtained
    • Causing an external action.
      • E.g. Creating a user when a user id is entered against a person
    • Notifying another party.
      • E.g. Starting a workflow to update key data when a new hire is entered

6. Where to trigger, the good, bad and ugly

  • Ugly
    • Custom infotype screen logic in customer include area
  • Bad
    • Dynamic Actions Table T588Z
    • User Exits (EXIT_SAPFP50M_00n (n=1,2), exit HRBAS001)
  • Good
    • Enhancement spots!

7. Triggering an update within Enhancement Spot HRPAD00INFTYBL

  • Only trigger on DB update not on check! Use in update task extension of FM to update infotypes (otherwise locking/buffer issues).
  • Many standard implementations use them as guidelines

8. WDA versus WDJ and Classic Dynpro

  • WDA gives a lot of flexibility in enhancing much more than we have been used to
    • Method pre and post and replace,
    • View enhancement: remove, replace, adjust
    • Replace entirely and re-use model
    • Application and component configuration
  • FPM gives even more flexibility
    • Detailed configuration options

9. So many options! 10. Add, delete, copy, its all there 11. Flexible layout configuration (OVP floorplan of WDA FPM) 12. GUIBB configuration (WDA ESS EhP5) 13. WDA versus WDJ and Classic Dynpro

  • Dont bother enhancing WDJ code
    • No simple way to detect changes when support packs applied
    • Creating a custom solution may mean look and feel differs from SAP solution
  • Enhance WDJ screens through configuration
  • Classic Dynpro screens sometimes have areas for customer enhancements

14. &sap-config-mode=X Ctrl-Shift Right-Click 15. CI_includes 16. Adding new field to WDJ

  • Insert fields in CI include
  • Go to personalisation
    • View main structure
    • Add custom extension fields
    • Remember to map fields either to custom field in infotype, or through conversion classes.

17. Custom Extension Fields 18. Decoupled Infotype Framework

  • The new way to read, create and update infotype records.
  • PA and OM Infotypes Time is only notionally supported (is very different logic)
  • Main difference do update, get results,thendecide whether to commit result to database.

19. Decoupled Infotype framework components

  • Check classes
    • Infotype and country version dependent E.g. CL_HRPA_INFOTYPE_0008_13
    • Manipulates data to pass to user E.g. Evaluating indirectly evaluated wagetypes.
    • Independent of any screen logic
    • Can be replaced with custom version (modify table T582ITVCLAS (but really not recommended!))
    • Explicit enhancement points
      • Enhancement Spot HRPAD00INFTYBL

20. Enhancement for Business Logic Check classes N.B. possibility to intercept DB update, not really part of BL check classes but a very valuable exit! 21. Decoupled Infotype framework components

  • Conversion Classes
    • Convert between infotype structure Pnnnn and screen structure
    • E.g. HCMT_BSP_PA_AU_R0008 converted by class CL_HRPA_UI_CONVERT_0008_AU (see table T588UICONVCLAS)
    • Explicit enhancement points
      • Enhancement Spot HRPAD00INFTYUI

22. Enhancement Spot for Conversion Classes 23. Deprecated (I think) cool stuff

  • Generic Text Reader
    • Part of decoupled framework but does not appear to be implemented in latest BOL layer over DCIF use with caution!
    • TableV_T588AUTO_TEXTC
  • Required/Read Only fields
    • Occasionally referenced in Check Classes not part of BOL implementation (AFAIK)
    • TableT588MFPROPC

24. Build your own versus adapt some standard

  • Build your own solution

Pros Cons Complete controlNo base to work from Can be designed for reuse Takes a good knowledge of eventual use cases to make reusable Have functionality that is of business benefitSAP may release similar solution in near future which could be Relatively safe from upgrade/support pack changes Requires extensive documentation to support 25. Build your own versus adapt some standard

  • Adapt a standard solution

Pros Cons A working base to improve on Underlying SAP code not documented can be tricky to enhance Benefit from SAP enhancements Not exactly as per user requirements Return to standard with lower support cost is easier Limited to areas where SAP already have some kind of implementation Less development to document Development needs extensive regression testing on support pack/upgrade 26. Too much or too little or not enough? 27. Thank you for your time

  • Questions?

28. Paying It Forward Call me! [email_address][email_address] Twitter @wombling