cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Data Table in Work Manager 6.1 / SMP 3.0

florian_weigold
Advisor
Advisor
0 Kudos

Hi folks,

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?

Cheers,

Florian

Accepted Solutions (1)

Accepted Solutions (1)

i834235
Product and Topic Expert
Product and Topic Expert
0 Kudos

Make sure that 'DT_MDOID" parameter entries are maintained correctly "That there is no typo's" in config panel. I don't think you need any entries for TABLE_CHECK, TABLE_REFRESH, ENABLE_TABLE parameters which are only relevant for complex table.  Same in Agentry  the data table should match with  SAP name.

Let me know if you still have issues.

Thanks

Manju

florian_weigold
Advisor
Advisor
0 Kudos

Hi Manju,

thanks for the notes. We have visually checked the matching with the MDO as well as DT_.. today. That looked fine. Do you think the DT name is

a) case sensitive

b) restricted in terms of allowed characters (our name starts with Z_dt<Name>)

Can that be an option?

Cheers,

Flo

florian_weigold
Advisor
Advisor
0 Kudos

Hi,

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.

Working now.

Cheers,

Florian

agentry_src
Active Contributor
0 Kudos

Hi Florian,

Thanks for posting the solution!

Regards, Mike

SAP Customer Experience Group - CEG

Answers (0)