SAP Knowledge Base Article - Public

2734645 - Configure onchange rule to set one field's visibility as None cannot hide that column/field name

Symptom

We have set "Subclass" visibility as "none" by a rule but the "Subclass" column is still there with only data missing.

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

onchange rule2.png

subclass field2.png

Environment

Employee Central : Rule

Reproducing the Issue

  1. Configure an onchange rule and bond that with one field under nationalidcard element. In this case, it is the "country" field.
  2. Go to People Profile and choose the USA as the country to meet the condition of the rule, you can see the field title is still visible; only that field's data is invisible.

Resolution

This is an expected behavior.

For National ID, that first line of data in the pop up (starting with Country) is a table that contains one row of data in this case.

Technically, if there were several rows, and the rule condition was only met for one row - it wouldn't make sense to hide a full column because for other rows there might be visible values.

This is why, in a table/grid layout, we can hide value for that field for certain rows/records, but cannot dynamically hide the entire column(s).

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide: Implementing Business Rules in SAP SuccessFactors

See Also

  • 2802383 - OnChange Rule Do Not Work After The OnInit Rule Is Triggered In The Add New Hire Page
  • 2080138 - How to Propagate fields using Business Rules
  • 2437420 - Which Portlets Support Cross Portlet Business Rules

Keywords

onchange rule; nationalidcard; visibility; require, rule , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , LOD-SF-EC-PER-PRS , Personal Info - Config, Rules, RBP, UI , How To

Product

SAP SuccessFactors HCM Core all versions