Skip to Content
avatar image
Former Member

Automatically populate plant

All,

I need to have a certain sales document type auto populate the plant from material master and not customer master. How can I do that?

Thank you!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Feb 09, 2011 at 07:47 PM

    You can go for customization. in the user exit MV45AFZB in FORM USEREXIT_SOURCE_DETERMINATION , read the plant from the material master and populate it.

    Regards

    Sai

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 09, 2011 at 07:50 PM

    Use USEREXIT_SOURCE_DETERMINATION in program MV45AFZB to pull the plants based on sales order types.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Its better to work with your ABAP person and get it done. You can prepare the specifications with the requirement.

      Else If you can code and have the development key, you can write the code in this form .

      You can either read the delivering Plant for MVKE-DWERK or the Plant from the storage location date MARD-WERKS.

      Regards

      Sai

  • Feb 10, 2011 at 03:12 AM

    In normal circumstances, we dont maintain plant in customer master due to the fact that from multiple plants, materials would be despatched to the same customer.

    So it is ideal if you maintain only in material master sales tab and not in customer master so that you dont go for any user exit.

    thanks

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 10, 2011 at 09:21 AM

    Hi,

    the basic rule for determination of plant in a sales document is that system first search for plant in CMIR ,then CMR and then MMR as far as the master data is concerned.

    so if you do not maintain in the fist two determination i.e.CMIR and CMR and do it in MMR then system will automatically populate it from MMR ONLY .

    In CMIR basically it is done for some special,priviliged and high net worth customers to make them deliver the material from the nearby plant or for some other reason.

    this is a sap standard process,

    if you want to superced it then go for the user exits recommended by the gurus in the earlier posts

    revert if helpful

    Thanks

    Mohit Singh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 10, 2011 at 09:42 AM

    You can maintain the plant in the customer master record .

    Go to sales area / shipping maintain the plant in the delivery plant field .

    At the time of creation of sales order the plant comes in automatically.

    Regards

    Suvin

    Add comment
    10|10000 characters needed characters exceeded