Skip to Content

com.sap.mw.jco.JCO$AbapException: (126) TABLE_NOT_ACTIVE: TABLE_NOT_ACTIVE

The following error when I try to create populate the table in save BAPI.

The table is active.

JCo connections are fine.

Deleted and re-imported model

undeployed and re-deployed the project and also restarted the j2ee server

Nothing of the above helps

Thanks for any help in advace.

======== ERROR STARTS================================================

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to create or init instance of model 'com.siemens.uk.model.modify.ModifySkillDetailsModel' in scope APPLICATION_SCOPE with instanceId 'null'

at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getOrCreateModelInstanceFromScopeMaintainer(WDModelFactory.java:341)

at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getModelInstance(WDModelFactory.java:155)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass._associatedModel(DynamicRFCModelClass.java:203)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.associatedModelClassInfo(DynamicRFCModelClass.java:217)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.elementIndexForFrontendName(DynamicRFCModelClass.java:1359)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsDate(DynamicRFCModelClass.java:569)

at com.siemens.uk.model.modify.Zhr_Qualific_Tab.setBegda(Zhr_Qualific_Tab.java:140)

at com.siemens.uk.cmp.ModelCust.executeZ_Bapi_Qualific_Save_Input(ModelCust.java:280)

at com.siemens.uk.cmp.wdp.InternalModelCust.executeZ_Bapi_Qualific_Save_Input(InternalModelCust.java:726)

at com.siemens.uk.cmp.ModelCompInterface.executeZ_Bapi_Qualific_Save_Input(ModelCompInterface.java:155)

at com.siemens.uk.cmp.wdp.InternalModelCompInterface.executeZ_Bapi_Qualific_Save_Input(InternalModelCompInterface.java:384)

at com.siemens.uk.cmp.wdp.InternalModelCompInterface$External.executeZ_Bapi_Qualific_Save_Input(InternalModelCompInterface.java:460)

at com.siemens.uk.cmp.EmployeeCust.executeZ_Bapi_Qualific_Save_Input(EmployeeCust.java:157)

at com.siemens.uk.cmp.wdp.InternalEmployeeCust.executeZ_Bapi_Qualific_Save_Input(InternalEmployeeCust.java:406)

at com.siemens.uk.cmp.EmployeeCompView.onActionSave(EmployeeCompView.java:450)

at com.siemens.uk.cmp.wdp.InternalEmployeeCompView.wdInvokeEventHandler(InternalEmployeeCompView.java:411)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.tc.webdynpro.progmodel.model.api.WDModelException: failed to create instance of model 'com.siemens.uk.model.modify.ModifySkillDetailsModel'

at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getNewModelInstance(WDModelFactory.java:392)

at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getOrCreateModelInstanceFromScopeMaintainer(WDModelFactory.java:329)

... 44 more

Caused by: com.sap.mw.jco.JCO$AbapException: (126) TABLE_NOT_ACTIVE: TABLE_NOT_ACTIVE

at com.sap.mw.jco.JCO$Client.execute(JCO.java:3367)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getAbapLineTypeNameForTable(RFCMetadataRepository.java:116)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.metadata.DRFCModelInfo.getLineTypeForTableType(DRFCModelInfo.java:188)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.metadata.DRFCModelClassInfo.createRelationRoles(DRFCModelClassInfo.java:177)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.metadata.DRFCModelClassInfo.<init>(DRFCModelClassInfo.java:116)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.metadata.DRFCModelInfo.getOrCreateClassInfo(DRFCModelInfo.java:221)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.metadata.DRFCModelInfo.<init>(DRFCModelInfo.java:164)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.metadata.DRFCModelInfo$Cache.getModelInfo(DRFCModelInfo.java:103)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModel.<init>(DynamicRFCModel.java:112)

at com.siemens.uk.model.modify.ModifySkillDetailsModel.<init>(ModifySkillDetailsModel.java:187)

at com.siemens.uk.model.modify.ModifySkillDetailsModel.<init>(ModifySkillDetailsModel.java:162)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getNewModelInstance(WDModelFactory.java:386)

... 45 more

======== ERROR ENDS================================================

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 12:05 PM

    Hi

    It seems to be a Z table that you've created. Make sure its activated in DDIC (SE11).

    Hope that helps,

    Cheers,

    Rajit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.