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

Reading Active directory from ECC6.0

nanda_veera
Explorer
0 Likes
1,320

Hi All,

During triggering of a workflow, to determine the manager of initiator of work flow we are trying to get the manager details from Active directory(we don't have HR org data).

Precisely the requirement is using the SAP User id, read the active directory information for the same user and determine the manager user id in Active Directory.

Does any body came across such situation? Are there any specific RFC enabled function modules which provides the require data?

Your response will be highly appreciated.

Regards,

Nanda.

3 REPLIES 3
Read only

Former Member
0 Likes
681

Hi nanda,

pls see the below links

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8302a929-0501-0010-05b5-d48...

SAP CUA reads user information from ADAM or Active Directory using SAP WAS (CUA) ... Reading organizational structure from various SAP modules

download.microsoft.com/download/5/7/f/57f1490e-8a8d-497b-bbae-ec2a44b3799f/MIIS_SAP.pdf

thanks

karthik

Read only

krishna_maram
Participant
0 Likes
681

Hi Nanda,

Yes it is possible, Lots of steps involved though..

First you need have the LDAP connector ativated in R/3.

1) Create RFC destinatino of type T with the active directory server name . ( Contact Basis )

2) Do the necessary configuration in transaction transaction LDAP in R/3.

But before you do that you need to ask your active directory folks the following details.

--> Ask them to create a userid and pwd in active directory which you can use for your configuration.

--> Ask them for distinguished Name

--> Ask them for Base entry

--> Ask them for the correct port number.

configure all as per the doucment which Karthikeya has given.

3) use the following FMs in your program

LDAP_SYSTEMBIND

LDAP_SEARCH

here you will be passing your serach string

which will return the person's manager.

LDAP_UNBIND

ofcourse based on SAP ID you have get this email id and then

Thanks,

Krishna

Read only

0 Likes
681

Hi Karthikeya/krishna,

Thank you very much for your prompt response. I am looking and discussing the solutions that you have given.

I will get back to you again with my findings.

Thank you once again.

Regards,

Nanda.