I am writing a SAP .Net connector based application that will allow assignment of a R3 Role (simple or Composite) and R3 profile/activity group (Simple or composite) to a SAP HR position.
Is there a RFC/BAPI available which i can use from my client .Net program?
Hello Vinay,
There are two concepts involved in here, which are not to be confused. One is the Employee (a HR-Related term, characterized by PERNR / PERSNO ) and the other is the R/3 User (which is central for the Authorization Concept in SAP, characterized by BNAME / XUBNAME ).
Note that for an employee to be able to log on to the SAP system, he needs to have a USER-ID in that system. So What you would have to do is to merely assign the profile to the user-ID.
That said, there's one BAPI that I should like to call your attention to - BAPI_USER_PROFILES_ASSIGN. Just see if this meets your purpose. In case of further doubts, please do get back.
Regards,
Anand Mandalika.
P.S. : I see that you had opened a thread Is there a BAPI to assign a SAP HR position to a BASIS User? for this topic in this forum just a few days back. Why couldn't you continue with that one?
Add a comment