SAP Knowledge Base Article - Public

3237060 - Please Enter the Correct Attachment ID. The Provided Value 0 Doesn't Exist in the System

Symptom

When updating an employee's job information history, an error is thrown with the following messages

"Please enter the correct attachment ID. The provided value 0 doesn't exist in the system"

Environment

SAP SuccessFactors HXM Suite Core 2205

SAP SuccessFactors Employee Central

Reproducing the Issue

  • Go to Job Information History
  • Insert a new record either via the History UI or via MSS (Action)
  • Save
  • Error is thrown: "Please enter the correct attachment ID. The provided value 0 doesn't exist in the system"

Cause

  • The user currently has an incorrect attachment id of -1 (this is visible when editing this existing record in the History UI; the attachment button will be grayed out when the edit screen loads).
  • When inserting a new time slice (either via the History UI or via MSS), the system is detecting this incorrect attachment (i.e. Centralized Services Validation)
  • With Centralized Services enabled, the attachment id is validated, which is why the error occurs.

Internal users - Please check internal memo

Resolution

Workaround:

  • With Centralised Services disabled, it is possible to save the new record, as the legacy code doesn't validate the attachment. 
  • Go to Company Logo Setting > Disable "Enable Centralized Services to Save Changes on the History UI of Job" > Save
  • Attempt to re-insert the record- this will be successful

Caveat:

  • Bypassing Centralised Services means there is no validation therefore the new record will now also have this corrupted attachment id. Engineering is currently working to resolve this.

How to fix the corrupted attachment:

  • This applies to any existing Job Info record where the attachment/upload button is greyed out when editing the record in the History UI is impacted
  • Can be fixed by using the Job Info Import and modifying this record -
  • In the csv template, provide the userId, effective start date, sequence number, and the attachment id with no value (i.e. leave it blank)
  • Upload the file.

 

Keywords

Attachment Id Error, Please enter the correct attachment ID, The provided value 0 doesn't exist in the system, Cannot save Job info record, , KBA , LOD-SF-EC-JOB-UI , History UI & MSS UI , Problem

Product

SAP SuccessFactors HXM Suite Core 2205