Skip to Content
0
Oct 04, 2017 at 10:31 AM

Creating a new user in LDAP using SAP-RFC

513 Views Last edit Oct 08, 2017 at 06:46 AM 2 rev

Hi all,

I am confused here.

Requirement is : We have a Z txn in some client where the Current user fill in some fields in this Z txn, then at end clicks a button and a user profile get created in Active Directory.

Basically I am asking how to create a new users in AD through ABAP RFC’s .

Not a much of SAP documentation in these RFC…

Now, SAP documentations mentioned LDAP Server Mapping !!! . Not sure if I have to do the mapping part…

RFC I am trying to use

‘LDAP_OBJECT_CREATE’… but this RFC gives me error that no Mapping exist !. Why should I do a mapping if I am trying to create from some a Z fields!! What to map to !.

I have tried first to use RFC ‘LDAP_CREATE’….but no success .. I think this RFC is only for creating attributes , right ? .