Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems while updating CDHDR

Former Member
0 Likes
454

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

2 REPLIES 2
Read only

Former Member
0 Likes
402

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

Read only

0 Likes
402

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).