08-31-2006 3:24 AM
Urgent, My problem is that , i do have two user from two different regions USA1(USA) & MEXI(MEXICO), If USA1 user log into the system he should able to see Only his SALES Org (USA1/2/3)Or He can Change ONLY his Sales org to USA1 / USA2 /USA 3,if Mexico User log into the system He can Change ONLY his Sales org to MEX1 / MEX2 /MEX3. USA User can see sales organization of MEX1 but he cannot change any mexico Sales Org AND vice versa.
Can you please advice me on this issue OR if you are having any code ,please send me.
any help would be appreciated and Prompt Points will be assigned.
08-31-2006 6:02 AM
Hi menon ,
Sales Org comes under Company Code,So if ur user Comes within these Company Codes then u cannt Resrtict,U cannt restrict users based on the Country ,If u have to Different Company Codes then u can Do like this.
Check Su22 , and give any tcode , then it will list out all Authorization Objects which SAP will process.
Regards
Prabhu
08-31-2006 4:19 AM
Hi,
I don't have to system access rightnow..But you can try this..Please check the SU2..1 In this you will list of classes..Then double click on SD and there you can see a list of authorization objects..In that search for VKORG..I think it should be V_VKORG..
Thanks,
Naren
08-31-2006 6:02 AM
Hi menon ,
Sales Org comes under Company Code,So if ur user Comes within these Company Codes then u cannt Resrtict,U cannt restrict users based on the Country ,If u have to Different Company Codes then u can Do like this.
Check Su22 , and give any tcode , then it will list out all Authorization Objects which SAP will process.
Regards
Prabhu
08-31-2006 6:33 AM
Add authority check with authorization object V_KONH_VKO.
AUTHORITY-CHECK OBJECT 'V_KONH_VKO'
ID 'VKORG' FIELD '__________'
ID 'VTWEG' FIELD '__________'
ID 'SPART' FIELD '__________'
ID 'ACTVT' FIELD '__________'.
Regards,
Prasanth