SAP Knowledge Base Article - Public

2476579 - Unable to read dependent's nationality in Take Rule for Leave validation-EC-TIM

Symptom

From Business Rules unable to read dependent's nationality.

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

Environment

SuccessFactors

Employee Central

Time Off

Reproducing the Issue

Log into system

Go to configure business rules

Try to put restriction base on child's nationality

Resolution

Currently, there are no rule functions which returns the dependent's country.

 Workaround:

You can use 'Get Nature of Singapore Citizenship of Dependent()' rule function in business rules.

There is a pick-list called "natureOfCitizenship_SGP" which gives the nature of the Singapore Citizenship.

This picklist is already created and available in your picklist file, and can be added in the Global information of the Dependent for the Country SGP in Manage Business Configuration.

Create a field for Nature of Citizenship ( * genericString9 - which is specific for Nature of Citizenship) under Manage Business Configuration>Global Info>global_SGP

Section

Field ID

Field Label

Data Type

Mandatory?

Picklist ID

Citizenship

genericString9

Nature of Citizenship

String

No

natureOfCitizenship_SGP

genericDate2

Date of Acquiring Citizenship

Date

No

-

SGP picklist.png

This rule function will return the external code of the specific pick list option based on the type of citizenship of the dependent.

If Child is not Singapore Citizen, then it will return external code from the pick list ( Option -- "Not a Singapore Citizen").

The example below shows citizenship type 5 from the picklist, which means "Not a Singapore Citizen":

sgp rule1.png

sgp rule2.png

The above accrual rule, based on the Accrual rule scenario, is available in the SuccessStore (rule SF_ACCRUAL_ChildCareLeave_SGPCitizen).

Keywords

read dependent's nationality business rule Get Nature of Singapore Citizenship of Dependent

natureOfCitizenship_SGP
, KBA , get nature of singapore citizenship , citizenship of dependent , read dependent's nationality , get nature of singapore citizenship of d , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors HCM Core all versions