Transcript
Page 1: Enhancing SAP HCM - Thoughts and opinions hcm

How to get the best out of HCM

Chris PaineSAP Mentor 2011

ConsultantPresence of IT

Page 2: Enhancing SAP HCM - Thoughts and opinions hcm

When “Good” just won’t cut it

• SAP “standard” HCM delivers a good solution

• For most of us it’s not 100% what we want• 2 choices:

Change the company to fit SAP Change SAP to fit the company

Page 3: Enhancing SAP HCM - Thoughts and opinions hcm

But the Unmentioned Law

Don’t stuff it up and don’t cost me a fortune!

Page 4: Enhancing SAP HCM - Thoughts and opinions hcm

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

(BYO ASS)

Page 5: Enhancing SAP HCM - Thoughts and opinions hcm

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

Page 6: Enhancing SAP HCM - Thoughts and opinions hcm

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!

Page 7: Enhancing SAP HCM - Thoughts and opinions hcm

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

Page 8: Enhancing SAP HCM - Thoughts and opinions hcm

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

Page 9: Enhancing SAP HCM - Thoughts and opinions hcm

So many options!

Page 10: Enhancing SAP HCM - Thoughts and opinions hcm

Add, delete, copy, it’s all there

Page 11: Enhancing SAP HCM - Thoughts and opinions hcm

Flexible layout configuration (OVP floorplan of WDA FPM)

Page 12: Enhancing SAP HCM - Thoughts and opinions hcm

GUIBB configuration (WDA ESS EhP5)

Page 13: Enhancing SAP HCM - Thoughts and opinions hcm

WDA versus WDJ and Classic Dynpro

• Don’t 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

Page 14: Enhancing SAP HCM - Thoughts and opinions hcm

&sap-config-mode=XCtrl-Shift Right-Click

Page 15: Enhancing SAP HCM - Thoughts and opinions hcm

CI_includes

Page 16: Enhancing SAP HCM - Thoughts and opinions hcm

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.

Page 17: Enhancing SAP HCM - Thoughts and opinions hcm

Custom Extension Fields

Page 18: Enhancing SAP HCM - Thoughts and opinions hcm

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, then decide whether to commit result to database.

Page 19: Enhancing SAP HCM - Thoughts and opinions hcm

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

Page 20: Enhancing SAP HCM - Thoughts and opinions hcm

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!

Page 21: Enhancing SAP HCM - Thoughts and opinions hcm

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

Page 22: Enhancing SAP HCM - Thoughts and opinions hcm

Enhancement Spot for Conversion Classes

Page 23: Enhancing SAP HCM - Thoughts and opinions hcm

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!

Table V_T588AUTO_TEXTC• Required/Read Only fields

Occasionally referenced in Check Classes not part of BOL implementation (AFAIK)

Table T588MFPROPC

Page 24: Enhancing SAP HCM - Thoughts and opinions hcm

Build your own versus adapt some standard• Build your own solution

Pros Cons

Complete control No 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 benefit

SAP may release similar solution in near future which could be

Relatively safe from upgrade/support pack changes

Requires extensive documentation to support

Page 25: Enhancing SAP HCM - Thoughts and opinions hcm

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

Page 26: Enhancing SAP HCM - Thoughts and opinions hcm

Too much or too little or not enough?

Page 27: Enhancing SAP HCM - Thoughts and opinions hcm

Thank you for your time

• Questions?

Page 28: Enhancing SAP HCM - Thoughts and opinions hcm

Paying It Forward – Call me!

[email protected][email protected] – Twitter @wombling


Top Related