cancel
Showing results for 
Search instead for 
Did you mean: 

Change pointer for MARD creation and modification

anlro
Explorer
1,594

Dear experts,

I'm implementing master data distribution using idocs with a logistics partner and I facing the following problem.

I'm not able to generate change pointer when I create a material storage location view in MM01 (Table MARD). Even when I change it by setting the deletion flag via MM06.

I see the change documents in CDHDR/CDPOS table but no change pointer in table BDCP2.

The change pointers work perfectly for all other changes I can do in MM01/MM02 on MARA, MARC, MARM data.

In BD52 I have the following entries :

MATERIAL MARD KEY

MATERIAL MARD LGORT

MATERIAL MARD LVORM

MATERIAL MARD PSTAT

Any idea why I don't get any change pointer when creating/changing material storage location view ?

Thank you.

Accepted Solutions (0)

Answers (3)

Answers (3)

VeselinaPeykova
Active Contributor

In my system there are a few more entries in BD52:

Try maintaining these as well and see if change pointers are generated for the newly added fields.

anlro
Explorer

I forgot to say that I use a specific idoc type ZMATMAS which is a copy of MATMAS.

I've also created a idoc reduction in BD53 (All fields of E1MARDM segment are included in the reduced idoc).

Anyway, I've added your fields and it's still not working for my message ZMATMAS. It's working for the message MATMAS, I see the entries in BDCP2.

What could I miss ?

Thanks

anlro
Explorer
0 Kudos

Dear all,

I found the issue. There was an implementation of BADI BDCP_BEFORE_WRITE and in method FILTER_BDCPV_BEFORE_WRITE there was something preventing from logging the MARD change.

So that was a custom code issue.

VeselinaPeykova
Active Contributor
0 Kudos

If this works with MATMAS, but not with ZMATMAS - are you using BADI BDCP_BEFORE_WRITE?

This is definitely not my area of expertise, but this is probably what I would check first in your case.

anlro
Explorer
0 Kudos

No I'm not using any ABAP.

I've just created a specific idoc in copy of MATMAS. Then I've set the following parameters :

BD61 To activate change pointers globally

BD50 To activate change pointers for message ZMATMAS

BD52 To activate change Pointer per change document item (Where I have all MARD fields)

BD53 To reduce the idoc segments and to send only the relevant data to the receiving system (MARD fields are also included).

I have all the change pointers in BDCP2 but the MARD changes...

Thank you.