cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect Sales group (VKGRP) in Sales order

0 Kudos

At the time of creation of Sales order the Sales Group (VKGRP) is getting changed. It is seen that there is no change in the Customer Master during this creation of Sales Order. Screen variant is already set to avoid this problem but, still the Sales group is getting changed for few sales orders.

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi,

Finally got the root cause of the issue.

At the time of creation of the Sales order, in the initial screen if you enter the Sales Group after entering the Sales document type, that will be picked up as Sales Group of the Customer, though the customer is having the different Sales Group.

Then you can save the Sales Order also with this wrong Sales Group.

With regards,

Samyak

former_member211108
Contributor
0 Kudos

Hi Samyak,

As you had stated below:


At the time of creation of Sales order the Sales Group (VKGRP) is getting changed

You need to check :

  1. How the sales order is created? Is it using VA01 or any other method?
  2. If its Va01 then check the user exits MV45afzb and MV45afzz . There must be some business rule written.
  3. If its other than VA01 then apart point no 2 above you can also check your interface.

Hope this will help you.

Thanks and Regards

Atulkumar Dagade

0 Kudos

Hi Atul,

This is done with VA01. And it is not that all the time the Circle is getting changed. The case appears 1 among 1000.

Even to overcome this problem the screen variant is set to grey out the field "Sales Group" in sales order. But still it is getting changed.

former_member211108
Contributor
0 Kudos


Hi Samyak,

As mentioned earlier have you went through the exits?

former_member182378
Active Contributor
0 Kudos

Samyak,

Yes probably this is due to some coding done in a userexit!

Please do this test - remove the sales group from the customer. And then create the sales order. What sales group does the order populate?

Ofcourse, this field should not be mandatory in the customer; in order to keep it blank.

TW

former_member182378
Active Contributor
0 Kudos

Samyak,

Paste the customer mater with the sales group and the sales order with the sales group.

Further, is the sales office the same in customer and sales order?

Check change log, in a user changing the group manually?

TW

0 Kudos

Hi TW,

Yes, Sales office is same for both.

There is no change log for changing the Sales Group.

former_member204407
Active Contributor
0 Kudos

Hi,

check the below points one more time in your enterprise structure for sales group

1.Assignment of the same sales office to sales area & Sales office to sales group

2.Master data :for the customer extended to above sales area (which is above linked sales group+Sales office)

3.Assignment of sales documents to above sales area(which is linked above sales group+Sales office)

Thanks,

Krishna.

former_member182378
Active Contributor
0 Kudos

Samyak,

It will help if you can paste the image of the sales order, field sales group, press F4 (options)

Also what is the sales group in the customer master and that in the sales order.

TW

former_member187652
Contributor
0 Kudos

maybe there is a userexit for this field? you can check the codes in mv45afzz or put a watchpoint on sales group upon saving the sales order. Also what might be helpful is to identify the common characteristics those sales orders share and do more research there.