Error when create new apex_collection

Hi everyone,
I try to create a process as below
apex_collection.create_collection_from_query(
p_collection_name => base_collection,
p_query => "SELECT ASAT_DATE, ADMINISTRATION_UNIT_ID, PROJECT_ID, SUM(TOTAL_BOOKED_HOURS) as TOTAL_BOOKED_HOURS FROM CAREARR_TOTALS_SUBS2 WHERE ASAT_DATE IN ('30/01/12', '06/02/12', '13/02/12', '20/02/12', '27/02/12', '05/03/12', '12/03/12', '19/03/12') AND ADMINISTRATION_UNIT_ID = :P82_ADMIN_UNIT GROUP BY ASAT_DATE, ADMINISTRATION_UNIT_ID, PROJECT_ID");
and get error
ORA-06550: line 5, column 14: PLS-00114: identifier 'SELECT ASAT_DATE, ADMINISTRATI' too long
The reason is the limitation of the version of Oracle that my organization run . They run Oracle 10g, the version of APEX is 3.0.1
Managers want the report is displayed so that the dates would be columns not row.
I find that I can use the PIVOT in Oracle 11g but not in 10g.
I did try to write function, and make the select
SELECT distinct get_total_booked_hours(asat_date, project_id) as "WEEK 1"
, get_total_booked_hours(asat_date + 7, project_id) as "WEEK 2"
, get_total_booked_hours(asat_date + 14, project_id) as "WEEK 3"
, get_total_booked_hours(asat_date + 21, project_id) as "WEEK 4"
, get_total_booked_hours(asat_date + 28, project_id) as "WEEK 5"
FROM CAREARR_TOTALS_SUBS2
WHERE ADMINISTRATION_UNIT_ID = :P82_ADMIN_UNIT AND ASAT_DATE ='20/02/12'
But the query took way too long. (kind of 5 times as the first one).
Now I try to use apex_collection to store the results of the query that can run faster, then display the report base on hat apex_collection.
But I get stuck as above.
If anyone has any ideas, please give me some hints.
Thanks a lot in advance.
Ann

I am not quite sure I get what you mean, so I adjust the above code to
DECLARE
base_collection VARCHAR2(32767) := '';
v_query VARCHAR2(2000);
BEGIN
apex_collection.create_collection_from_query(
p_collection_name => base_collection,
p_query => q'!
SELECT ASAT_DATE,
ADMINISTRATION_UNIT_ID,
PROJECT_ID,
SUM(TOTAL_BOOKED_HOURS) AS TOTAL_BOOKED_HOURS
FROM CAREARR_TOTALS_SUBS2
WHERE ASAT_DATE IN (:P82_STARTDATE
,TO_DATE(:P82_STARTDATE, 'DD/MM/YY') + 7
,TO_DATE(:P82_STARTDATE, 'DD/MM/YY') + 14
,TO_DATE(:P82_STARTDATE, 'DD/MM/YY') + 21)
AND ADMINISTRATION_UNIT_ID = !'
|| :P82_ADMIN_UNIT || '
GROUP BY ASAT_DATE,
ADMINISTRATION_UNIT_ID,
PROJECT_ID'
END;
I still have the same error: I turn on debug, and here is the result.
0.88: A C C E P T: Request="Go"
0.91: Metadata: Fetch application definition and shortcuts
0.91: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-nz
0.91: alter session set nls_language="ENGLISH"
0.91: alter session set nls_territory="NEW ZEALAND"
0.91: NLS: CSV charset=WE8MSWIN1252
0.92: ...NLS: Set Decimal separator="."
0.92: ...NLS: Set NLS Group separator=","
0.92: ...NLS: Set date format="DD/MM/RR"
0.92: ...Setting session time_zone to +12:00
0.92: Fetch session state from database
0.92: ...Check session 2409634539787204 owner
0.92: ...Metadata: Fetch Page, Computation, Process, and Branch
0.92: Session: Fetch session header information
0.92: ...Metadata: Fetch page attributes for application 106, page 82
0.92: ...Check authorization security schemes
0.92: Session State: Save form items and p_arg_values
0.92: ...Session State: Save "P82_ADMIN_UNIT" - saving same value: "C300.33"
0.93: ...Session State: Save "P82_WEEK_BEGINNING" - saving same value: "09/04/12"
0.93: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.93: Branch point: BEFORE_COMPUTATION
0.93: Computation point: AFTER_SUBMIT
0.93: Tabs: Perform Branching for Tab Requests
0.93: Branch point: BEFORE_VALIDATION
0.93: Perform validations:
0.93: Branch point: BEFORE_PROCESSING
0.93: Processing point: AFTER_SUBMIT
0.93: ...Process "create collection": PLSQL (AFTER_SUBMIT) DECLARE base_collection VARCHAR2(32767):= ''; v_query VARCHAR2(2000); BEGIN apex_collection.create_collection_from_query( p_collection_name => base_collection, p_query => q'! SELECT ASAT_DATE, ADMINISTRATION_UNIT_ID, PROJECT_ID, SUM(TOTAL_BOOK
0.94: Encountered unhandled exception in process type PLSQL
0.94: Show ERROR page...
0.94: Performing rollback...
Should I create a hidde item to store the APEX COLLECTION ?
Is it possible ?
Many thanks

Similar Messages

  • I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)

    if I try to add a new folder to a sub folder, the program does add the new bookmark folder, but it also renames the next folder in line in the parent of the original "subfolder" to the exact same name...
    maybe I just need to reload the mozilla, maybe I was hacked and that is what they changed...
    I also have a similar problem with microsoft explorer, every time I try to add a new folder it gives it a starting wierd name besides "New Folder"
    I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Refresh document error when creating new document.

    I want to refresh document when create new document , but I meet the error.
    Output in Console
    http://10.173.1.153:6405/biprws/logon/long/
    http://10.173.1.153:6405/biprws/raylight/v1/documents
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders/DP0/specification
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/parameters
    Exception in thread "main" java.lang.RuntimeException: Failed : HTTP error code : 500
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.getContentJson(CreateWebiReport40Sample.java:323)
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.refreshDocument(CreateWebiReport40Sample.java:186)
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.main(CreateWebiReport40Sample.java:54)
    The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
    The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
    |D55BC38155E54B03B55B81F16912890373|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.YR
    |D55BC38155E54B03B55B81F16912890374|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.QUANTITY_SOLD
    |D55BC38155E54B03B55B81F16912890375|2015 01 30 07:18:32.356|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
    |D55BC38155E54B03B55B81F16912890376|2015 01 30 07:18:32.517|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Query generation failed
    com.businessobjects.semanticlayer.qt.internal.QTInternalException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    |D55BC38155E54B03B55B81F16912890377|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Failed query spec: Query (MAIN_QUERY)
    Results: [ [uniqueName=YR] [Identifier=DP0.YR],  [uniqueName=QUANTITY SOLD] [Identifier=DP0.QUANTITY_SOLD]]
    DrillScope: []
    Sorts: []
    Condition: DEF: null
    |D55BC38155E54B03B55B81F16912890378|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
    |D55BC38155E54B03B55B81F16912890379|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.dsl.services.query.impl.QueryServiceImpl||[ERROR] [QueryService::getQueryExecutionPlan]
    com.businessobjects.semanticlayer.qt.QTException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    |D55BC38155E54B03B55B81F1691289037a|2015 01 30 07:18:32.519|+0000|Error|Error|>>|E| |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||||Exception caught in SL Service: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
    com.businessobjects.dsl.services.query.QueryServiceException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:292)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    Java Source code
    Java Source Code
    package com.sap.oem.restfulws.test;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.text.ParseException;
    import org.json.JSONException;
    import org.json.JSONObject;
    public class CreateWebiReport40Sample {
      /** CMS System */
      private static final String CMS_LOG_HOST = "10.173.1.153:6405";
      /** User name used to log in to the CMS */
      private static final String CMS_LOG_USER = "Administrator";
      /** User password */
      private static final String CMS_LOG_PASS = "******";
      /** Authentication mode used to log in to the CMS. Here: Enterprise */
      private static final String CMS_AUTH_MODE = "secEnterprise";
      private static final String WEBI_URL = "/biprws/raylight/v1";
      private String logonToken;
      private boolean isLogon = false;
      private String folderID = "5652";
      private String fileName = "eFashioin_IQ_Auto";
      private String documentID = "23547";
      private String reportID = "1";
      private String dataSourceID = "5650";
      private String dataProviderID = "DP0";
      private String elementID = "8";
      private String elementParentID = "2";
      private String elementName = "Block 1";
      private String axisID = "1";
      public static void main(String[] args) throws JSONException,
      ParseException, IOException {
      CreateWebiReport40Sample webiRep = new CreateWebiReport40Sample();
      JSONObject json = null;
      String resultStr = null;
      webiRep.getLogonToken();
      json = webiRep.createDoc();
      json = webiRep.addDataSourceInReport();
      json = webiRep.refreshDocument();
    // json = webiRep.addTableInReport();
    // json = webiRep.updateExpressionInAxis();
      webiRep.saveDocument();
      System.out.println(resultStr);
      if (json != null) {
      System.out.println(json.toString());
      public JSONObject createDoc() throws IOException, ParseException,
      JSONException {
      String body = "<document>" + "<name>" + this.fileName + "</name>"
      + "<folderId>" + this.folderID + "</folderId>" + "</document>";
      JSONObject json = postContentJson("http://" + CMS_LOG_HOST + WEBI_URL
      + "/documents", body);
      this.documentID = json.getJSONObject("success").getString("id");
      return json;
      public JSONObject saveDocument() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID;
      String body = "<document>" + "    <name>" + this.fileName + "</name>"
      + "    <folderId>" + this.folderID + "</folderId>"
      + "</document>";
      // System.out.println(urlStr);
      JSONObject json = postContentJson(urlStr, body);
      return json;
      public JSONObject addDataSourceInReport() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/dataproviders";
      String body = "<dataprovider>" + "<name>Query 1</name>"
      + "<dataSourceId>" + this.dataSourceID + "</dataSourceId>"
    // + "<dataSourceType>unx</dataSourceType>"
      + "</dataprovider>";
      JSONObject json = postContentJson(urlStr, body);
      this.dataProviderID = json.getJSONObject("success").getString("id");
      json = addQueryInDataProvider();
      return json;
      public JSONObject addTableInReport() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/reports/" + this.reportID + "/elements";
      String body = "<element type=\"VTable\">"
      + "    <reference>1.B</reference>" + "    <name>"
      + this.elementName
      + "</name>"
      + "    <parentId>"
      + this.elementParentID
      + "</parentId>"
      + "    <position newVerticalPage=\"false\" oneVerticalPage=\"false\" repeatOnEveryVerticalPage=\"false\" newHorizontalPage=\"false\" oneHorizontalPage=\"false\" verticalAnchorId=\"4\" verticalAnchorType=\"End\" horizontalAnchorType=\"None\" y=\"900.0\" x=\"450.0\"/>"
      + "    <hide always=\"false\"/>"
      + "    <style>"
      + "        <border>"
      + "            <top style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <bottom style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <left style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <right style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "        </border>"
      + "        <background height=\"0.0\" width=\"0.0\"/>"
      + "        <alternateColor rgb=\"#f8fbfc\" frequency=\"2\"/>"
      + "    </style>"
      + "    <content>"
      + "        <axes duplicateRowAggregation=\"true\">"
      + "            <axis role=\"Column\">"
      + "                <id>1</id>"
      + "                <expressions>"
      // + "                    <formula dataObjectId=\""
      // + this.dataProviderID
      // + ".YR"
      // + "\" dataType=\"String\">=[YR]"
      // + "</formula>"
      // + "                    <formula dataObjectId=\""
      // + this.dataProviderID
      // + ".QUANTITY_SOLD"
      // + "\" dataType=\"Numeric\">"
      // + "=[QUANTITY SOLD]"
      // + "</formula>"
      + "                </expressions>"
      + "            </axis>"
      + "        </axes>"
      + "        <layout>"
      + "            <zone verticalType=\"Body\" horizontalType=\"Body\">"
      + "                <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"5\"/>"
      + "                <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"6\"/>"
      + "            </zone>"
      + "            <zone verticalType=\"Header\" horizontalType=\"Body\">"
      + "                <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"8\"/>"
      + "                <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"9\"/>"
      + "            </zone>"
      + "        </layout>"
      + "    </content>" + "</element>";
      JSONObject json = postContentJson(urlStr, body);
      this.elementID = json.getJSONObject("success").getString("id");
      return json;
      public JSONObject updateExpressionInAxis() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/reports/" + this.reportID + "/elements/"
      + this.elementID + "/axes/" + this.axisID + "/expressions";
      // int i = 0;
      String body = "<expressions>"
      + "    <formula  dataType=\"String\">=[YR]</formula>"
      + "    <formula  dataType=\"Numeric\">=[QUANTITY SOLD]</formula>"
      + "</expressions>";
      JSONObject json = putXmlContentJson(urlStr, body);
      return json;
      public JSONObject refreshDocument() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      // + this.documentID + "/parameters?refresh=true";
      + this.documentID + "/parameters";
      // JSONObject json = this.putXmlContentJson(urlStr, "");
      JSONObject json = this.getContentJson(urlStr);
      return json;
      public JSONObject addQueryInDataProvider() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/dataproviders/" + this.dataProviderID
      + "/specification";
      // int i = 0;
      String body = "<queryspec:QuerySpec xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
      + "    xmlns:queryspec=\"http://com.sap.sl.queryspec\" dataProviderId=\""
      + this.dataProviderID
      + "\">"
      + "  <queryParameters>"
      + "    <duplicatedRowsProperty activated=\"true\" value=\"true\"/>"
      + "    <maxRetrievalTimeInSecondsProperty value=\"0\"/>"
      + "    <maxRowsRetrievedProperty value=\"0\"/>"
      + "    <removeEmptyRowsProperty activated=\"true\" value=\"true\"/>"
      + "    <allowOtherUserToEditQueryProperty activated=\"true\" value=\"true\"/>"
      + "    <resetContextOnRefreshProperty activated=\"true\" value=\"true\"/>"
      + "    <stripQueryProperty/>"
      + "    <useBexQueryDefaultValue activated=\"true\" value=\"true\"/>"
      + "  </queryParameters>"
      + "  <queriesTree xsi:type=\"queryspec:QueryDataNode\">"
      + "    <bOQuery name=\"Query\" identifier=\"_"
      + this.documentID
      + "_"
      + this.dataProviderID
      + "_"
      + "query\">"
      + "      <resultObjects identifier=\""
      + this.dataProviderID
      + ".YR"
      + "\" name=\"YR\"/>"
      + "      <resultObjects identifier=\""
      + this.dataProviderID
      + ".QUANTITY_SOLD"
      + "\" name=\"QUANTITY SOLD\"/>"
      + "      <conditionPart/>"
      + "    </bOQuery>"
      + "  </queriesTree>" + "</queryspec:QuerySpec>";
      JSONObject json = putTextContentJson(urlStr, body);
      return json;
      public String getLogonToken() throws ParseException, IOException,
      JSONException {
      String body = "<attrs xmlns=\"http://www.sap.com/rws/bip\">"
      + "<attr name=\"userName\" type=\"string\">"
      + CMS_LOG_USER
      + "</attr>"
      + "<attr name=\"password\" type=\"string\">"
      + CMS_LOG_PASS
      + "</attr>"
      + "<attr name=\"auth\" type=\"string\" possibilities=\"secEnterprise,secLDAP,secWinAD\">"
      + CMS_AUTH_MODE + "</attr>" + "</attrs>";
      JSONObject json = postContentJson("http://" + CMS_LOG_HOST
      + "/biprws/logon/long/", body);
      logonToken = (String) json.get("logonToken");
      isLogon = true;
      return logonToken;
      private JSONObject postContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "POST",
      "application/xml; charset=utf-8");
      private JSONObject putTextContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "PUT",
      "text/xml; charset=utf-8");
      private JSONObject putXmlContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "PUT",
      "application/xml; charset=utf-8");
      private JSONObject postAndPutContentJson(String urlStr, String body,
      String method, String contentType) throws IOException,
      JSONException {
      System.out.println(urlStr);
      URL url = new URL(urlStr);
      HttpURLConnection conn = (HttpURLConnection) url.openConnection();
      conn.setRequestMethod(method);
      if (this.isLogon) {
      conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
      + "\"");
      conn.setRequestProperty("Accept", "application/json");
      conn.setRequestProperty("Content-Type", contentType);
      conn.setDoInput(true);
      conn.setDoOutput(true);
      int len = body.length();
      conn.setRequestProperty("Content-Length", Integer.toString(len));
      conn.connect();
      OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
      out.write(body, 0, len);
      out.flush();
      if (conn.getResponseCode() != 200) {
      throw new RuntimeException("Failed : HTTP error code : "
      + conn.getResponseCode());
      BufferedReader br = new BufferedReader(new InputStreamReader((conn
      .getInputStream())));
      String jsontxt = br.readLine();
      br.close();
      conn.disconnect();
      JSONObject json = new JSONObject(jsontxt);
      return json;
      private JSONObject getContentJson(String urlStr) throws IOException,
      JSONException {
      System.out.println(urlStr);
      URL url = new URL(urlStr);
      HttpURLConnection conn = (HttpURLConnection) url.openConnection();
      conn.setRequestMethod("GET");
      if (this.isLogon) {
      conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
      + "\"");
      conn.setRequestProperty("Accept", "application/json");
      conn.setRequestProperty("Content-Type",
      "application/xml; charset=utf-8");
      conn.setDoOutput(true);
      conn.setDoInput(true);
      conn.connect();
      if (conn.getResponseCode() != 200) {
      throw new RuntimeException("Failed : HTTP error code : "
      + conn.getResponseCode());
      BufferedReader br = new BufferedReader(new InputStreamReader((conn
      .getInputStream())));
      String jsontxt = br.readLine();
      br.close();
      JSONObject json = new JSONObject(jsontxt);
      conn.disconnect();
      return json;
    Welcome your advice

    Hi Kevin,
    I think you have to set the query specification for the data provider you created. If you don't, no object is available (that'w why you received a such error).
    Best regards,
    Anthony

  • Contact iTunes Store Support error when creating new apple ID

    This is for a business.  We currently have a combination of over 150 ipads and iphones and will be adding another 20+ per month.
    I am currently setting a quantity of ipads up for employees and preconfiguring them with their own itunes account.  In this batch, I was able to set up the first 7 with no problems.  On number 8 I keep hitting a roadblock with the message "Contact iTunes Store Support to complete this transaction". when I try to Create the Apple ID.  I have had this problem before when I hit a limit (although I don't know what that number of ID's was).
    These accounts do not have a credit card associated with them.  To create them I am going through the route of being in iTunes with no user logged in.  I go to the App Store and search for iBooks.  Then try to purchase it which pops up the login/create account screen.  I go through the screens adding the email address, password, security questions on the first data page.  Then add none for payment options and add the address.  When I click Create Apple ID I get that error message in the upper right corner.
    On all of these accounts I am creating them with the same security questions, address and phone number.  These devices are all based out of the same office so the address and phone numbers will be the same.  I keep the security questions the same as it would be a nightmare tracking all of the different variations for hundreds of accounts.  The only thing different between them is the username/email and the password.
    It would be really nice if Apple gave a way to create apple ID's for business purposes in bulk instead of creating them one at a time.  I will be setting up 20 new ipads per month for at least the next year.

    Looks like I may have found a work around solution to this problem.  It appears that there is a flag or something on the computer that is not allowing me to create more ID's on that computer.  As of this morning I was still unable to create any more ID's from that system.
    I tried creating the same ID on another computer and was able to with no problems.
    This does lead to a problem as I am setting up 20+ new ID's a month and typically work from one computer to do so.
    I really wish that Apple provided a way for companies to create new Apple ID's in groups using a batch process instead of creating them one at a time.  Or at least allowed you to create a new Apple ID with no credit card associated during the configuration process of the ipads.

  • Report template error when creating new report via SAP menu

    Hi everybody,
    we have the following error on our system:
    When trying to create a new crystal report on a SAP query, using the entry "Create new report from a SAP query" in the SAP menu an error occurs: An error ocurred while generating a new report template
    The error message appears after the SAP logon and the SAP query selection.
    I think this error is related to the report templates of Crystal...
    Is there any default template for SAP integrated queries?
    We are using Crystal Report 2008 SP2 with SAP Integration Kit.
    Thanks for any helps and comments.
    Sebastian

    The following SAP note might help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363337333633343330%7D.do]
    Regards,
    Raghavednra.G

  • Suddently have compile errors when creates new *.jspx in new project

    I'm creating a new test case.
    I created an applicaiton and a model project without any problems.
    I created the view project and add a jspx document into without anything into. I got no errors when compiling.
    I added a adf table by dropping an iterator from the data control palette. I got these errors when i recompiled.
    A library seem to be missing for the project or something like that. I don't understand why the web project is not correctly setted.
    Project: C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\view.jpr
    C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\public_html\WEB-INF\classes\.jsps\_untitled1_jspx.java
    Error(69,54): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(85,21): method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\public_html\untitled1.jspx
    Error(52,50): method doAfterBody() not found in class javax.faces.webapp.FacetTag
    Error(52,50): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(52,50): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(52,50): method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    Does somebody already have this problem and know how to solve it ?

    I found the problem.
    We added some librairies in the model problem and they was in conflict with the librairies in the view project. Removing unnecesary librairies from the model solve the problem (i think servlet.jar was the problem).

  • Security Network Layer (SNC) error when creating new session

    in SAPGUI 710, suddenly some users are getting a popup message ("Security Network Layer SNC error") when they use the Create New Session toolbar button.
    SSO works fine when they connect from SAP Logon, its only when attempting to open secondary sessions.  Also, its only some users.
    Where would I find log information resulting from the error?  Or any suggestions on steps to troubleshoot?
    Thanks!

    Hello Erik,
    Issue actually belongs to BC-SEC-SNC, not SAPGUI.
    The attached note advises how to run a trace to get more information about the issue
    150104 collecting dev_trace of user session via SM04
    If you recreate the issue again with the active trace, you might have more sucess with a reply.
    Just to advise that 7.10 is out of support and 7.20 should be used as soon as possible.
    Kind Regards,
    Jude

  • Siebel Error when creating new record

    Hi,
    We are getting the below error everytime we are trying to create a new reocrd in the Siebel WebClient Pharma8.0.
    "A Record that contains identical values to the record you have created already exists. If you would like to enter a new record , please ensure that the field values are unique. (SBL-DAT-00381). "
    Everytime I try to create a new Account or contact or new instance of a workflow I am getting this error.
    Also this error only occurs when I login to client as 'server' , if I login as a 'local' it doesn not create any error while creating a new record.
    Could this error be because of the Database or does it have to be with the Siebel Client Installation.
    Please help if anybody has faced such an issue before.
    Thanks :-)

    Hi,
    Turn on a level 4 log and you should be able to figure this out.
    Robert Ponder
    Lead Architect and Director
    Ponder Pro Serve
    cell: 770.490.2767
    fax: 770.412.8259
    email: [email protected]
    web: www.ponderproserve.com

  • Getting internal error when creating new FPMiView

    Hello,
    When I try to create new FPMiView through the Self-Service Administrator role I am getting this error:
    "An internal error occured: String index out of range: -4"
    I don't see anything in the log files and I tried several names and IDs yet keep getting this error.
    Any ideas...?
    Rgds,
    Roy

    Solution:
    Need to set the parameter Use_CustomerExit_ParameterProvider of the portal service com.sap.portal.appintegrator to TRUE and then restart it.
    Roy

  • Error when creating new movie

    When trying to create new movie in iMovie, I get a dialog box saying "The operation could not be completed. No other information is available about the problem." Also, I cannot import media into my iMovie library - problems could be related.

    I believe you get something like a 30-day full-functioning "trial" from the licensed install discs before you're locked out, if you don't activate over the Internet. It used to be a more manual process, but with CS4, it's done during install as long as you do have a live Internet connection. Again, from the information, it's hard to tell what's actually happening (ie. what's the message box that appears say?), but you could try plugging into the Internet and then going to Help > Activate from any of the suite apps.

  • Error When Creating New User in UME - GRC 5.3, but works via Backend

    All,
    When I try to create a new user in the User Management (UME), I get a very generic error message: "An error occurred; contact your system administrator". However, if I create the new user in the ABAP - backend first then he/she will show up in the UME and I can add Java roles to the user in the UME and he/she can work without issues. Therefore: do you always have to create GRC administrator users in the backend first or should it work when first creating in the UME as well?
    Thanks, Joerg

    Hi,
    Is your system a dual stack (ABAP+JAVA)? In that case the ABAP stack will be the master. You can check if it's an ABAP data source if you go to UME >> Configuration >> Data Sources
    Regards,
    Vit
    More info in thread: How to create Roles in UME (ABAP+JAVA stack)
    Edited by: Vit Vesely on Apr 10, 2010 9:28 PM

  • Business Rules error when creating new classic planning application in 9.3.

    Im trying to create a new planning application using classis planning application wizard in Workspace. everything seems alright untill i gets an error saying "Business rules cant connect to Planning"
    other than this Business rules working fine and i can open business rules in other applications and i can access business rules repository in EAS.
    Any thoughts on this ?

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • Error when creating new oc4j-instance

    1.
    when i create a new oc4j-instance via EMWeb i get the following:
    The operation failed.. Instance: iasdb.test.xxx.ch Message: Keine Meldung für diese Exception definiert. Base Exception: java.lang.NoClassDefFoundError:nullKeine Meldung für diese Exception definiert.
    the german text means: no message defined for this exception.
    when i then refresh the website the oc4j-instance is created, but down.
    2.
    when i try to deploy an application to any OC4J-instance manually i get the following error:
    Web-Anwendung ee konnte nicht eingesetzt werden Error while parsing oc4j configuration files. Root Cause: D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden). D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden)
    OC4J_AA whas a instance i once created and deleted then. it shoud no more exist.
    where does this error come from?

    Hi Stefan -
    I'm not sure where this error comes from, I've never seen it. Particularly in German! ;-)
    I think the best way to get more information on this is to repost your message to the general 9iAS forum. I believe that there are people monitoring that forum who look afer the management console and who might be able to help you further.
    -steve-

  • Error when creating new XML-Form

    Hi everybody!
    We are using XML-Forms to create/edit/display FAQs out of the KM-Content. We have created our own XMLForms for that and it worked fine. After our last upgrade (NW 7.0 SP-Stack 16) we have the following problem:
    clicking the "new FAQ" link in the portalruntime doesn't start the XML-Form anymore but displays an java error:
    java.lang.RuntimeException: Context is unavailable!
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:83)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6598)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryList(DMSRMR3FunctionCalls.java:6426)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryDescription(DMSRMR3FunctionCalls.java:6451)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getValueLabel(DMSRMLaboratoryValueProvider.java:47)
         at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:53)
         at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:79)
         at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.getLocalizedPropertyValue(PropertyLocalizer.java:294)
         at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.localize(PropertyLocalizer.java:208)
         at com.sapportals.wcm.service.xmlforms.transformation.TransformationHelper.localizeProperties(TransformationHelper.java:64)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:438)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderTemplate(Transformation.java:318)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:332)
         at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:348)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
    I don't have that behaviour when i try to edit an existign FAQ. But I have the same problem with any other XML-form i'm using to create KM-docs.
    to me it seems that the creation-context is somehow not valid. But what does that mean? and what can I do about it?
    Regrads, Alex

    Hi Alexander
    I think this thread might help you as it helped me, and it is the exact same error that you get
    https://www.sdn.sap.com/irj/sdn/thread?messageID=2943423#2943423
    Best regards,
    Martin Søgaard

  • Error when creating new logical device in DOE

    Hi,
          This is the error i'm getting when i tried to create a new device in DOE
    The following error text was processed in the system MI1 : CREATE DATA: The specified type is not a valid data type.
    The error occurred on the application server sapv-nwmi710_MI1_00 and in the work process 6 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_USERS_FROM_CDS of program CL_SMMW_USER==================CP
    Method: ONACTIONCREATE of program /1BCWDY/0O2TL8AJU0NGE3T9LDTT==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/0O2TL8AJU0NGE3T9LDTT==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
    please help me solve this.
    Regards,
    Bala

    Hi,
    Check whether all SAP BASIS data objects are active and generated properly.
    Do an initial download for USER DETAILS and USER AUTHORIZATION data objects.
    For more details check the initial configuration guide of Mobile 7.1
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/45/17a790d8000064e10000000a1553f7/frameset.htm
    Regards,
    Dhana
    Edited by: Dhanasekhar Karuppanan on Aug 24, 2009 4:52 PM
    Edited by: Dhanasekhar Karuppanan on Aug 24, 2009 4:53 PM

Maybe you are looking for

  • DOC. NO. DOES NOT EXIST

    Hi, I created  three RFQ (me41). When I going to change or display these Rfq NO. the system gives error message the document does not exsit. message no- 06019,but i checked from no.range status(omh6). THE THREE NO. RANGE HAS ALEADY BEEN CREATED BY SY

  • Command-TAB - How does this build the application list???

    I have a need to enumerate the applications that have "windows", "icons", whether if they are minimized to the dock or not. I need basically the list of applications that Command-TAB brings you. How do you do this programmatically? Everything I tried

  • Indesign CS 5.5 problems with accessibility features

    I am required to create 508 accessible documents for the government agency I work for. The new features in Indesign allow you to export your document to an accessible pdf using the articles panel, export paragraph styles to tags and object tagging. 

  • Coldfusion SOAP Exception Error Handling

    Dear All Technology Expert's, I have a query related to Coldfusion SOAP services, that is most commonly asked in all the forum's but NONE of them has got answer. If there is NO solution so I think Adobe has to come up with some patches so developer c

  • Lens profiles not available in Lightroom CC

    I have downloaded and installed lens profiles but they do not show in Lightroom CC as choices in the drop down menu? They were there for Lightroom 4 but not since I purchased and installed Lightroom 5 via the Creative Cloud?