Application Development 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: 

ALE Matmas - Delta only on specific fields

danieltwerenbold
Explorer
0 Kudos

Hi all

We have to sync material masters from system A to B.

For init (new material) we have created a reduced message type ZMATMAS where we selected only required fields for destination. This is working well.

But if in Sender (A) some fields in material are changed, we need to sync to System B, but make sure only a few fields are updated - others not overwritten

E.g. if EAN Number is changed, this number has to be updated in destination system, but e.g. Labor (also in MARA) should not be overwritten in dest. by sending the IDoc...

Is there any Standard procedure to solve this requirement (Setting in Change pointers etc) or do I have to write logic in customer Exit?

Thank you for your help!

2 REPLIES 2

thanga_prakash
Active Contributor
0 Kudos

Hello Daniel,

You can write a code in CUSTOMER EXIT, compare the IDOC data with the existing data in the system,

if the data is not matching then update the data of that particular field.

Regards,

TP

danieltwerenbold
Explorer
0 Kudos

Hi

Thank for the hints.. we will try a different Approach.. We will set up a second message type (reduction) and activate for Change pointers. in user-Exit in source-System we will check the functiongroupcode of E1MARAM and if it is update, we will Change a specific value in this section, if not update, Change to different value...
With filters we will then make sure only the correct message type is sent to Destination System... this will make it easier for our Client to Change the filelds later without Need to do something in abap...

will update as soon as we have tried...