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.