cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Assignment of Sales Organization when loading employee

former_member355106
Active Participant
0 Kudos
448

Hi All,

when loading employees via API we have to assign automatically an sales Organization to the employee.

By checking this link it is not possible to do so -> (Check code snippet of new API (version 2):

Has anybody had the same problem?

Cheers,

Accepted Solutions (1)

Accepted Solutions (1)

Martin-Pankraz
Active Contributor
0 Kudos

Hi Oliver,

To assign OrgUnits when creating employess with API version 2, you need to add the following option:

{
  "constant": "227",
  "targetPath": "$.OrganizationalAssignment.OrganizationalCenterIDTypeCode"
},

To learn about the neccessary options SAP recommends to check the prepackaged iFlows for S4 and CRM integration in CPI.

Kind regards

Martin

Answers (1)

Answers (1)

Dedeepya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Oliver

If you are using the standard provided Employee Replication webservice (Soap Service), then there is a provision to pass the Sales Org Unit IDs alongwith.

Communication Arrangement used for this in C4C :

"Employee Replication using Intermediate Staging Area from SAP Business Suite"

Regards

Dedeepya

Martin-Pankraz
Active Contributor
0 Kudos

Hi Dedeepya,

The arrangement you are referring is connected to the older API version 1. For API version 2 arrangement "Employee Replication from SAP Business Suite" is needed. Furthermore it would be helpful to mention the customization to pass the OrgUnits and IDs.


Kind regards
Martin

Dedeepya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Martin

I presumed the standard documentation on this service would suffice :).

Thanks for your inputs though.