SAP Knowledge Base Article - Public

2163077 - Base Objects in Business Rules Do Not Support All Rule Types in Employee Central

Symptom

  • Base Objects in business rules do not support all rule types
  • Not all Base Objects will support onInit, onChange, onSave, onView or onEdit
  • This KB article can help explain how and where to use different types of rules
  • Consult the tabular formats below depending on the Base Object and its portlets

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

Environment

SAP SuccessFactors Employee Central - Rule

Resolution

 FAQ - Additional Information

Q) Where can I get Guide?

A) Guide: Implementing Business Rules in SAP SuccessFactors

Base Object: Simple EO

UI/Portlet

onInit

onChange

onSave

onView

onEdit

New Hire : Personal Information

Works

Works

Works

NA

NA

New Hire : Person Information

Works

Works

Works

NA

NA

New Hire : National Id Information

Works

Works

Works

NA

NA

New Hire : Email Information

Works

Works

Works

NA

NA

New Hire : Phone Information

Works

Works

Works

NA

NA

New Hire : IM Information

Works

Works

Works

NA

NA

New Hire : Address Information

TODO

Works

Works

NA

NA

New Hire : Person Global Information

TODO

Works

Works

NA

NA

New Hire : Emergency Contact Information

TODO

Works

Works

NA

NA

New Hire : Job Information

Works

Works

Works

NA

NA

New Hire : Employment Information

Works

Works

Works

NA

NA

New Hire : Job Relationships

Works

Works

Works

NA

NA

New Hire : Work Permit Information

Works

Works

Works

NA

NA

New Hire : Compensation Information

Works

Works

Works

NA

NA

New Hire : Pay Component Recurring

Works

Works

Works

NA

NA

New Hire : Pay Component Non Recurring

Works

Works

Works

NA

NA

ESS : Personal Information

NA

Works

Works

NA

NA

ESS : Person Global Information

NA

Works

Works

NA

NA

ESS : Person Information

NA

Works

Works

NA

NA

ESS : National Id Information

NA

Works

Works

NA

NA

ESS : Email Information

NA

Works

Works

NA

NA

ESS : Phone Information

NA

Works

Works

NA

NA

ESS : IM Information

NA

Works

Works

NA

NA

ESS : Address Information

NA

Works

Works

NA

NA

ESS : Emergency contact Information

NA

Works

Works

NA

NA

ESS : Dependents Information

NA

TODO

TODO

NA

NA

ESS : Direct Deposit

NA

TODO

TODO

NA

NA

ESS History : Personal Information

NA

Works

Works

NA

NA

ESS History : Person Global Information

NA

Works

Works

NA

NA

ESS History : Address Information

NA

Works

Works

NA

NA

ESS Edit: Personal Information

NA

Works

Works

NA

NA

ESS Edit: Person Global Information

NA

Works

Works

NA

NA

ESS Edit: Person Information

NA

Works

Works

NA

NA

ESS Edit: National Id Information

NA

Works

Works

NA

NA

ESS Edit: Email Information

NA

Works

Works

NA

NA

ESS Edit: Phone Information

NA

Works

Works

NA

NA

ESS Edit: IM Information

NA

Works

Works

NA

NA

ESS Edit: Address Information

NA

Works

Works

NA

NA

ESS Edit: Emergency contact Information

NA

Works

Works

NA

NA

ESS Edit : Dependents Information

NA

Works

Works

NA

NA

ESS Edit : Direct Deposit

NA

Works

Works

NA

NA

ESS History Edit: Personal Information

NA

Works

Works

NA

NA

ESS History Edit : Person Global Information

NA

Works

Works

NA

NA

ESS History Edit: Address Information

NA

Works

Works

NA

NA

MSS : Job Information

NA

Works

Works

NA

NA

MSS : Job Relationships Information

NA

Works

Works

NA

NA

MSS : Compensation Information

NA

Works

Works

NA

NA

MSS : Pay Component Recurring

NA

Works

Works

NA

NA

MSS : Employment Information

NA

Works

Works

NA

NA

MSS : Termination Information

NA

Works

Works

NA

NA

MSS : LOA

NA

Works

Works

NA

NA

MSS : Pay component Non recurring

NA

Works

Works

NA

NA

MSS : Global Assignment

NA

Works

Works

NA

NA

Employment Information page Edit: Employment Details

NA

Works

Works

NA

NA

Employment Information page Edit: Termination Details

NA

Works

Works

NA

NA

Employment Information Page Edit: Pay Component Non recurring

NA

Works

Works

NA

NA

Employment Information Page Edit: Work Permit Information

NA

Works

Works

NA

NA

History Edit: Job Information

NA

Works

Works

NA

NA

History Edit : Job Relationships

NA

Works

Works

NA

NA

History Edit: Compensation Information

NA

Works

Works

NA

NA

History Edit: Pay Component Recurring

NA

Works

Works

NA

NA

Employment Information page : Employment Details

NA

Works

Works

NA

NA

Employment Information page : Termination Details

NA

Works

Works

NA

NA

Employment Information Page : Pay Component Non recurring

NA

Works

Works

NA

NA

Employment Information Page : Work Permit Information

NA

Works

Works

NA

NA

Employment Information Page : Job information

NA

Works

NA

NA

NA

Employment Information Page : Job relationships

NA

Works

NA

NA

NA

Employment Information Page : Comp Information

NA

Works

NA

NA

NA

Employment Information Page : Pay Component Recurring

NA

Works

NA

NA

NA

History : Job Information

NA

Works

Works

NA

NA

History  : Job Relationships

NA

Works

Works

NA

NA

History : Compensation Information

NA

Works

Works

NA

NA

History : Pay Component Recurring

NA

Works

Works

NA

NA

WorkFlow Approval Page

NA

NA

NA

NA

NA

Workflow Update Request (MSS, ESS related)

NA

?

?

NA

NA

Workfow Update request page (Newhire)

?

?

?

?

NA

Newhire with RCM (From manage pending hire)

Works

Works

Works

NA

NA

Base Object: Employee Information

UI/Portlet

onInit

onChange

onSave

onView

onEdit

New Hire : Personal Information

Works

Works

Works

NA

NA

New Hire : Person Information

Works

Works

Works

NA

NA

New Hire : National Id Information

Works

Works

Works

NA

NA

New Hire : Email Information

Works

Works

Works

NA

NA

New Hire : Phone Information

Works

Works

Works

NA

NA

New Hire : IM Information

Works

Works

Works

NA

NA

New Hire : Address Information

TODO

Works

TODO

NA

NA

New Hire : Person Global Information

TODO

Works

TODO

NA

NA

New Hire : Emergency Contact Information

TODO

Works

TODO

NA

NA

New Hire : Job Information

Works

Works

Works

NA

NA

New Hire : Employment Information

Works

Works

Works

NA

NA

New Hire : Job Relationships

Works

Works

Works

NA

NA

New Hire : Work Permit Information

Works

Works

Works

NA

NA

New Hire : Compensation Information

Works

Works

Works

NA

NA

New Hire : Pay Component Recurring

Works

Works

Works

NA

NA

New Hire : Pay Component Non Recurring

Works

Works

Works

NA

NA

ESS : Personal Information

NA

NA

NA

NA

NA

ESS : Person Global Information

NA

NA

NA

NA

NA

ESS : Person Information

NA

NA

NA

NA

NA

ESS : National Id Information

NA

NA

NA

NA

NA

ESS : Email Information

NA

NA

NA

NA

NA

ESS : Phone Information

NA

NA

NA

NA

NA

ESS : IM Information

NA

NA

NA

NA

NA

ESS : Address Information

NA

NA

NA

NA

NA

ESS : Emergency contact Information

NA

NA

NA

NA

NA

ESS : Dependents Information

NA

NA

NA

NA

NA

ESS : Direct Deposit

NA

NA

NA

NA

NA

ESS History : Personal Information

NA

NA

NA

NA

NA

ESS History : Person Global Information

NA

NA

NA

NA

NA

ESS History : Address Information

NA

NA

NA

NA

NA

ESS Edit: Personal Information

NA

NA

NA

NA

NA

ESS Edit: Person Global Information

NA

NA

NA

NA

NA

ESS Edit: Person Information

NA

NA

NA

NA

NA

ESS Edit: National Id Information

NA

NA

NA

NA

NA

ESS Edit: Email Information

NA

NA

NA

NA

NA

ESS Edit: Phone Information

NA

NA

NA

NA

NA

ESS Edit: IM Information

NA

NA

NA

NA

NA

ESS Edit: Address Information

NA

NA

NA

NA

NA

ESS Edit: Emergency contact Information

NA

NA

NA

NA

NA

ESS Edit : Dependents Information

NA

NA

NA

NA

NA

ESS Edit : Direct Deposit

NA

NA

NA

NA

NA

ESS History Edit: Personal Information

NA

NA

NA

NA

NA

ESS History Edit : Person Global Information

NA

NA

NA

NA

NA

ESS History Edit: Address Information

NA

NA

NA

NA

NA

MSS : Job Information

NA

NA

NA

NA

NA

MSS : Job Relationships Information

NA

NA

NA

NA

NA

MSS : Compensation Information

NA

NA

NA

NA

NA

MSS : Pay Component Recurring

NA

NA

NA

NA

NA

MSS : Employment Information

NA

NA

NA

NA

NA

MSS : Termination Information

NA

NA

NA

NA

NA

MSS : LOA

NA

NA

NA

NA

NA

MSS : Pay component Non recurring

NA

NA

NA

NA

NA

MSS : Global Assignment

NA

NA

NA

NA

NA

Employment Information page Edit: Employment Details

NA

NA

NA

NA

NA

Employment Information page Edit: Termination Details

NA

NA

NA

NA

NA

Employment Information Page Edit: Pay Component Non recurring

NA

NA

NA

NA

NA

Employment Information Page Edit: Work Permit Information

NA

NA

NA

NA

NA

History Edit: Job Information

NA

NA

NA

NA

NA

History Edit : Job Relationships

NA

NA

NA

NA

NA

History Edit: Compensation Information

NA

NA

NA

NA

NA

History Edit: Pay Component Recurring

NA

NA

NA

NA

NA

Employment Information page : Employment Details

NA

NA

NA

NA

NA

Employment Information page : Termination Details

NA

NA

NA

NA

NA

Employment Information Page : Pay Component Non recurring

NA

NA

NA

NA

NA

Employment Information Page : Work Permit Information

NA

NA

NA

NA

NA

Employment Information Page : Job information

NA

NA

NA

NA

NA

Employment Information Page : Job relationships

NA

NA

NA

NA

NA

Employment Information Page : Comp Information

NA

NA

NA

NA

NA

Employment Information Page : Pay Component Recurring

NA

NA

NA

NA

NA

History : Job Information

NA

NA

NA

NA

NA

History  : Job Relationships

NA

NA

NA

NA

NA

History : Compensation Information

NA

NA

NA

NA

NA

History : Pay Component Recurring

NA

NA

NA

NA

NA

WorkFlow Approval Page

NA

NA

NA

NA

NA

Workflow Update Request (MSS, ESS related)

NA

NA

NA

NA

NA

Workfow Update request page (Newhire)

?

?

?

?

NA

Newhire with RCM (From manage pending hire)

Works

Works

Works

NA

NA

Base Object: Simple EO Model

UI/Portlet

onInit

onChange

onSave

onView

OnEdit

New Hire : Personal Information

Works

Works

Works

NA

NA

New Hire : Person Information

Works

Works

Works

NA

NA

New Hire : National Id Information

Works

Works

Works

NA

NA

New Hire : Email Information

Works

Works

Works

NA

NA

New Hire : Phone Information

Works

Works

Works

NA

NA

New Hire : IM Information

Works

Works

Works

NA

NA

New Hire : Address Information

TODO

Works

TODO

NA

NA

New Hire : Person Global Information

TODO

Works

TODO

NA

NA

New Hire : Emergency Contact Information

TODO

Works

TODO

NA

NA

New Hire : Job Information

Works

Works

Works

NA

NA

New Hire : Employment Information

Works

Works

Works

NA

NA

New Hire : Job Relationships

Works

Works

Works

NA

NA

New Hire : Work Permit Information

Works

Works

Works

NA

NA

New Hire : Compensation Information

Works

Works

Works

NA

NA

New Hire : Pay Component Recurring

Works

Works

Works

NA

NA

New Hire : Pay Component Non Recurring

Works

Works

Works

NA

NA

ESS : Personal Information

Works

Works

Works

Works

NA

ESS : Person Global Information

TODO

Works

TODO

TODO

NA

ESS : Person Information

Works

Works

Works

Works

NA

ESS : National Id Information

Works

Works

Works

Works

NA

ESS : Email Information

Works

Works

Works

Works

NA

ESS : Phone Information

Works

Works

Works

Works

NA

ESS : IM Information

Works

Works

Works

Works

NA

ESS : Address Information

TODO

Works

TODO

TODO

NA

ESS : Emergency contact Information

TODO

Works

TODO

TODO

NA

ESS : Dependents Information

TODO

Works

TODO

TODO

NA

ESS : Direct Deposit

NA

TODO

TODO

TODO

NA

ESS History : Personal Information

NA

Works

Works

Works

NA

ESS History : Person Global Information

NA

Works

TODO

TODO

NA

ESS History : Address Information

NA

Works

TODO

TODO

NA

ESS Edit: Personal Information

NA

Works

Works

Works

NA

ESS Edit: Person Global Information

NA

Works

TODO

TODO

NA

ESS Edit: Person Information

NA

Works

Works

Works

NA

ESS Edit: National Id Information

NA

Works

Works

Works

NA

ESS Edit: Email Information

NA

Works

Works

Works

NA

ESS Edit: Phone Information

NA

Works

Works

Works

NA

ESS Edit: IM Information

NA

Works

Works

Works

NA

ESS Edit: Address Information

NA

Works

TODO

TODO

NA

ESS Edit: Emergency contact Information

NA

Works

TODO

TODO

NA

ESS Edit : Dependents Information

NA

TODO

TODO

TODO

NA

ESS Edit : Direct Deposit

NA

TODO

TODO

TODO

TODO

ESS History Edit: Personal Information

NA

Works

Works

Works

NA

ESS History Edit : Person Global Information

NA

Works

TODO

TODO

NA

ESS History Edit: Address Information

NA

Works

TODO

TODO

NA

MSS : Job Information

NA

Works

Works

Works

NA

MSS : Job Relationships Information

NA

Works

Works

Works

NA

MSS : Compensation Information

NA

Works

Works

Works

NA

MSS : Pay Component Recurring

NA

Works

Works

Works

NA

MSS : Employment Information

NA

Works

Works

Works

NA

MSS : Termination Information

NA

Works

Works

Works

NA

MSS : LOA

NA

NA

NA

NA

NA

MSS : Pay component Non recurring

NA

Works

Works

Works

NA

MSS : Global Assignment

NA

Works

Works

TODO

NA

Employment Information page Edit: Employment Details

NA

Works

Works

Works

NA

Employment Information page Edit: Termination Details

NA

Works

Works

Works

NA

Employment Information Page Edit: Pay Component Non recurring

NA

Works

Works

Works

NA

Employment Information Page Edit: Work Permit Information

NA

Works

Works

Works

NA

History Edit: Job Information

NA

Works

Works

Works

NA

History Edit : Job Relationships

NA

Works

Works

Works

NA

History Edit: Compensation Information

NA

Works

Works

Works

NA

History Edit: Pay Component Recurring

NA

Works

Works

Works

NA

Employment Information page : Employment Details

NA

Works

Works

Works

NA

Employment Information page : Termination Details

NA

Works

Works

Works

NA

Employment Information Page : Pay Component Non recurring

NA

Works

Works

Works

NA

Employment Information Page : Work Permit Information

NA

Works

Works

Works

NA

Employment Information Page : Job information

NA

NA

NA

TODO

NA

Employment Information Page : Job relationships

NA

NA

NA

TODO

NA

Employment Information Page : Comp Information

NA

NA

NA

TODO

NA

Employment Information Page : Pay Component Recurring

NA

NA

NA

TODO

NA

History : Job Information

NA

Works

Works

Works

NA

History  : Job Relationships

NA

Works

Works

Works

NA

History : Compensation Information

NA

Works

Works

Works

NA

History : Pay Component Recurring

NA

Works

Works

Works

NA

WorkFlow Approval Page

NA

 

 

NA

NA

Workflow Update Request (MSS, ESS related)

NA

 

 

NA

NA

Workfow Update request page (Newhire)

 

 

 

 

 

Newhire with RCM (From manage pending hire)

 

 

 

 

 

Base Object: Employee Information Model

UI/Portlet

onInit

onChange

onSave

onView

OnEdit

New Hire : Personal Information

Works

Works

Works

NA

NA

New Hire : Person Information

Works

Works

Works

NA

NA

New Hire : National Id Information

Works

Works

Works

NA

NA

New Hire : Email Information

Works

Works

Works

NA

NA

New Hire : Phone Information

Works

Works

Works

NA

NA

New Hire : IM Information

Works

Works

Works

NA

NA

New Hire : Address Information

TODO

Works

TODO

NA

NA

New Hire : Person Global Information

TODO

Works

TODO

NA

NA

New Hire : Emergency Contact Information

TODO

Works

TODO

NA

NA

New Hire : Job Information

Works

Works

Works

NA

NA

New Hire : Employment Information

Works

Works

Works

NA

NA

New Hire : Job Relationships

Works

Works

Works

NA

NA

New Hire : Work Permit Information

Works

Works

Works

NA

NA

New Hire : Compensation Information

Works

Works

Works

NA

NA

New Hire : Pay Component Recurring

Works

Works

Works

NA

NA

New Hire : Pay Component Non Recurring

Works

Works

Works

NA

NA

ESS : Personal Information

NA

NA

NA

NA

NA

ESS : Person Global Information

NA

NA

NA

NA

NA

ESS : Person Information

NA

NA

NA

NA

NA

ESS : National Id Information

NA

NA

NA

NA

NA

ESS : Email Information

NA

NA

NA

NA

NA

ESS : Phone Information

NA

NA

NA

NA

NA

ESS : IM Information

NA

NA

NA

NA

NA

ESS : Address Information

NA

NA

NA

NA

NA

ESS : Emergency contact Information

NA

NA

NA

NA

NA

ESS : Dependents Information

NA

NA

NA

NA

NA

ESS : Direct Deposit

NA

NA

NA

NA

NA

ESS History : Personal Information

NA

NA

NA

NA

NA

ESS History : Person Global Information

NA

NA

NA

NA

NA

ESS History : Address Information

NA

NA

NA

NA

NA

ESS Edit: Personal Information

NA

NA

NA

NA

NA

ESS Edit: Person Global Information

NA

NA

NA

NA

NA

ESS Edit: Person Information

NA

NA

NA

NA

NA

ESS Edit: National Id Information

NA

NA

NA

NA

NA

ESS Edit: Email Information

NA

NA

NA

NA

NA

ESS Edit: Phone Information

NA

NA

NA

NA

NA

ESS Edit: IM Information

NA

NA

NA

NA

NA

ESS Edit: Address Information

NA

NA

NA

NA

NA

ESS Edit: Emergency contact Information

NA

NA

NA

NA

NA

ESS Edit : Dependents Information

NA

NA

NA

NA

NA

ESS Edit : Direct Deposit

NA

NA

NA

NA

NA

ESS History Edit: Personal Information

NA

NA

NA

NA

NA

ESS History Edit : Person Global Information

NA

NA

NA

NA

NA

ESS History Edit: Address Information

NA

NA

NA

NA

NA

MSS : Job Information

NA

NA

NA

NA

NA

MSS : Job Relationships Information

NA

NA

NA

NA

NA

MSS : Compensation Information

NA

NA

NA

NA

NA

MSS : Pay Component Recurring

NA

NA

NA

NA

NA

MSS : Employment Information

NA

NA

NA

NA

NA

MSS : Termination Information

NA

NA

NA

NA

NA

MSS : LOA

NA

NA

NA

NA

NA

MSS : Pay component Non recurring

NA

NA

NA

NA

NA

MSS : Global Assignment

NA

NA

NA

NA

NA

Employment Information page Edit: Employment Details

NA

NA

NA

NA

NA

Employment Information page Edit: Termination Details

NA

NA

NA

NA

NA

Employment Information Page Edit: Pay Component Non recurring

NA

NA

NA

NA

NA

Employment Information Page Edit: Work Permit Information

NA

NA

NA

NA

NA

History Edit: Job Information

NA

NA

NA

NA

NA

History Edit : Job Relationships

NA

NA

NA

NA

NA

History Edit: Compensation Information

NA

NA

NA

NA

NA

History Edit: Pay Component Recurring

NA

NA

NA

NA

NA

Employment Information page : Employment Details

NA

NA

NA

NA

NA

Employment Information page : Termination Details

NA

NA

NA

NA

NA

Employment Information Page : Pay Component Non recurring

NA

NA

NA

NA

NA

Employment Information Page : Work Permit Information

NA

NA

NA

NA

NA

Employment Information Page : Job information

NA

NA

NA

NA

NA

Employment Information Page : Job relationships

NA

NA

NA

NA

NA

Employment Information Page : Comp Information

NA

NA

NA

NA

NA

Employment Information Page : Pay Component Recurring

NA

NA

NA

NA

NA

History : Job Information

NA

NA

NA

NA

NA

History  : Job Relationships

NA

NA

NA

NA

NA

History : Compensation Information

NA

NA

NA

NA

NA

History : Pay Component Recurring

NA

NA

NA

NA

NA

WorkFlow Approval Page

 

 

 

 

 

Workflow Update Request (MSS, ESS related)

 

 

 

 

 

Workfow Update request page (Newhire)

 

 

 

 

 

Newhire with RCM (From manage pending hire)

 

 

 

 

 

Model Objects and Type of Event

Property

IF part

THEN part

type of rule

Value

Yes

Yes

Onchange 
Onsave 
Oninit (Onedit) 
Onview

Previous Value

Yes

NO

Onchange 
OnSave 
Oninit (Onedit)

Required

Yes

Yes

Onchange 
Oninit(Onedit)

Visibility

Yes

Yes

Onchange 
Oninit(Onedit) 
Onview (Make has visibility None)

Model Objects and Type of Event

Property

IF part

THEN part

type of rule

Value

Yes

Yes

Onchange 
Onsave 
Oninit (Onedit) 
Onview

Previous Value

Yes

NO

Onchange 
OnSave 
Oninit (Onedit)

Required

Yes

Yes

Onchange 
Oninit(Onedit)

Visibility

Yes

Yes

Onchange 
Oninit(Onedit) 
Onview (Make has visibility None)

Workflow

Rule Type

Is it considered for WF derivation

Will changes show on approval UI

Will  rule (+ cross entity) trigger from update request Page

Onchange

Yes

Yes

Yes

Onsave Simple

Yes - Test & update

Yes (current) - Test & update

Yes (current)

Osave Cross Entity

No (cross entity change will not be considered, only what is actually changed in MSS)

Only actual MSS change will show. The cross entity changes will not show

Yes  (same as MSS)

Oninit - Newhire

Yes

Yes

Current - No 
Ideal - Yes (future release)

Onview

Yes 
Current Behaviour should be tested

Onview should trigger when the approval page loads 
Current Behaviour should be tested

Yes -Needs to be tested

Questions:

Question

Comment

In read only mode should OnView fill a form portlet if it is empty. Example say user has no job information?

Rule should not trigger

In read only mode should OnView create a new row in grid portlet in case user has no information so far. Example Spot bonus?

Rule should not trigger

Onview should it be triggered in MSS

Rule should trigger

Onview and Imports?

 

Should we be able to manipulate "Event Date" in history and MSS via rule?

Need to test

Should we be able to manipulate event in MSS and history?

We should, need to test

Calculated fields derived by Onview rule -- should they save in the data base? Problem is reports might show wrong value though in UI' onview rule will take care of showing the latest updated figure

 OnView will not save calculated fields to database. Different values in db and UI possible.
 Recommendation:
Create OnSave rule, which clears the calculated field before saving, so the
database contains always null.

 

See Also

Keywords

sf, success factors, EC, business rule trigger , KBA , objects elements supported for rules , rule trigger support , business rules , base objects supported by rule , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC , Employee Central , LOD-SF-EC-CMP-RUL , Business Rules , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM suite all versions

Attachments

BUSINESS RULES BASE OBJECT.docx