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

Automatic Assignment of Sales Organization when loading employee

former_member355106
Active Participant
0 Kudos
610

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,

View Entire Topic
Martin-Pankraz
SAP Champion
SAP Champion
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