Skip to Content
0

Create/change material using change master

Nov 27, 2017 at 06:18 AM

93

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Ankur Chauhan 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,

Share
10 |10000 characters needed characters left characters exceeded
Rosh A 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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 27, 2017 at 07:00 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

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

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

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Nov 27, 2017 at 04:14 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 29, 2017 at 07:32 AM
0

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?

Share
10 |10000 characters needed characters left characters exceeded