‎2007 Mar 19 8:08 PM
Hi everyone,
I having a problem that maybe on of you have faced before:
I am updating a material, throught a batch input in MM02, just changing a single field. I am doing that just to execute a routine (a user exit) that takes place when a material is updated.
Some of the materials are updated, but the log of that operation doesn't apperar in the log tables (CDHDR and CDPOS).
What is strange is that if I do this in MM02 with no batch iput, with the same material, all the operation goes fine.
Did anyone know what is happening?
Thanks in advance,
Raphael
‎2007 Mar 19 8:29 PM
Hi,
Are you using batch input program RMDATIND for material changes?
If you are, it seems this program perform direct update to database via FM MATERIAL_MAINTAIN_DARK and I don't think the program has a logic to handle change document.
Regards,
Ferry Lianto
‎2007 Mar 19 9:24 PM
Ferry,
I believe if you pass KZ_AEND = 'X' this FM is going to create changedocs (there is a logic in FMs which are called form maintain_dark).