cancel
Showing results for 
Search instead for 
Did you mean: 

Checking customer

Former Member
0 Kudos

Hi all

My problem is to allow to some users to access trx VA01, vA02 and VA03 only with specific customer. How can I solve this? Thanks

Stefano

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

On what basis you want to restrict? If it is based on "Account Group" then it is possible. On the basis of division, sales group, customer class etc it is not possible.

Thanks.

Ashish

Former Member
0 Kudos

Further clarification

The picture is

Company A sells product to customer B & customer C

Customer B & C belong to the same sale division, organization, etc.

User B can insert, change, view orders only for company B

User C can insert, change, view orders only for company C

Regards

Stefano

Former Member
0 Kudos

I feel you can create role/profile for each company and assign the same to the particular user, in that way you would be able to implement your requirement.

Regards

Anurag

Former Member
0 Kudos

You mean B & C belong to different "company code" ? If that is the case you will have no problem is roles & authorization.

But I doubt it.

Thanks,

Ashish

Former Member
0 Kudos

Hello,

could you please explain it in detail...

--sri

Former Member
0 Kudos

hi Stefano Ferrari

If you have delivery plant in the customer master you can control that in authorization on the basis of delivery plant and shipping point belongs to that delivery plant.

Please check the same.

Regards

Former Member
0 Kudos

No Mahesh this is not a simple case. The field delivery plant is there in customer master. But restriction on that basis will not prevent user to view ( and take a download) of the key fields in Customer master for all customers in transaction VA01/02/03 (Create/Change/Display Sales Order). It will restrict access to customer master (VD01/2/3, XD01/2/3) only.

My suggestion would be to Create two different order types ZOR1 and ZOR2 for B and C customers (though I have not tried it). and give authorization accordingly. The authorization object in customer master (FI view) is also of no use for this purpose.

Thanks,

Ashish

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks all for your suggestion

The idea of having different order type is good but I can't restrict user to only a specific order type becuase customers have the same order type. The example was only with 2 users & 2 customers, but actually I have N usesrs and M customers

I was thinking about creating an authorization object (Z_CUSTOMER_CHECK ) where I can chek sales organization & customer.

No problem in creating the authorization object, still wondering in which user_exit

, if any, I must place the authorization check.

Regards

Stefano

Former Member
0 Kudos

Hi all

I got the solution using a custom authorization object and checking user

authorization against it in userexit_read_document in include MV45AFZZ.

Many thanks to all

Stefano

Former Member
0 Kudos

you need to authorization to control it.

define the active group and assign to the user.

have a nice day.