SAP Knowledge Base Article - Public

2307685 - Error while trying to close Job requisition via SFAPI in SF: job requisition status is invalid

Symptom

You are receiving below error message while trying to close the job requisition via API call for the positions which has already been filled in SAP System:

 

You send value for "Status" field of the API update request as "SAPClosed" and it fails with an above error message.

Cause

In DataDictionary, you can see that "Status" field has been defined as the picklist and values has been maintained in the Picklist csv.

 

 picklist.PNG

 

Here, you can see that no value has been maintained for external_code "SAPClosed".

Resolution

When you update the Open Job requisition status as "SAPClosed" so that this requisition can be closed in SF system, Application expects value from picklist file for this external code as "99999".

Update the picklist file vith valuse as "99999" for external_code "SAPClosed" and send the SFAPI update request again.

Status will get updated.

Keywords

KBA , LOD-SF-INT-SAP , Please use LOD-EC-INT* , Problem

Product

SAP SuccessFactors HCM Core all versions