cancel
Showing results for 
Search instead for 
Did you mean: 

sap.mdm.internal.protocol.manual.ServerException:Information out of date

Former Member
0 Kudos

Hi,

I am getting this error "com.sap.mdm.internal.protocol.manual.ServerException: Information out of date"

while trying to update a record using MDM APIs.

Please help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

OK guys,

I think I figured it out.

The reason for you to get this message is that your record has been updated in the meanwhile. There is probably a workflow and assigment that does this update automatically on the MDM server.

This update makes the record you are about to update out-dated, therefore you have to re-extract it again just before you write in it.

What I do is:

//Retrieve the Record again in case it changed (Using the same connection)

cmd.execute();

recs = cmd.getRecords();

rec = recs.getRecord(0);

rec.setFieldValue(<FieldId>, <MdmValue>);

ModifyRecordCommand modify = new ModifyRecordCommand(<connection>);

modify.setSession(<sessionId>);

modify.setRecord(rec);

modify.execute();

That worked for me.

Best regards,

Boris

Answers (1)

Answers (1)

Former Member
0 Kudos

I'm getting absolutely the same error message and it's not consistent.

I think this is because we have a listener that updates the process in the background and by the time I try to save the record, it's been already updated by another process, but I can't be sure.

Once again, sometimes it saves the record, sometimes it doesn't and gives me the error above.

Any help is appreciated.

Regards,

Boris