SAP Knowledge Base Article - Public

2842247 - Service Cost Level not updated using the API Workforce Person Master Data Replication

Symptom

The Service Cost Level is not being updated / populated in the Employee Factsheet when posting that information using the API WORKFORCEPERSONMASTERDATAREPLI.

Environment

  •  S/4 HANA Cloud

Reproducing the Issue

  1. Configure the Communication Arrangement SAP_COM_0301.
  2. Use the API WORKFORCEPERSONMASTERDATAREPLI to upload the HR master data.
  3. In the WorkAgreementJobInformation section, specify a ServiceCostLevel:

    SRVS.jpg
  4. Post the API.
  5. Check the Service Cost Level of the employee uploaded. You will see "Not Maintained" instead of the expected value

     

Cause

The flag Excl. Srv Cost Lvl using Workforce API of the SAP_COM_0301 is set to 'X'. This will ignore the service cost level data sent over from public API (even if the value is empty or populated).

Resolution

  1. Search by filtering the Scenario ID to SAP_COM_0301 (External HR Workforce Integration).
  2. Change the Property Value of the Property Name of "Excl. Srv Cost Lvl using Workforce API" to ' ' (empty, this will consider to overwrite the service cost level data sent over from public API).
  3. Save and post the API again.

See Also

2646803 - How to maintain employees data in an S/4HANA Cloud

1FD - Scope Item

Keywords

ServiceCostLevel, API, I_EMPLOYMENTCOSTLEVE, I_PersonWorkAgrmtSrvcCostLevel, IPERWKAGRSVCSTL, /SHCM/PA3406, I_PERSONWORKAGRMTSRVCCOSTLEVEL, , KBA , CA-HR-S4 , Cross-Application HCM Objects in S/4HANA , How To

Product

SAP S/4HANA Cloud 1908