Skip to Content

Java MDM API 2, Text Blob Writing Exception

Dear Experts.

I'm trying to write Text Blob record to the Text_Blocks table but all the time

exception occurs:

com.sap.mdm.internal.protocol.manual.ServerException: Not yet implemented

MDM verison is 5.5.61.63

The code is the following:

try {   
	CreateRecordCommand createRecord = new CreateRecordCommand(context);
			TableId mainTableId = schema.getTableId("Text_Blocks");
			TextBlobRecord addressBlob = RecordFactory
					.createEmptyTextRecord(mainTableId);
 
			addressBlob.setCode("" + requestId);
			HierGroupNode addressHierGroupNode = (HierGroupNode) this.groupTextBlockHashMap
					.get(dataGroupName);
			addressBlob.setDataGroupId(addressHierGroupNode.getId());
			addressBlob.setDescription(new StringValue(blobCaption));
			addressBlob.setText(new StringValue(stringValue));
 
			createRecord.setRecord(addressBlob);
			createRecord.execute();
			recordId = createRecord.getRecord().getId();
			return recordId;
			// recordId = setCheckOut(recordId);
		} catch (ConnectionException e) {
			wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
			return null;
		} catch (CommandException e) {
			wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
			return null;
		} catch (MdmValueTypeException e) {
			wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
			return null;
		}

Edited by: Sergey Tuzov on Apr 1, 2009 5:30 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 05, 2011 at 06:21 PM

    I am running into the same isssue utilizing the Java API with version 5.5.64.94. Has there been a resolution to this problem?

    Thanks

    Add comment
    10|10000 characters needed characters exceeded