Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 05, 2009 at 07:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 05, 2009 at 06:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded