Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LDAP

Former Member
0 Likes
887

Hi,

I have to do some process in active directory from ABAP.

I've already connect to LDAP and read the data from specific OU with FM's LDAP_SYSTEMBIND/LDAP_SEARCH/LDAP_LIST_ATTRIBUTES...

My question is: How can I move a person from one OU to an other OU with FM?

Thank you,

Joseph Fryda

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
795

Hi Joseph,

Please refer the URL

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0b/d82c4142aef623e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/0b/d82c4142aef623e10000000a155106/frameset.htm</a>

OR

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/frameset.htm</a>

Hope it helps...

Lokesh

Pls. reward appropriate points

5 REPLIES 5
Read only

Former Member
0 Likes
796

Hi Joseph,

Please refer the URL

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0b/d82c4142aef623e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/0b/d82c4142aef623e10000000a155106/frameset.htm</a>

OR

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/frameset.htm</a>

Hope it helps...

Lokesh

Pls. reward appropriate points

Read only

Former Member
0 Likes
795

I am not sure but give a shot with FM: <b>LDAP_RENAME</b>

You can also try to do a <b>LDAP_DELETE</b> and then <b>LDAP_ADD</b>

If you want to change the attributes then use <b>LDAP_MODIFY</b>

Read only

0 Likes
795

Look into program <b>SAPMLDAP</b> for implementation details.

Read only

0 Likes
795

does anyone alread used FM LDAP_RENAME?

If I have an user called TEST1 with DN :

CN=test1,OU=MY_TEST,OU=Dev_Users,DC=dev

How do I move him to OU

OU=MY_TEST2,OU=MY_TEST,OU=Dev_Users,DC=dev

What should I send to the FM?

thank you,

Joseph FRYDA

Read only

darren_hague
Product and Topic Expert
Product and Topic Expert
0 Likes
795

Joseph,

Did you manage to solve this problem? I have exactly the same requirement, so I would like to know the solution...

Thanks,

Darren