I've written custom program for synchronizing personal data from SAP HR to Microsoft Active Directory. It uses function module SPLDAP_RECEIVE_ATTRIBUTES in a similar way as reports RPLDAP_*. Everything works well for export attributes (as mapped in LDAP transaction), but I don't know how to get the attributes mapped as import attributes. I.e. I have and e-mail address (mail attribute in Active Directory) mapped as import, I want that value to be read from Active Directory and update the 0105 infotype for person. But the function module SPLDAP_RECEIVE_ATTRIBUTES doesn't return anything. What is the correct way to get the import attributes during synchronization?
Thanks for help.