Custom Data Table in Work Manager 6.1 / SMP 3.0
was trying to create a custom Data Table in Work Manager. Unfortunately I was not successful to get it working - probably I am missing out something.
Have created the DataTable in the Agentry Editor and configured the Java Class to use the DataTable class like for the other DataTables. Then created the 4 config values in the parameters of the Mobile Application Configuration (DT_MDOID, TABLE_CHECK, TABLE_REFRESH, ENABLE_TABLE). Also created a MDO that is mapped to the DT_MDOID which is derived from the /SYCLO/CL_CORE_DT_HANDLER class.
During sync, I am getting the following errors in the server logs - in the client it is Error 13 => Java...
08/13/2014 18:18:36, 1, 0, 2, Thr 10364, class RCP<class DT::DataTable>, D:\Syclo_BuildBot\rc_7.0server\Syclo\refcount.h#220:RCP<class DT::DataTable>::operator ->
2014/08/13 18:18:36.505: + BackEnd=Java-SAPJavaConnection
2014/08/13 18:18:36.505: Using Java code for <DATA_TABLE_NAME>
2014/08/13 18:18:36.506: Java Exception "<DATA_TABLE_NAME>" Update Data Table: - java.util.NoSuchElementException
Do you have some pointers on what I may miss out?
Florian Weigold replied
problem solved. For whatever reason, the Java Class of the Data Table was entered, but appeared as "File" instead of "Class" in the Editor. I removed the table, re-created it and mapped it to the DataTable class of the WM package.