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

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]

  • Range of Object Worksheet Failed error when creating variable report

    I have BO Planning version 11.6 and am running it in conjunction with Excel 2007. Every time I try to use the Report Wizard I can create a report the first time with no problems. However, when I exit out of that report and then try to create a new report using the Report Wizard I receive the following error "The following error has occurred: Error No. 1004, Method 'Range' of obejct'_Worksheet' failed". Then a report pops up with no data in it. The error keeps occuring when I try to create new reports until I exit out of Business Objects and open it up again. Then I can create 1 report with no problems.

    Please post this query to the Other Business Objects Products forum:
    SAP BusinessObjects BI Legacy Products
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

  • Error when creating interactive report

    Hi everyone,
    I get the following error when creating any kind or interactive report, one might say is was a huge amount of data, however it hapens whether is is a small or big reporrt.
    ORA-20001: Unable to create modules. ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace APEX_1241314296468143
    I hope that I find help
    best,

    Hi,
    This might help
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21678/aadm_request.htm#sthref51
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • 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

  • Error when creating Logical Port via WSDL on SOAMANAGER

    Hi,
    When  creating Logical Port via WSDL on SOAMANAGER we're getting the following error:
    "Uninstantiated object u201Csubject sidl serviceu201D in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL".
    We're consuming a WS provided by a .NET application.
    Our system is ECC 6.0 NW 7.01SP 7.
    Anyone have faced this error before?.

    hI,
    Please go through this link , you will get the solution
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3

  • BI Publisher Javascript error when creating a report

    Hello,
    I am trying to create a report in BI Publisher and the following comes up:
    Message JavaScript Error: Failed to load: io/catalog/read-report
    Supplemental Detail fileName: http://<hostname>/xmlpserver/js/xdo_rel.js?cacheBuster=53
    lineNumber: 1
    I am stuck with this error and cannot find anything about it in the internet. I used to be able to create a Report in BI Publisher. On the other hand when I try to edit an existing report, I can do so without any issues.
    Please advise. Thank you.

    Ok, so...
    The funny thing is that it didn't work the first time I tried to change the name of my column, and now it works !
    So it's right that 2 columns can't have the same alias, I'm sorry, I'm new even with the SQL, it's a long story...
    I would like to change your message to "Correct" but I can't...
    Thanks Roel !

  • Error when creating a Report with Form component

    I am trying to create a new report with form component but when I try to choose the Table/View name I get a web error "404 web not found". I know for a fact that the list is working because I see the list when I create a "simple form". Is this a bug or i need to do something to get it working? thanks

    419008,
    It is a bug that has been identified and will be corrected in an HTML DB patch. There is nothing you can do to correct it.
    This bug is specific to Internet Explorer and utf-8 encoding. It is not a bug with IE, it is a bug with how we handle this for IE.
    Joel

  • Version 3.1 fault - ORA-06502 error when creating SQL Report Region/Page

    I usually perfect my query in SQL*PLUS before I create a new report region.
    Consequently, I copy the code into the region wizard to create the new page. However, since we have upgraded to Version 3.1, virtually every report I have tried to create has created the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    It would appear that a maximum of 960 characters can be used to create the region/page. Perversely, once the page/region has been created, I can then edit the source and include as much code as I want (so far I've not run up against a limit)
    As it's just annoying, but not stopping me doing what I wanted to do, I've not got around to mentioning this error previously, but it occurred to me that I should (so I am!)
    David

    Hi David,
    Thank you for reporting this. Unfortunately, this was a regression introduced in Application Express 3.1. The workaround is to edit the region, as you suggested. This has been filed as Bug 6956070 and will be corrected in the forthcoming Application Express 3.1.1 patch set.
    Joel

  • Database error when creating a report

    Hi all,
    When we are creating a report with a universe based on BW, we are getting this error message:
    "A database error occurred. The database error text is: An error occurred while trying to load the provider for transport sap. Failed to load library mda_sap. System error message: 0509-022 Cannot load module /Apps/BOEXI31/bobje/enterprise120/aix_rs6000/libmda_sap.so.
    0509-150 Dependent module
    /Apps/BOEXI31/bobje/enterprise120/aix_rs6000/librfccm.o could not be loaded.
    0509-103 The module has an invalid magic number.
    0509-022 Cannot load module
    /Apps/BOEXI31/bobje/enterprise120/aix_rs6000/libmda_sap.so
    0509-150 Dependent module
    /Apps/BOEXI31/bobje/enterprise120/aix_rs6000/libmda_sap.so could not be
    loaded.. (WIS 10901)"
    When I test the connection of the universe in Designer, the result is ok. Also, when I create a report on Rich Client, the report is created fine.
    This is the Environment details:
    BusinessObjects XI 3.1 Service Pack 3 Fix Pack 3.2 (distributed installation)
    Windows Server 2008 R2 (CMS)
    AIX 5.3 Level 10 (Other BO services)
    Integration Kit SP3 fp 3.2 installed on both servers
    Thanks,
    Alvaro

    Because the customer wanted the functionallity of single sign-on with Vintela. We used this guide for the installation: http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d0f6ac3c-b3ac-2b10-1b95-c9bd46194977?quicklink=index&overridelayout=true
    Regards,
    Alvaro

  • 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

  • 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.

  • 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).

  • 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

Maybe you are looking for

  • Can I only have Creative Cloud on ONE computer?

    Hello Kiran Sorry for not replying -- I had left the computer as it literally takes hours but I think the installation is progressing at present and thank you for your help Andrew

  • Unwanting Cropping function - CS3 Illustrator to pdf

    When saving an ai-file to pdf (CS3), the pdf-file is cropped to the documentsize. I can not see fx. colorelements larger than the documentformat, which can be needed when I do a job for printing (and cutting). CROP AREA is set to release in OBJECT. I

  • C7-00 wifi subnet mask changes automatically

    Hi,  I am facing a problem in my c7 that it wifi subnet mask is changing automatically even if i set it manually. thanks bikramjeet singh ballagan

  • Does Magic Mouse sleep when Mac sleeps?

    Just out of curiosity, when I put my iMac to sleep, does the Magic Mouse sleep, too? Or is the Magic Mouse still "on"? Message was edited by: Captain Maniac

  • CHANGE DEFAULT NAME/SECURITY SETTINGS = LOWER CONNECTION SPEED

    I have a Linksys WirelessN Router--If I use the router with all of the default settings I can achieve cable speeds of 300mbps. Fantasically fast!!! As soon as I change the name of the router from "Linksys" to any other name, my speed drops back down