Skip to Content
avatar image
Former Member

Create/change material using change master

Hello.
You want to create or make changes to the material. If I use BAPI_MATERIAL_SAVEDATA, the changes are not reflected in the change master, and he served no where in the BAPI. How else can you change or create the material record, using the change master?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Nov 27, 2017 at 06:41 AM
    -1

    Why not you are not using MM17 for mass changes, changes will reflects in change documents.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 27, 2017 at 01:56 PM
    -1

    As per SAP note 1050255 - Transaction code in change documents not actionable, to get change detail for the material master,

    1) You need to add import parameter "IV_CHANGE_DOC_TCODE" to FMs "MATERIAL_MAINTAIN_DARK and MATERIAL_UPDATE_ALL"

    2) You have to implement the correction instruction attached in that note

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 27, 2017 at 07:00 AM

    The changes are individual for each material and relate to text type fields MAKTX, ZEINR, GROES....

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 27, 2017 at 08:35 AM

    I need to make changes to the material with the unsubscribe description (OITXT) in the change master. MM17 and MM02 is not suitable.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 27, 2017 at 04:14 PM

    I have never worked with Engineering Change Management, so I am not certain about the solution.

    From reading through some discussions and notes I have the impression that you link to it via the change number which is visible in the MM11 and MM12 transaction.

    This field has the field name AENNR and AENNR is certainly in the MATMAS Idoc.

    I found this older discussion based on this information, you may want to check whether it is relevant for your case:

    https://archive.sap.com/discussions/thread/623890

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 29, 2017 at 07:32 AM

    Thanks, I already read this article.
    But before you implement described in it, I have questions more questions.

    1. To understand how the BAPI adds a change number in the change record material, but does not add the change record itself AENNR. Ie in the table CDHDR is only one line about changing OBJECTCLAS = MATERIAL and PLANCHNGNR will be added AENNR. But he AENNR change will not be made. Do I understand correctly?
    2. If I understand correctly, then we need to separately change the entry in AENNR. How to do it, CC02 is not suitable. Transaction cannot run the batch input. And no BAPI I can't find the change data in AEOI. How then to be?
    3. Based on the instructions I realized that SAP has provided for the extension BAPI_MATERIAL_SAVEDATA, but haven't added it separately. The BAPI itself understands that in the record

    EXTENSIONINX-STRUCTURE = ‘BAPI_TE_MARAX’

    EXTENSIONINX-VALUEPART1= Material Numer+ Change Number

    is AENNR?

    Add comment
    10|10000 characters needed characters exceeded