SAP Knowledge Base Article - Public

2896831 - Valid To Date of the Business User has Changed to a Random Date After the Rehire of the Employee

Symptom

You have an integration scenario which is setup in ByDesign system. Consider a scenario where you introduced a new logic to terminate the Employee in ByDesign when the Employee is terminated in external system. When the Employee is terminated in the external system, the Employee is terminated in ByDesign with current Date as Termination Date and current Date as Valid To date for corresponding Business User.

When the Employee is rehired in the external system, the Employee data is made active in the Personnel Administration with Rehire Date as Contract Start Date and Termination Date is set as Unlimited. Whereas, for the corresponding Business User, the already present Valid To date is overridden by some random dates in the past.

Further, in workcenter Business Analytics, in the Design Reports view observe the Report name: User Activation and Deactivation Log . The Valid To date of the Business User has changed to a random Date after the Rehire of the respective Employee.

Your expectation is that the Valid To date of Business User should not be changed when the Employee is rehired.

Environment

SAP Business ByDesign

Reproducing the Issue

To check the validity of the Business User:

  1. Go to Application and User Management work center
  2. Go to User and Access Management view
  3. Go to Business Users subview
  4. Show All Business Users and find the respective business user

At the bottom of the screen, in the Details section, in the tab General Data, you see the Validity From/To of the business user

Cause

If the Valid To date is provided lower than the Last Logon Date then the Valid To date will be set as Last Logon Date. The Valid To date of the user cannot be set to a date less than user's Last Logon Date. If the user could logon for example yesterday, then user must have been valid at least until yesterday.

Resolution

The random Valid To date is the Last Logon Date and in case of Rehire, the validity date passed is 01.01.0001 - 01.01.0001. But if the Valid To date is less than Last Logon Date then the Last Logon Date is set as Valid To date.

Keywords

Rehire, Business User, Integration, Hire, Termination, Valid To, Employee, Validity, Valid From, Last logon date, User Activation and Deactivation Log, Personnel Administration , KBA , personnel administration , user activation and deactivation log , rehire , integration , employee , business user , termination , valid from , valid to , validity , last logon date , hire , SRD-HR-PAD , Personnel Administration , Problem

Product

SAP Business ByDesign all versions