cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking a Customer

Former Member
0 Kudos

Hi All,

The client has updated the Customer Group1 field with Active / Inactive status.

Now the client wants to block any transaction i.e. sales order /quotation or contract if the customer Group-1 is INACTIVE and the user can create any order etc if the status is set to Active.

How to do this?.

Can someone please help me in this regard.

We had suggested XD05/XD99 but the client wants it to be blocked against CG1         

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Try with any of the following user exits where you need to validate the field KVGR1 from KNVV or VBAK table

  • USEREXIT_READ_DOCUMENT in the program MV45AFZZ
  • USEREXIT_CHECK_VBAK in the program MV45AFZB

G. Lakshmipathi

Former Member
0 Kudos

Ok Thanks .

I will check and revert

former_member182378
Active Contributor
0 Kudos

SAURAV,

mentions to validate either field VBAK-KVGR1 or KNVV-KVGR1.

I would suggest only validate KNVV-KVGR1.

During order entry, the customer gr 1 field can be manually changed. But if for a customer with "Inactive" status, transaction data (sales order etc.) should not be created, then go for KNVV (and not VBAK).

Another point could be make field VBAK-KVGR1 non-editable. So that the value from the customer master shall flow and remain the same in the sales order too.

Answers (0)