Hi xperts,
I am working on MDM Java API on SP05 server (initial release 5.5.40.83) on the MDM standard example to retrive Data from a Table.
http://help.sap.com/javadocs/MDM/current/com/sap/mdm/examples/RetrieveLimitedRecords.html
I am getting an execption on this command
RetrieveLimitedRecordsCommand recList = new RetrieveLimitedRecordsCommand(cp);
recList.setSession(userSes.getUserSession());
recList.setResultDefinition(rd);
recList.setSearch(search);
<b>recList.execute();</b>
The user session, result definition is mentioned properly.
The error is :
<i>java.lang.IllegalArgumentException: The array of table schemas must contain at least one table.
at com.sap.mdm.schema.RepositorySchema.<init>(RepositorySchema.java:63)
at com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand.execute(Unknown Source)
at com.sap.mdm.data.GetRecords.main(GetRecords.java:87)
Exception in thread "main"</i>
Pl solve this,
Vijay