cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict the VIEW and MODIFY of the Sales Order for particular Sales Office

Former Member
0 Kudos

Hi All Expert,

I want to add a restriction for the VIEW and MODIFY of the SO, group the user by the Sales Office, each office user can maintain their own SO.

Is it possible to do it?

Is there any function need to do by the BASIS ?

Thank you very much.

Terry

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

The requirement are:

1. t-code VA01, User single role contain the Authorized Sales Office, for e.g. 1001 and 1002, so this user can create SO for 1001, 1002 sales office.

2. t-code VA02, when user open the SO, check the SO's sales office VS user single role's sales office, if different display "error" message.

I want to know which user exit program, for e.g. MV45AFZZ.

What is the code for check the User 's sales office vs the SO's sales office...

Thank you very much.

Terry

jignesh_mehta3
Active Contributor
0 Kudos

Dear Terry,

Is your Sales Order Type same for all the Sales Offices?

IF your Sales Order type is different then you can create Transaction Variant in T-Code SHD0 & assign the same to the respective document type.

If the Sales Order type is same accross all the Sales Offices, then you will take help from you ABAPer & need to apply some User Exit. Probably USEREXIT_FIELD_MODIFICATION would be of use...

Hope this helps...

Thanks,

Jignesh Mehta

Former Member
0 Kudos

Hi Jignesh Mehta,

The sales order type need to be the same, can you tell me more on the UserExit?

Thanks.

Terry

jignesh_mehta3
Active Contributor
0 Kudos

Your ABAPer would be able to define some Codes which would enable / disable required fields in Sales Order based on the Sales Office entered by the end user.

Ask your ABAPer to search for User Exits for T-Code VA01 & VA02.

Hope this helps...

Thanks,

Jignesh Mehta