cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting customers while placing sales order

Former Member
0 Kudos

Hi Gurus,

I have two account groups Z001 & Z002 through which i am creating customer master. I want to restrict customers of Z001 while placing sales order. I want to place sale order only for Customers belongs to Z002 account group. How can we achieve the same.

Regards

Sankar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sankar,

Go to Se16 --> Table KNA1 --> put your account group "Z001" --> extract the customer list

Use LSMW or MASS --> put the order block in all the customer master in XD05.

Hope it helps,

Regards,

MT

Edited by: M T on Mar 10, 2010 8:37 PM

former_member550050
Active Contributor
0 Kudos

Hi

I want to restrict customers of Z001 while placing sales order

If this is this case then why do you have account group Z001 ?

What is the business requirement to have one set of customers for them there is no sales transactions?

But this is possible thro userexit

We have done a similar mapping tho userexit allowing a set of customers to use a particular order types

Say account group Z001 will use only order types OR,CS , RO only

Say account group Z002 will use only order types KB.KA etc

If we try to create a sales order with order type OR for Z002 account group customers system will throw error similarly KB for Z001

userexit in program MV45AFZZ---userexit_savedocument_prepare

If the requirement you eloborate i can try to suggest you something useful

Regards

Raja

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Two options:

- Assign customers of group Z002 for the right sales level organization, and set the type of SO for the same sales level. You can set limits with enhancement SAPMF02D to set some customers in table KNVV.

- With the userexit USEREXIT_CHECK_VBAK in report MV45AFZB.

Regards,

Eduardo