‎2008 May 07 4:45 PM
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.
‎2008 May 07 5:39 PM
Hi nanda,
pls see the below links
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
‎2008 May 07 6:24 PM
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
‎2008 May 07 8:05 PM
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.