Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting Sales Org through Authority Check or Adivce

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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