SAP Knowledge Base Article - Public

2575424 - Payment Information - Application Error When Payment Information Portlet Loads For All Users

Symptom

When the Payment Information portlet loads for any user we get an application error message without error id. Payment Information then cannot be maintained.

No error is encountered when making changes via Manage Data.

The application error will contain: errorId=null, timestamp=null, errorMessage=Cannot read property 'name' of undefined, errorName=TypeError


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

1. Navigate to profile of any user
2. Wait for Payment Information Portlet to load
3. Application Error
4. Error: errorId=null, timestamp=null, errorMessage=Cannot read property 'name' of undefined, errorName=TypeError

Cause

Payment Information UI rules have been deleted or renamed without first removing the rule triggers.

Resolution

  1. Navigate to Admin Center -> Manage Configuration UI.
  2. Search and select the UI that is in use for Payment Information.
  3. Hover mouse over the section where the portlet name is displayed. Two options Edit Properties and Manage UI Rules will pop up.
    BD.png
  4. Select Edit Properties
  5. There are sections onInit, onInsert and onLoad. Make sure that no section has empty slots for rules (without any rule id being assigned) and the delete icon (trash) on right hand side of it. If you find such slots, delete them by clickin on the trash and then click on Ok -> Save.
    EmptyRuleSlot.png
  6. If you don't find any such slot but the issue is happening when you change a field's value, navigate to the field in the UI.
  7. Click on the pencil icon that will pop up the Edit screen for the field.
  8. Check in the onChange rules section if any empty slot is there. Delete it and then save the change.
  9. Now test for any user. The issue should be resolved.

Keywords

Empty, UI, Rule, onInit, onInsert, Edit, onLoad, errorId=null, timestamp=null, errorMessage=Cannot read property 'name' of undefined, errorName=TypeError, Payment Information, Application Error, Cannot, Enter, Maintain, read property name of undefined , KBA , LOD-SF-EC-PAY , Payment Information (Bank Information) , LOD-SF-EC-PP3 , People Profile (PP3) , Problem

Product

SAP SuccessFactors Employee Central all versions