SAP Knowledge Base Article - Preview

3455976 - LD Upload Table Has Stack Trace Error That Primary Key is Not In Layout

Symptom

When a user attempts to pull up data for a LD table on the LD Upload Utility screens, they receive a stack trace error. The key portion indicates that a "Primary key" is "not in layout". Below is a sample full stack trace, specifically calling out LD2.
    java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.workforcesoftware.Jsp.Util.ActionHandler.doAction(ActionHandler.java:228)
	at com.workforcesoftware.Jsp.LdUploadUtil.LdUploadAction.doAction(LdUploadAction.java:103)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.performNoSynchronize(WActionBase.java:712)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleNormalRequest(WActionBase.java:570)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.handleRequest(WActionBase.java:306)
	at com.workforcesoftware.ClientRequests.JspUtils.WActionBase.execute(WActionBase.java:191)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.ezest.util.TargetToSystemFeatureFilter.doFilter(TargetToSystemFeatureFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.WFServletFilter$1.execute(WFServletFilter.java:66)
	at com.workforcesoftware.runtime.ResourceTracker.executeThenRelease(ResourceTracker.java:185)
	at com.workforcesoftware.runtime.ResourceTracker.executeOperationAndReleaseResources(ResourceTracker.java:97)
	at com.workforcesoftware.ClientRequests.WFServletFilter.doFilter(WFServletFilter.java:57)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.UIThemeFilter.doFilter(UIThemeFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.workforcesoftware.ClientRequests.P3PFilter.doFilter(P3PFilter.java:56)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
	at de.javakaffee.web.msm.RequestTrackingContextValve.invoke(RequestTrackingContextValve.java:99)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
	at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:157)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:366)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:847)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1680)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.workforcesoftware.Exceptions.InternalApplicationException: Primary key LD2 not in layout
	at com.workforcesoftware.LD.LdUploadUtil.LdUploadDataBase.getPrimaryKeyFields(LdUploadDataBase.java:409)
	at com.workforcesoftware.LD.LdUploadUtil.LdUploadDataBase.<init>(LdUploadDataBase.java:66)
	at com.workforcesoftware.LD.LdUploadUtil.LdUploadDataBase.<init>(LdUploadDataBase.java:55)
	at com.workforcesoftware.LD.LdUploadUtil.LdUploadReadOnlyData.<init>(LdUploadReadOnlyData.java:40)
	at com.workforcesoftware.LD.LdUploadUtil.LdUploadFactory.getReadOnlyData(LdUploadFactory.java:52)
	at com.workforcesoftware.Jsp.LdUploadUtil.LdUploadAction$LdUploadActionHandler.show(LdUploadAction.java:218)
	... 57 more
 


Read more...

Environment

SAP WorkForce Time and Attendance, All Verisons

Product

SAP Time and Attendance Management by WorkForce Software all versions

Keywords

Exception, Stack trace, LD table, LD key, policy , KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.