2013 Dec 27 9:10 AM
Hi All,
My requirement is user along with company codes.
In the selection screen the user will give authorization objects like F_BKPF_BUK , F_AVIK_BUK in 3 parameters fields
and company codes in their respective BUKRS filds of the corresponding authorization object.
And the output should look like the below.
UserID Username UserGroup CoCd1 CoCd2 ..... CoCdn
ID1 Name1 Group1 X --- ... X
ID2 Name2 Group2 --- X .... ---
I am able to display userID Username Usergroup in the output.
But i could not able know how to know which user belong to which company codes.
Please guide me.
Thanks.
Hi All,
My requirement is user along with company codes.
In the selection screen the user will give authorization objects like F_BKPF_BUK , F_AVIK_BUK in 3 parameters fields
and company codes in their respective BUKRS filds of the corresponding authorization object.
And the output should look like the below.
UserID Username UserGroup CoCd1 CoCd2 ..... CoCdn
ID1 Name1 Group1 X --- ... X
ID2 Name2 Group2 --- X .... ---
I am able to display userID Username Usergroup in the output.
But i could not able know how to know which user belong to which company codes.
Please guide me.
Thanks.
2013 Dec 27 9:23 AM
Hello munu,
As i understood, You need to add company code in output ,which you are passing at time of authority-check.
Thanks
Deependra
2013 Dec 27 10:23 AM
In order to know which user has authorization for which company code you can use
SUSR_USER_DISPLAY_WITH_AUTHS function module for the same
Nabheet
2013 Dec 27 11:11 AM
Get the details of user using FM 'HR_GETEMPLOYEEDATA_FROMUSER'.
Thanks
Kamesh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |