cancel
Showing results for 
Search instead for 
Did you mean: 

Java MDM API 2, Text Blob Writing Exception

sergey_tuzov
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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