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: 

How to define a user to raise sales orders in given sales office

Syamkriz
Active Participant
0 Kudos

Hi,

Kindly help.

We have a requirement that we need to restrict some of the users from creating sales orders in some of the sales offices.We have a scenario in which all the sales offices are assigned to single sales organisation.But in authorisation tab,we do not have an option to restrict the sales office for VA01(Sales order T-code).We can only restrict any off the below given parameters but no sales office.

-Sales organisation

-Division

-Distribution channel

-Controlling area.

Please let us know how can we define a user to create sales orders in only some of sales offices.

Kindly help.

Thanks and Regards

Syamkrishnan

SAP Basis

5 REPLIES 5

jurjen_heeck
Active Contributor
0 Kudos

This does require programming. There is a user exit availble, I have seen this working.

I haven't got a solution for you, but the following search string should help you a bit further:

userexit_check_vbak

MV45AFZB

This document also contains some pointers (try to find this doc for your SAP version):

http://help.sap.com/saphelp_45b/helpdata/EN/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm

Hope this helps,

Jurjen

Found the code as well. Unfortunately the accompanying text is in Dutch....

[VNSG tips and tricks sept 2003|http://www.vnsg.nl/site/cm_bestanden/display_bestand.asp?id=83000018]

Edited by: Jurjen Heeck on Jan 7, 2008 10:02 AM

Former Member
0 Kudos

Hi Syam,

1. The object V_VBKA_VKO is for Sales Activities(Authoriz.for Org.Data and Sales Activ.Type)

2. Filed VKBUR is the field for Sales office.

3. Field VKORG is for Sales organization.

you can design a role with this object. give the sales offices and for the sales organizations. then give this role to the users. for the transaction VA01, put the SU24 check for this object.

now the users can access only to those sales organizations & sales offices you have given the access to.

let me know if this is clear for you.

Regards,

Srihari

0 Kudos

>

> let me know if this is clear for you.

It looks clear, but I miss one thing, namely the part where the authority-check for V_VBKA_VKO is actually put in the code. You cannot manipulate checks in SU24 if they're not in the program code.....

Former Member
0 Kudos

hi Jurjen,

its asumed by default that u have 'checks' in place ...

any way, its true that they should be in the program code...

Regards,

Srihari

0 Kudos

I experienced a similar problem with a previous customer and from there I knew that V_VBKA_VKO is not checked bij the program behind VA01 (and VA02, 03, 05, 41, 42, 43 & 45).

That's why I pointed to the user exit. This one does require programming before changeing SU24 makes any sense.

Jurjen