Problem while modifying number datatype.
Hi All,
I have modified a column, which is of number datatype.
Initially it was number(8,2), now I have changed this to Number(10,2).
But, due to some change in requirement, I have to revese the changes. Now, I am trying to make it Number(8,2), but it is giving me the following error.
Error report:
SQL Error: ORA-01440: column to be modified must be empty to decrease precision or scale
01440. 00000 - "column to be modified must be empty to decrease precision or scale"
Is there a way to make it?
Please suggest..
I am using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production.
Thnx in advance..
Bits..
You'd have to jump through some hoops to decrease the allowable number of digits in a column. You'd either have to re-create the table, i.e.
-- Save off the data in FOO
ALTER TABLE foo
RENAME TO foo_bkup;
CREATE TABLE foo (
-- New column definitions
INSERT /*+ APPEND */ INTO foo( list_of_columns )
SELECT list_of_columns
FROM foo_bkupOr you could create a new column, copy the data, and rename the old column
ALTER TABLE foo
ADD( temp_col_name number(8,2) );
UPDATE foo
SET temp_col_name = old_col_name;
ALTER TABLE foo
DROP COLUMN old_col_name;
ALTER TABLE foo
RENAME COLUMN temp_col_name TO old_col_name;Justin
Similar Messages
-
Facing problem while tranporting number ranges via OONR transaction
Hi Experts,
Facing problem while tranporting number ranges via OONR transaction from Development to Quality.
We have different number ranges for plan version.
And in the table T77S0 : NUMRG COMP
We have value maintained as space.
Please advice.
Thanks in Advance.
Regards,
IFFHi IFF,
What is the error you're getting?
Can you please elaborate a little bit?
Regards,
Dilek -
Problem while modifying searches in Imaging 11.1.1.5
Hi
I am facing serious issues while modifying searches in IPM.
Initially while creating applications, and uploading data in those applications, the fields were not added in sequence.
So we re-ordered the sequence from database and it worked fine.
But now because of re-ordering the search results column have also been reordered(Result Formatting) in Search Creation.
While modifying i am facing following error:
2012-03-06T10:14:27.967-10:00] [IPM_server1] [ERROR] [] [oracle.imaging.axf] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: f5c1f5acbf0bb7a6:2d91bb50:135e98f9a52:-8000-00000000000000d7,0] [APP: imaging] ##### Error ID is [e6b7913a-ab37-4ba3-9960-2e46a212f241]
[2012-03-06T10:14:27.967-10:00] [IPM_server1] [ERROR] [] [oracle.imaging.axf] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: f5c1f5acbf0bb7a6:2d91bb50:135e98f9a52:-8000-00000000000000d7,0] [APP: imaging] ##### Error was [java.lang.NullPointerException][[
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.imaging.ui.model.filter.ImagingLoginFilter.doFilter(ImagingLoginFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateCondition(PersistedSearchValidator.java:245)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:205)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:209)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validateTree(PersistedSearchValidator.java:210)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validate(PersistedSearchValidator.java:188)
at oracle.imaging.validation.PersistedSearchValidator$SearchParameterValidator.validate(PersistedSearchValidator.java:161)
at oracle.imaging.validation.Validator.validate(Validator.java:102)
at oracle.imaging.validation.PersistedSearchValidator.validate(PersistedSearchValidator.java:404)
at oracle.imaging.validation.PersistedSearchValidator.validate(PersistedSearchValidator.java:23)
at oracle.imaging.validation.Validator.validate(Validator.java:102)
at oracle.imaging.search.Validation.validateSearch(Validation.java:174)
at oracle.imaging.search.SearchServiceImpl.modifySearch(SearchServiceImpl.java:453)
at oracle.imaging.ui.search.SearchBuilderBean.commitTrain(SearchBuilderBean.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
... 60 more
[2012-03-06T10:14:28.124-10:00] [IPM_server1] [WARNING] [] [oracle.adf.view.rich.component.fragment.UIXRegion] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: f5c1f5acbf0bb7a6:2d91bb50:135e98f9a52:-8000-00000000000000d9,0] [APP: imaging] [[
java.lang.IllegalStateException: The expression "#{bindings.preferencesedit1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "prefTf") evaluated to null.
This is typically due to an error in the configuration of the objects referenced by this expression.
If it helps, the expression "#{bindings.preferencesedit1}" evaluates to "null".
If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
at jsp_servlet._pagefragments.__header_jsff._jspx___tag48(__header_jsff.java:2260)
at jsp_servlet._pagefragments.__header_jsff._jspx___tag47(__header_jsff.java:2227)
at jsp_servlet._pagefragments.__header_jsff._jspx___tag45(__header_jsff.java:2139)
at jsp_servlet._pagefragments.__header_jsff._jspx___tag44(__header_jsff.java:2085)
at jsp_servlet._pagefragments.__header_jsff._jspx___tag43(__header_jsff.java:2030)
at jsp_servlet._pagefragments.__header_jsff._jspx___tag42(__header_jsff.java:1980)
at jsp_servlet._pagefragments.__header_jsff._jspService(__header_jsff.java:70)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at jsp_servlet._templates.__axftablesstemplate_jspx._jspService(__axftablesstemplate_jspx.java:234)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:143)
at jsp_servlet._message.__error_jspx._jspx___tag2(__error_jspx.java:217)
at jsp_servlet._message.__error_jspx._jspx___tag1(__error_jspx.java:156)
at jsp_servlet._message.__error_jspx._jspx___tag0(__error_jspx.java:104)
at jsp_servlet._message.__error_jspx._jspService(__error_jspx.java:65)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.imaging.ui.model.filter.ImagingLoginFilter.doFilter(ImagingLoginFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
I will highly appreciate if someone could help me on this, the UAT is in process.
Thanks and Regards
ACMHi Abhinav,
Have you applied any patches for your PS4 instance as yet ?....Also do check the AXF logs and this might give a clue on command that is being executed.
You could paste the mapped AXF log as well
Edited by: Aditya on Mar 12, 2012 11:41 PM -
Problem while modifying sample adapter
Hi
I am trying to modify the sample adapter but am stuck with a problem. I am trying to create a connection to my data base (datasource.getconnection()) in place where the sample adapter creates fileoutputstream. But i get this error ;
Catching com.sap.engine.services.dbpool.exceptions.BaseSQLException:
ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResource
Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "ejbContexts/sap.com/com.sap.aii.af.app/ModuleProcessorExitBean"
--Please helpHi
I am trying to modify the sample adapter but am stuck with a problem. I am trying to create a connection to my data base (datasource.getconnection()) in place where the sample adapter creates fileoutputstream. But i get this error ;
Catching com.sap.engine.services.dbpool.exceptions.BaseSQLException:
ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResource
Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "ejbContexts/sap.com/com.sap.aii.af.app/ModuleProcessorExitBean"
--Please help -
Crashing problem while modifying Audio Effects...
Fresh install and update of Premiere Elements 10. When modifying the Audio Effects, the program crashes (every time) with no ability to save. Is there a way that I can fix this? Thanks in advance.
Welcome to the forum.
For crashes, or hangs, this ARTICLE is a good place to start.
It begins with a checklist on getting PrE to run the best, then moves on to tuning up one's system and OS. Last, there are many links to troubleshooting.
Good luck,
Hunt -
Problem While Activating Transformation
Hi BW Gurus,
I am currently working on BW 7.0 on Purchasing Area, I found some problem while modifying the transformation or activating the transformation. I have mapped the data source 2LIS_02_SCL Purchasing Data (Schedule Line Level). I have written a routine for mapping rules of 0ORDER_VAL base on the source field of BWVORG, BWAPPLNM, BWEFFWR, BEDAT, WAERS, HWAER, WKURS. And it shows no error while syntax check. But while activating the Transformation it leads to dump. And after that if I try to change the routine, it leads me to the same dump.
Please advice.
For reference, find the code what I wrote in the routine below,
IF ( SOURCE_FIELDS-BWVORG = '001' or SOURCE_FIELDS-BWVORG = '011'
or SOURCE_FIELDS-BWVORG = '021' or SOURCE_FIELDS-BWVORG = '004'
or SOURCE_FIELDS-BWVORG = '014' or SOURCE_FIELDS-BWVORG = '024' )
AND SOURCE_FIELDS-BWAPPLNM EQ 'MM'
AND SOURCE_FIELDS-BWEFFWR 0.
PERFORM LOC_CURR_CONVERT
USING SOURCE_FIELDS-BWEFFWR
SOURCE_FIELDS-BEDAT
SOURCE_FIELDS-WAERS
SOURCE_FIELDS-HWAER
SOURCE_FIELDS-WKURS
CHANGING RESULT.
ENDIF.
where the LOC_CURR_CONVERT is given below
FORM LOC_CURR_CONVERT *
--> LC_DOCUMENT_VALUE *
--> LC_DATE *
--> LC_DOCUMENT_CURRENCY *
--> LC_LOCAL_CURRENCYY *
--> LC_RATE *
LC_LOCAL_VALUE *
FORM loc_curr_convert
USING lc_document_value
lc_date
lc_document_currency
value(lc_local_currency)
lc_rate
CHANGING lc_local_value.
conversion of lc_rate from floating-point to decimal. Necessary for *
call of CONVERT_TO_LOCAL_CURRENCY.
data lc_rate_dec type p decimals 5.
lc_rate_dec = lc_rate.
IF lc_document_currency = lc_local_currency
no conversion necessary -> Main case 1
AND NOT ( lc_document_currency IS INITIAL
OR lc_local_currency IS INITIAL ) .
lc_local_value = lc_document_value.
ELSEIF NOT ( lc_document_currency IS INITIAL
OR lc_local_currency IS INITIAL OR lc_date IS INITIAL ) .
conversion necessary with lc_date -> Normally not possible
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
date = lc_date
foreign_amount = lc_document_value
foreign_currency = lc_document_currency
local_currency = lc_local_currency
rate = lc_rate_dec
IMPORTING
EXCHANGE_RATE =
local_amount = lc_local_value
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5.
IF sy-subrc NE 0.
message a802 with lc_date lc_document_currency lc_local_currency
sy-subrc.
ENDIF.
ELSE.
if conversion not possible -> assign target values
lc_local_value = lc_document_value.
lc_local_currency = lc_document_currency.
ENDIF.
ENDFORM.
Thnaks
Regards,
Deep.Hi,
Please check routine if any for 0CO_REPLINE and also expert routine.
Regards,
Rema. -
Update Termination Error while modifying PO in ME22n
Hi All,
I am facing one problem,while modifying the PO using ME22n.After modifying the PO when I save it ,Express Document "update was terminated" error comes.
Can anybody please guide me on this, why it is happening .It's very urgent.
Thanks in advance.Hi
Check the following link:
http://www.sapfans.com/forums/viewtopic.php?p=822485&sid=253f8b02796c0b390a5180b3d1a86661
Though not relevant for PO......the basics are same.
Regards
Aravind
Assign points if useful -
Dn2entry BAD 1 856 : error 32 While modifying attributes through messaging
HI,
I am unable to modify 'personnel Information' information, which is in 'Options' of messaging server web interface. It actually modifying some attributes in directory servers. I able to see the following errors in Directory server.
1. Error log:
dn2entry BAD 1 856
dn2entry BAD 1 856
2. Access log:
[22/Aug/2002:13:42:05 -0400] conn=24 op=1 MOD dn="uid=test2, ou=people, o=internet"
[22/Aug/2002:13:42:05 -0400] conn=24 op=1 RESULT err=32 tag=103 nentries=0 etime=0
Anyone can help how to resove this? If i try the same after searching this 'test2' user entry in Direcoty server using ldapsearch, it's working fine without any errors.Hi, Pawan,
Thanks for your response.
The entrys are very much exists in Directory server. I able to see those through ldapsearch. These users are authenticating also fine. Only problem while modifying attributes.
How can resolve the spaces in DNs? How can I find out which DNs having simillar problem?
Kindly reply.
-Vasu -
Problem with number datatype dimension in BIB
Hi,
I've got a problem. When I create dimension with number datatype and I assign it to my cube, I cannot use my cube with my BIB presentation object - such as Crosstab. Is this possible only with varchar dimensions?It should work, but it would be helpful if you could specify more information, for example which errormessage you are seeing and where.
-
Problem while Binding multiple Parameters to View Object[Solved]
Hello,
I am facing problem while binding multiple parameters with different data types in View Object query. For example suppose I have following query in my view object.
SELECT Header.ADDED_BY
Header.BATCH_ID,
FROM BATCH_HEADER Header
WHERE :1='deptAdmin' and Header.BATCH_ID
in
select batch_id from batch_header_dept_mapping where dept_id in(SELECT * FROM TABLE(CAST(:0 AS TABLE_OF_VARCHAR)))
I am able to pass the Bind variables of Array type for : 0 , using Steve's ArrayOfStringDomain example. (ArrayOfStringDomain) .
But after passing value to second bind parameter ie.. :1 .
I am getting the error as follows.
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected - got CHAR.
I tried to set
setWhereClauseParam(1,11); // 11 is Number
setWhereClauseParam(0,arr); // arr is arr = new Array(descriptor,conn,deptid); for in parameter.
But of no use , Please let me know if any thing missing form me or have any another solutions. Also please provide me any example if have.
Thank you,
Sandeep
Edited by: user11187811 on Oct 23, 2009 7:27 AM
Edited by: user11187811 on Oct 26, 2009 12:52 AM
Edited by: user11187811 on Oct 26, 2009 6:51 AMhi.
but when using non-Oracle named parameter binding styles as you've done (ie. , :1), regardless of what number you give each bind variable, they are sequenced 0, 1, 2 etc. As such your bind variable :1 is the 0th parameter, and your bind variable is the 1st parameter.Your statment is correct.
:1 i used was actually on 0th position and :0 was on 1 position. Like you said in sequence 0,1,2 etc. Now i get the answer and i corrected My mistake by assigning right values to right binding variable. and problem just solve.
Thanks Chris. -
Problem While saving the Invoice
Dear Experts,
I am facing the Problem while Saving the Invoice, In invoice, We assigne the Output as RD00 and Medium as 6 (EDI).
When we are saving the Invoice, it getting as ' Updated Terminated'. When i found where the Error is coming in SM13, it showing in as Function Module "RV_MESSAGE_UPDATE' & Error Details is 'EAN11 not found for Material'.
But in Invoice whatever we enter the Material number, we maintain the EAN11 code. This EAN11 code is seen in MARM & VBRP Table. Unable to find the what the exact error is.
please help me to sort this issue, Its business complicated.
Thanks in Advance,
SriniHi Asik,
Thanks for your valuable Message.... I run as you suggested, but the dispatch time i kept as 1 or 2. because the program RSNAST00 is picking the values only for 1 or 2. so i run manually,, as of now the issue is, in the invoice number, for one material number, the Billed quantity is zero, so the UOM is getting as initial. From those vaues we are picking the EAN11 from maram table.
So, i modify that and run the EDI manually. As of now its working...
Thanks for your reply,,,
Regards,
Srini -
How to update precision value in number datatype
hello all
i hava a database containing data in that there is a table which contan a number datatype
that is number(10)
the table contain large amount of data
now i need the precision value 2
that is number(10,2)
how i can update is
i try alter command the do this bu the error is there the table contain data
so please suggest the solution
thanks in advanceThe number of columsn has nothing to do with it. The number of rows has nothing to do with it.
Here is a step-by-step example to address your problem. I will change DATA_OBJECT_ID from NUMBER to NUMBER(10,2) even though there are thousands of rows in the table, the column is "in the middle " of the table, and there are many rows with non-null values in that column.
07:02:43 > create table t3 as select * from all_objects;
Table created.
Elapsed: 00:00:06.22
07:04:08 > desc t3
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
OBJECT_NAME NOT NULL VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NOT NULL NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED NOT NULL DATE
LAST_DDL_TIME NOT NULL DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
NAMESPACE NOT NULL NUMBER
EDITION_NAME VARCHAR2(30)
07:04:12 > alter table t3 modify (data_object_id number(10));
alter table t3 modify (data_object_id number(10))
ERROR at line 1:
ORA-01440: column to be modified must be empty to decrease precision or scale
Elapsed: 00:00:00.98
07:08:05 > select count(*), min(data_object_id), max(data_object_id), count(distinct data_object_id), count(data_object_id)
07:09:06 2 from t3;
COUNT(*) MIN(DATA_OBJECT_ID) MAX(DATA_OBJECT_ID) COUNT(DISTINCTDATA_OBJECT_ID) COUNT(DATA_OBJECT_ID)
184456 0 1526320 12225 70092
1 row selected.
Elapsed: 00:00:00.11
07:09:41 > alter table t3 add (temp_data_object_id number(10,2));
Table altered.
Elapsed: 00:00:00.07
07:10:27 > update t3 set temp_data_object_id = data_object_id, data_object_id = null;
184456 rows updated.
Elapsed: 00:00:04.49Notice that our column of interest is now entirely null, so the restriction against reducing its scale or precision will not longer impact us.
07:11:00 >
07:11:17 > select count(*), min(data_object_id), max(data_object_id), count(distinct data_object_id), count(data_object_id) from t3;
COUNT(*) MIN(DATA_OBJECT_ID) MAX(DATA_OBJECT_ID) COUNT(DISTINCTDATA_OBJECT_ID) COUNT(DATA_OBJECT_ID)
184456 0 0
1 row selected.
Elapsed: 00:00:00.04
07:11:51 > alter table t3 modify (data_object_id number(10,2))
07:12:33 > /
Table altered.
Elapsed: 00:00:00.07
07:12:35 > update t3 set data_object_id=temp_data_object_id;
184456 rows updated.
Elapsed: 00:00:04.01
07:14:40 > select count(*), min(data_object_id), max(data_object_id), count(distinct data_object_id), count(data_object_id) from t3;
COUNT(*) MIN(DATA_OBJECT_ID) MAX(DATA_OBJECT_ID) COUNT(DISTINCTDATA_OBJECT_ID) COUNT(DATA_OBJECT_ID)
184456 0 1526320 12225 70092
1 row selected.
Elapsed: 00:00:00.09
07:14:49 > alter table t3 drop column temp_data_object_id;
Table altered.
Elapsed: 00:00:02.40
07:15:11 > desc t3
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
OBJECT_NAME NOT NULL VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NOT NULL NUMBER
DATA_OBJECT_ID NUMBER(10,2)
OBJECT_TYPE VARCHAR2(19)
CREATED NOT NULL DATE
LAST_DDL_TIME NOT NULL DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
NAMESPACE NOT NULL NUMBER
EDITION_NAME VARCHAR2(30)
07:15:15 > -
MappedAttributeInfo(APPView.Node): must not modify the datatyp
Hi,
I used DropDownByKey element (DDLPROJE) and mapped it a contex element(PROJE).
I tryed to fill PROJE with code below.No problem on compile, but when i run, it gets error below on line bold in code.
How can i solve this problem?
Thanks.
error
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(FAALIYETappYeniView.PROJE): must not modify the datatype of a mapped attribute
code
IWDAttributeInfo attInf =
wdContext.getNodeInfo().getAttribute(
wdContext.currentContextElement().PROJE);
ISimpleTypeModifiable stm = attInf.getModifiableSimpleType();
IModifiableSimpleValueSet svs = stm.getSVServices().getModifiableSimpleValueSet();
try {
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/SAPEPTDB");
Connection con = ds.getConnection();
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("select PROJE from ZHF_PROJE");
svs.put("", "");
while (rs.next()) {
svs.put(rs.getString("PROJE"), rs.getString("PROJE"));
con.close();
} catch (Exception e) {
wdContext.currentContextElement().setMESAJ(e.toString());Hi,
I guess you did as below.
You have created the context attribute PROJE in View Context as well as in Controller Context.
And then you have changed the type of PROJE attribute in View Context by binding it to some Simple type.
After that you have mapped this attribute to the PROJE attribute in Controller context.
That is why it is giving that error.
If my guess is correct:
Then delete the context mapping - by right click on the PROJE attribute in the View Controller.
Now in Comp Controller change the type of PROJE attribtue by binding the simple type.
And now do the mapping between the attribtues.
Regards,
Charan -
Problem while dropping a table
Dear All,
I am facing a problem while dropping a table in Oracle 10g.
I am able to find the number of records in the table but unble to delete it.
SQL> select count(*) from merchant_audit;
COUNT(*)
30028278
SQL> drop table merchant_audit;
drop table merchant_audit
ERROR at line 1:
ORA-00942: table or view does not exist
I have to drop this table from the database. Please help.
regards,
SanthoshHi,
IS it a table ? Is it your table ?
Read this example :
sqlplus scott/*****
SQL> create table merchant_audit(col1 number);
Table created.
SQL> create public synonym merchant_audit for merchant_audit;
Synonym created.
SQL> grant select on merchant_audit to merchant;
Grant succeeded.
SQL> conn merchant/merchant
Connected.
SQL> select count(*) from merchant_audit;
COUNT(*)
0
SQL> drop table merchant_audit;
drop table merchant_audit
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>
See owner into the dba_tables, and if synonym into dba_synonyms.
Nicolas.
Message was edited by:
Nicolas Gasparotto -
Hi to all ,
I' ve problem while fetching bsad for a report , in t-code se30 i've seen that it takes %89,1 performance of overall.
SELECT belnr buzei dmbtr blart budat augdt augbl sgtxt
into table odemelerg
FROM bsad
WHERE bukrs EQ bukrs
AND kunnr EQ kunnr
AND ( umsks EQ space OR umsks IS NULL )
AND ( umskz EQ space OR umskz IS NULL )
AND augbl EQ i_augbl
AND augdt GE i_budat
AND gjahr EQ gjahr
AND belnr NE i_belnr
AND bsadbelnr NE bsadaugbl
AND ( blart EQ blart_bt OR blart EQ blart_hf
OR blart EQ blart_mi ).
here : blart_bt is declared as a constant type and its value is 'BT'. such as blart_hf, blart_mi
How can I make this Select query working in a better performance
Kind regards,
CaglarHi
If you know the bill number:
-1) Search FI document:
Get header data
select * from bkpf where AWTYP = 'VBRK'
and AWKEY = BILL NUMBER.
EXIT.
ENDSELECT.
Get items data
SELECT * FROM BSEG INTO TABLE T_BSEG
WHERE BUKRS = BKPF-BUKRS
AND BELNR = BKPF-BELNR
AND GJAHR = BKPF-GJAHR
AND KOART = 'D'.
Payment:
LOOP AT T_BSEG WHERE AUGDT <> '00000000'.
IF T_BSEG-AUGBL <> _BKPF-BELNR
T_BSEG-AUGDT <> _BKPF-BUDAT.
SELECT * FROM BKPF INTO _BKPF
WHERE BUKRS = T_BSEG-BUKRS
AND BELNR = T_BSEG-AUGBL
AND BUDAT = T_BSEG-AUGDT.
EXIT.
ENDSELECT.
SELECT * FROM BSEG APPENDING TABLE T_PAYMENT
WHERE BUKRS = _BKPF-BUKRS
AND BELNR = _BKPF-BELNR
AND GJAHR = _BKPF-GJAHR
AND KOART = 'D'.
ENDIF.
ENDLOOP.
Partial payment
SELECT * FROM BSAD INTO TABLE WHERE BUKRS = BKPF-BUKRS
AND KUNNR = T_BSEG-KUNNR
AND REBZG = BKPF-BELNR
AND REBZJ = BKPF-GJAHR.
Max
Maybe you are looking for
-
Problem in 1toN message mapping,payload not populated but file created
I am doing 1:N multimapping From Proxy to File scenario .Proxy send three types of data all having same stucture but depending on the value of First field we split the whole stucture in 3 parts on target side and generating three files on taget side
-
Can't set File Hosting Locations on Show and Share
Hi, I'm currently using Show and Share 5.2. I have it peered with the DMM and everything for the most part seems to be working fine. The problem that I'm having is that I can't seem to set and save the File Hosting Locations. I set it to store l
-
How to find i phone 5 is on which network while its not activated
i got new mobile it was unlocked but when i restarted its not activating how to find its on what network
-
SharePoint 2010 Query string parameter pass between visual webparts
Hi I should pass a query string value from one visual webpart to another visual webpart in SharePoint 2010 . Could you please help me like how we can pass Thanks Siddartha
-
Problem while creating index for temporary table...
Hi, i have created index for a temporary table and this script should used by multiusers.So when second user connecting to it is giving index i mean object already exists. So what i need is when the second user connected the script should create one