I have a requirement where I need to replicate the SuccessFactors employee photo to the SAP ECC/S4HANA system. The CPI system is generating the XML payload for the employee photo in decoded base64 format. I need to upload this photo to employee master in SAP ECC system info type 0002. I have gone through the OAOH transaction and it looks like sap uses the business object to store the employee photo i.e. PREL and the document type is HRICOLFOTO.
Also, I have gone through the standard program provided by SAP in ECC to upload the pictures from the local machine 'OA_UPLOAD_AND_LINK' , but my picture will be interfaced and will be coming as a payload.
Can somebody help me in this to achieve the abve solution.