cancel
Showing results for 
Search instead for 
Did you mean: 

Create/change material using change master

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

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?

JL23
Active Contributor
0 Kudos

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

former_member233510
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

JL23
Active Contributor
0 Kudos

Please specify your question in more detail as you initially talked about "change master" which is from engineering change management.

Now you are just talking about individual changes, which can be well done from a spreadsheet upload in MM17 as you can read in my blog New upload function in MM17 and MASS transaction

ankurch
Active Contributor
0 Kudos

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

Thanks,