API thrown ServerException: Table not found

[] [] [] []

Symptom

When using the MDM Java API to retrieve information about records and images the next server error is thrown at runtime.
com.sap.mdm.commands.CommandException:
com.sap.mdm.internal.protocol.manual.ServerException: Table not found.

Reason and Prerequisites

Using class FieldSearchDimension on blob fields (such as images, PFD’s and Binary).
Solution

FieldSearchDimension will not work on blob fields (such as images, PFD’s and Binary) at all and will throw the above exception.
In order to perform search on blob fields please use
RetrieveBinaryObjectUsageCommand. Please see code sample attached.
Please note that RetrieveBinaryObjectUsageCommand exist in the API since SP06 Patch 03.
Note regarding FieldSearchDimension:
The field path (the method parameter) works correctly for tuple fields. For normal lookup fields, only the last field in the path is used. If there are two or more paths to the final destination lookup table, the server will picks the first field path it finds.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment