SAP Knowledge Base Article - Public

2748143 - Payment Information - Fields Clearing on Edit & Insert or Default Values Rule No Longer Working

Symptom

When Editing or Inserting a new Payment Information Record values such as Sort Code, Routing Number, Bank are being cleared

Previous to 1811 a Business Rule which used to default/set Payment Information values is no longer working correctly or at all

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

Environment

Employee Central - Payment Information

Reproducing the Issue

Example 1:

1. Navigate to Profile of User with Payment Information maintained
2. Click to edit or insert
3. Values such as Sort Code, Routing Number, Bank are being cleared


Example 2:

1. Navigate to Profile of User with no Payment Information maintained
2. Click to insert a record
3. Rule which used to default values such as Bank, Currency, Payment Method, Pay Type no longer works correctly or at all

Cause

A change is required to the Business Rule which is being used to set the values - the rule is triggering onChange from jobCountry field on Payment Information Object

Resolution

Prior to 1811 the rule could contain an elaboration of the IF Statement to "Select Payment Information.Details where Pay Type is equal to Null" - this can no longer be included as it will result in the null check in IF Statement being ignored which will cause data loss during editing existing records or inserting new records. Please compare the below rules and rectify the IF Statement of your rule:


Correct:

3.png


Incorrect:


4.png

See Also

2440812 - Defaulting Payment Information using Business Rules

Keywords

Payment Information, Edit, Record, Insert, Default, Rule, Business, Value, Clear, Delete, Sort Code, Routing Number, Bank, Currency, Payment Method, Pay Type, Working, No, jobCountry, field, externalCode, Payment Information Object, User, Profile, Trigger , KBA , LOD-SF-EC-PAY , Payment Information (Bank Information) , LOD-SF-EC , Employee Central , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , Problem

Product

SAP SuccessFactors Employee Central all versions