cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mapping company codes for the SAP MDI in S4 Public Cloud

ildar_dlw
Explorer
0 Kudos
360

Dear colleagues,

We are configuring the integration between SAP SuccessFactors and S4 Public Cloud using SAP MDI for the employee (workforce) data.

When messages arriving to the S4 PC, the following message appears:

"Company code YYYY has not been created in financial accounting."

Which is result of the different company codes in both systems. 

 

Could you please advise, how can I configure the mapping for the codes between the systems?

Thank you,

View Entire Topic
Chuma
Active Contributor
0 Kudos

Hello @ildar_dlw ,

You see, Company code YYYY has not been created in financial accounting because the company code in the workforce message doesn’t exist in the S/4HANA Public system. There’s no mapping table for this flow. You have two options:

I you prefer to keep the IDs consistent.

Replicate company codes from S/4HANA Public Cloud to SAP Master Data Integration (MDI) and use those exact values in SuccessFactors Employee Central, ensuring the Legal Entity External Code matches. Then, resend the workforce message. SAP Help Portal/Company Code Replication: Setup Instructions

If EC needs to maintain different codes.

Perform translation in SAP Cloud Integration using Value Mapping in EC → S/4 HANA Public cloud iFlow to map EC code to S/4 company code. SAP Help Portal-SAP Integration Suite-Creating Value Mapping

Quick checks to close this out.

In Manage Workforce, open the worker’s Work Agreement and verify that the Company Code exists in S/4. SAP Help Portal-Manage Workforce

Chuma_0-1760475513820.png

Use Message Monitoring to reprocess the failed message after fixing the code alignment. SAP Help Portal-Message Monitoring

Ensure the MDI workforce replication setup is completed and active. SAP Help Portal-Extend and Integrate Your SAP S/4HANA Cloud Public Edition-Workforce Person Replicat...

With best regards

Chuma