on 10-18-2013 8:12 PM
Hello Friends,
I need to create utility program in the CRM System to update Employees in the system and Remove the Business Role of "Groupware Employee" when an Employee Leaves the Organization or is no longer in a Role where they use Sales CRM.
But i am not aware of what are the different steps i should follow to create this utility.
my specific queries are as below:
1) How to find programatically (using the program) whether the Groupware Role has been assigned to an employee or not?
2) If the Groupware Role has been assigned to an Employee then how to find programatically (using the program) whether Employee left the organization
3) Finally how to delete the Groupware Role programatically (using the program) of an employee when the employee left an organization.
Please friends help me out on this.
1) For a given BUPA - BUT100 contains the roles assigned
3) Try function module BUPA_ROLE_REMOVE
Honestly nobody is going to be able to tell you how to solve problem number two, because we have no clue how your org chart is setup. Logically your program should grab all BP's with the groupware role then find them in the org chart and see if that position of the employee is in a sales organization. However that's just a guess.
Take care,
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Abdul,
Thanks for your reply.
In which database table, we can find whether Employee left the organization?
Is there any table or BAPI or Function Module is there where we can get information whether the employee has left the organization?
Please help me out on this.
I will reward the points for sure.
Hi Aditya,
Is your issue resolved?
Rahaman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aditya,
Could you please confirm if the provided solution worked for you ?
Thanks & Regards
Abdul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.