Skip to Content

Incorrect Sales group (VKGRP) in Sales order

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 18, 2015 at 11:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 12, 2015 at 07:31 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 12, 2015 at 07:50 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 14, 2015 at 11:13 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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