on 03-19-2009 6:33 AM
Hi,
This is regarding MDM Java API.
I have to update MDM table record (multiple fields) with incoming data. However, most of the time, the incoming data has the same value as the data in the record.
To avoid affecting the MDM performance just to update nothing (since the existing record data is same as incoming data), i'm looking for a quick way to check whether the incoming data is same as existing data; if yes, no update.
Manually looping through each field of the record and comparing the data is simply too inefficient for us.
Any help would be much appreciated.
Thanks.
HI Julius,
Try using Interface Record.ModificationStatus of com.sap.mdm.data.
Method Record.ModificationStatus().
Hope it helps.
Thanks,
Minaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
compare by string
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julius
To achieve what you are trying do the following
1) create a matching stratergy in MDM
2) Use API command "RetrieveMatchingStrategiesCommand" run matching stratergy for the record you are trying to create.
3) check if duplicates exist. If it exists delete the record else insert the record.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.