Hello all,
For a custom development we are trying to create a connection between a business partner and an employee.
We create the business partner using; BAPI_BUPA_CREATE_FROM_DATA
Add an Id using; BAPI_IDENTIFICATION_ADD
Add the role using; BAPI_BUPA_ROLE_ADD_2
And try to link the business partner to the employee using BP_BUPA_CREATECENTRALPERSON after retrieving the GUID number using BAPI_BUPA_GET_NUMBERS.
All steps in this process are executed without problems except for the action with BP_BUPA_CREATECENTRALPERSON. The field BPPERSON of table usr21 does not get filled with the GUID of the business partner.
In the blogs I have read it seems like the BP_BUPA_CREATECENTRALPERSON is the way the connect these two entities.
Any help would be appreciated!