This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SAP HCM Synchronization - Use own BAPI

Hello together,

i want to use an own BAPI written by my SAP Colleagues to synchronize more Details of Employees which we don't get in the Default Connector.
I tried to use the SAP Extension Schema XML, but not with success.

In my understanding i connect to a Table (PA0002 for example) get all Employees and also their PersonalNumbers (PERNR). I map the PERNR to another Field IV_EMPLOYEE_ID and use this to execute an Function?
But now i get all Data from the Table (PA0002) but i would have all Output from my Function "Z_IDM_HR_EMPLOYEE_DATA_GET"

Have you some idea or anybody did this already?

Kind Regards
Steffen Schmid

<SAP>

 <Tables>
	<TABLE Definition = "CCC_PA0002-Table" TableName="PA0002" Key="PERNR,NACHN" X500="CN,OU,OU,OU" SQL="MANDT = sy-mandt" Load="" />	
 </Tables>
 
 <Functions>
	<Function Definition = "IDM DATA GET" FunctionName="Z_IDM_HR_EMPLOYEE_DATA_GET" OutStructure = "" Key ="IV_EMPLOYEE_ID" X500 ="CN,OU,OU,OU">
			<Mapping>
				<Data ParameterName = "IV_EMPLOYEE_ID" PropertyName = "PERNR" />
			</Mapping>
	</Function>
 </Functions>
 
 <SAPExtendedSchematypes>
 
	<SAPExtendedSchematype Bem = "IDM DATA GET" Name ="CCC_HR_IDM_DATA" DisplayPattern="%PERNR%" RevisionProperty="TRDAT" ListObjectsDefinition =
	"CCC_PA0002-Table" ReadObjectDefinition ="IDM DATA GET" InsertObjectDefinition = "" WriteObjectDefinition = "" DeleteObjectDefinition = "" > 
 
	</SAPExtendedSchematype>
 
 </SAPExtendedSchematypes>
 
 </SAP>