Skip to Content

Plant determination in Sales Order in case of creation from IDOCS

Dear Gurus,

There is a scenario where sales orders are created through IDOCs. The sold to and the ship to party are different in the sales order. The delivering plant is maintained as B in the CMR of the ship to party.

The CMIR is maintained for the sold to, not the ship to.

When the sales order is being created via IDOC's, the plant determined for a material is A. When the sales order is created manually via VA01, the plant determined for the same material is B.

I have looked in the user exit USEREXIT_SOURCE_DETERMINATION for any custom code for plant determination, but couldn't find any.

Why is the plant determined different in case of creation via IDOC's vs Manual creation, for the same Sold to/Ship to/Material?

Any help is appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 6 days ago

    Hi,

    The logic for determining the plant is: 1) CMIR, 2) CMR and 3) MMR.

    I think you are on the right track and possibly an USEREXIT is influencing the plant.

    Please check MV45AFZ*s.

    This could be helful too: https://answers.sap.com/questions/2231688/plant-determination-for-sales-order.html

    Regards,

    Maximiliano Isoba.

    Add comment
    10|10000 characters needed characters exceeded