Skip to Content

Change Material Desc in PO when it changes in Material Master

Hi Folks

Issue :

We made change to material description of MAT1 on Monday . Now, we checked the purchase order that was created for this material before the description was changed . Now, if you go to the PO 'AA' in edit mode(ME22n), take of the material number, click enter, it will give you error to entre the material . Then enter material number MAT1 again and click enter. check the description that has populated now. It is showing the new material description of MAT1 from MAKT(MM03).now we tried same thing with PO 'BB'. It doesn't work.

Analysis " For PO: AA the PR: AA1. In this PR it had maintained Language as EBAN_SPRAS = EN. So in this case material description is fetched from the PR.

For PO: BB the PR: BB1. In this PR Language is not maintained. So in this case the material description is fetched from the material.

Query : How can we fix this to always fetch material description from material master ?Is there any configuration ? I tried to fix material description using BADI

ME_PROCESS_PO_CUST~PROCESS_ITEM but it does not update the material description even using the Set data method .

How can we always populate material description in purchase order from Material master only ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 11, 2017 at 09:34 AM

    you wrote: "Now, if you go to the PO 'AA' in edit mode(ME22n), take of the material number, click enter, it will give you error."

    Which error do you get? I think this is very important to know to prepare a diligent solution.

    It is standard text determination customizing in IMG > MM > Purchasing - purchase order ... which determines from where the text is fetched when you create a PO. Please ask your functional consultant before you rush into BADI development.

    Text is determined in "creation-mode" not in "change-mode", what you did with removing the material number and reentering is actually a kind of creation, that's why the description was fetched from the defined source again.

    I would not recommend to solve this with a BADI, if someone changes actively material descriptions then he shall do it for open documents that need this update too with the MASS transaction.

    It would be a ridiculous if you expect the user to open each PO individually in ME22N to have the text then changed automatically with your BADI (if you ever get it to do it as expected).

    You also have to consider that users may open old POs in ME22N, which are completed for many years, do you really want to update those POs too? Do you want to send messages to your vendor about such changed text?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Deepika,

      I can guess the reason why your Badi with PO item data is not working even with Set data methods and what you need to do to fix that solution. However,I think the best solution is provided by Jurgen and the most judicious approach as well.

      and finally why don't you perform MASS transaction for this purpose?

      1. Material master - 2. Requisition - .....

      or 1. Requisition - 2. Material master

      Regards,

      Avik

  • avatar image
    Former Member
    Sep 06, 2017 at 06:48 PM

    PO will always copy the text description from PR but not material master as it had higher priority

    than the material master. However, the PR document must have same document language with the PO, then only the short description will be copy.

    This behaviour was also as explained in FAQ note 448814 which tell you PR document must have same document language with the PO, in order for it to get transfer.

    448814 - FAQ: Texts in Purchasing

    In sample PO X, it was refer to PR PR1 item 10 but in this PR does not have any language maintained. Therefore the precedence to copy material text description from PR does not meet. Therefore, it copied from material master where material M1 text description maintained with
    language = EN.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 06, 2017 at 06:54 PM
    • We can fix for MRP materials using ABAP enhancement in
      Include LMEPOF6F
      FORM mepo_item_fill_txz01 CHANGING ch_txz01 TYPE ekpo-txz01.
      ENHANCEMENT-POINT mepo_item_fill_txz01_01 SPOTS es_saplmepo.
    Add comment
    10|10000 characters needed characters exceeded