BEx web query execution problem
Dear All,
While running a BI query through BEx Query Designer, it is generating portal URL as:
http:///irj/portal/ .....
instead of standard format
http://<hostname>:<port number>/...
For our project, EP is out of scope. So, how can I make this work. (as far I know, /irj/portal points to a enterprise portal link)
Please correct me where I'm wrong.
regards, Sean.
Hi,
I did include the hostname, which in my case is the solaris zone name. It doesn't work.
Moreover I am using template installer for BIPost Inst steps. Out of 17, I face error in step 12:
Import ABAP Certificate to Engine
Import not successful
Element 'SAPConfigLib.BID.Unclassified.uploadAbapCertificate':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException: <Localization failed: ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle', ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!157-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
-:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.96
-:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41
Element 'SAPConfigLib.BID.Unclassified.uploadAbapCertificate':Error during executing Java Reflection:Remote call errored.
All other steps completed successfully. After all this work, when we execute query, it simply hangs in contrast to previous URL being generated.
I guess we are leading somewhere. Could you help me with above error please.
regards, Sean.
Similar Messages
-
Is it possible to provide an BEx Web Query with parameters based on iView?
Hi SAP Portal experts,
My knowledge of SAP Portal is limited and I ran into the following problem:
I have got about 60 BEx Web Queries which should be put into some sort of navigation. Furthermore I would like to intodruce one start page where the user can preselect common bex query variables (e.g. company code) by clicking on a map.
My approach was to put all query links into a BEx Web Application Template. The template includes a JavaScript storing the userdefined values in a cookie. As soon as the user clicks on a link the cookie values are read from that cookie and a query parameter string is set up like "&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=2100&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0P_COCD" and concatenated with the URL for the BEx Query.
My colleague wants me to put all this into SAP Portal and to create an iView for each BEx Query. How can I achieve that? I have already had a look at the iView property "parameters passed on to BEx Web Application". If I put my parameter string there, it works fine. However, I would like to replace VARIABLE_INPUT_STRING=2100 and VARIABLE=0P_COCD with the values selected by the user by clicking on the map. So how can I set up a parameter or variable in one iView and read it in another iView with a BEx Web Query???
Thank you very much in advance
MartinI have thought about this. There are some problems here....
I cannot use the same proxy to invoke the java callout and then based on the code or handler disable it, since
1) i would have no way to enable back the proxy again.
2) Also there is some amount of message loss.
So i will have to use another proxy to do the same, but in this case
1) what would be the trigger to this proxy?
2) And how often do i invoke the java callout to see if the URI is up or not? (wouldnt that affect the performance?)
I am just wondering why did they give an offline URI option in the business service and no similar option in the proxy service, Any Idea?
Thanks -
PDF printing from BEx Web Query
Hi Experts
When I try to print (Print Version) a BEx Web query I only get the message "Error while generating PDF". Do I need to set any setting to get this feature to work properly?
Kind regards
ErikHi:
Yes - ADS is one of the standalone engines that should be installed in your technical foundations of the system. It comes with the upgrade / installation kits. This is documented in the master guide - service.sap.com/instguides.
Best Regards -
Ron Silberstein
SAP -
Creating a secondery Axis in Bex Web query
Hi All,
I want to be able to graph my Bex Web query to include a secondary axis. I can't seem to find a place in Bex Web Settings to tell the system I want a secondary axis, even though the help document says its possible.
Please guide me to in this issue
Thanks..
HarishHi,
@Vineet:Thanks for you fast reply.
I am not able to find the settings option in the CHART you have mentioned .
can any one could guide me in this please.
Regards,
Harish -
Hi,
I got a problem when I click Execute button in Query Designer to run a query. It popup a IE windows with a URL like below
http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=PM_SALES_ANALYSIS&VARIABLE_SCREEN=X&DUMMY=2
Apparently, the URL is wrong. It seems it try to connect to EP server to run the query. But I donnot have a EP server. What I just want, the query running via BEx web service. The expected URL should be
http://SERVER:PORT/sap/bw/bex?QUERY=PM_SALES_ANALYSIS&VARIABLE_SCREEN=X&DUMMY=1
Some configuration in SAP BI 7 server,
SICF --> test BEx service works fine
RSPOR_T_PORTAL not maintained(No entry)
Environment: Only SAP BI 7 without EP
Is there anybody can help me on this? How can I check and configure to fix this problem? Thanks a lot in advance.
Thanks
NanshuHi Wang,
You could check the setting in SPRO transaction through following path:
in the SAP Reference IMG under SAP NetWeaver -- > Business Intelligence --> Reporting-Relevant Settings --> BEx Web
You can also assign standard web templates to all your queries from here.
Hope this helps.
Regards,
Vidya -
One query is executing very fast in database1 and the same query takes time
to execute in database2.
in database1 optimizer_mode=rule and in database2 optimizer_mode=all_rows
How i can make the execution of the query very fast in database2.
DATABASE1 VERSION:9.2.0.6.0
DATABASE2 VERSION:10.1.0.2.0
Thankx...Hi,
Compare two databases performance is hard, compare two database in different version is hardest.
1. Are the data same ?
2. Are the database on same server ?
3. Are the oracle statistics up-to-date ?
4. What is the query ?
5. What are the indexes ?
6. What is the explain plan ?
7. Unfortunately, tere is no new feature in 10g like query_fast... there is no magic parameter, so you need to work and show and explain us a little bit more about your config, your test...
Nicolas. -
8.1.5 query execution problem
Hello,
I am using the following:
Oracle database ver 8i
Oracle spatial Ver 8.1.5
windows 2000 server
I have a Polygon fatured layer in the db , exported from the Java SDO-sample programs 'sampleshapefileToSDO.java'.
when I run the "desc MJM_Parcel" I get
SQL> desc mjm_parcel;
Name Null? Type
GID NUMBER
GEOMETRY MDSYS.SDO_GEOMETRY
when I query a simple query like
"select sdo_aggr_mbr(geometry)from MJM_parcel where GID=100;"
I get the following error:
select sdo_aggr_mbr(GEOMETRY) from MJM_PARCEL where
GID=100
ERROR at line 1:
ORA-00904: invalid column name
any problem with respect to Installation...how to correct it ? or problems with the query itself...n how do I do?
Plz help me ...
Thanx in advanceThe function sdo_aggr_mbr does not exist in 8i, it is a new function in 9i.
-
Query Execution problem in SAP BI Portal
Dear all
I have a query which I want to execute in BI portal. For this , I opened up BEx Query Designer and from there pressed the "Execute" button which opened the login screen in my browser. I successfully logged in and provided inputs for the query.
Then I got an error message saying
>Characteristic Product Model has no master data for "XXXXXXXX" or you do not have authorization
But the strange thing is that, when I run the same query from BEx Analyzer with the same selection input , it is working absolutely fine.
Can any one please suggest me to way to investigate on this issue?
Regards
AnindyaHello Anindya,
This note will solve your issue:
1437986 - THJ hierarchy: Leaves cannot be found
If the issue remains, please let me know.
Best regards,
John -
BEX Analyzer - Query Crashes Problem
Dear all,
I have consumption of 5 million customers. What i need to do is to group consumptions depend on groups:
Lets say 0-100 USD 100-1000USD 1000-5000 USD in bex analyzer,
my query works fine with less data, however when i run with 5 million customer, bex analyzer crashes when running query.
What can i do that? should it be reletaed with ram? or olap cache? How to run query successfully?
ThanksHi
Excel 2007 has got only one million no of rows. restrict your query as much as possible. We also faced the similar issue when executing query based on articles.
Try creating different queries based on groups such as customer group or material group then execute. your system performance drastically goes down if you execute such a big query without many restrictions.
Thanks
Srikanth -
Strange behavior in BEX web query
Hi expert
I met a very strange issue, one report is showing data randomly. The report shows no data for a particular key figure. If I save as a Y query without any change, data is there.
This is happening irrespective of what selections you provide.
Could anyone advise me what might be the root cause?
ThanksHello Ingo
In RSRT, still I am not able see the data by main query.
but if I select Y query, then I could see the data. -
System.DirectoryServices.Protocols.SearchRequest Ldap Query Execution Problem
Hi,
I am using DirectorySearcher class to query the active directory. It gives all the records in a single page (more than 5000). I want to get 100 records per page. So I moved to SearchRequest class. Using SearchRequest class I can
get 100 records per page. But for particular query it is not working. I want to get all the users with their
"samaccountname or displayname starts with 'a'" works fine. Then I want to get all the users with their
"samaccountname and displayname starts with 'a'", this it is not working. I can guess the reason, some of the users starts their samaccountname with a not having any displayname. Any workaround for this issue? Please guide me
Please refer the following code
//This query works fine
//string filter = "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(samaccountname=a*)(displayname=a*)))";
/* Not works */
string filter = "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(&(samaccountname=a*)(displayname=a*)))";
LdapConnection connection = new LdapConnection(serverName);
string[] attribs = { "samaccountname", "displayname" };
// create a SearchRequest object
SearchRequest searchRequest = new SearchRequest
(scope,
filter,
System.DirectoryServices.Protocols.SearchScope.Subtree,
attribs);
SortRequestControl sortRequest = new SortRequestControl("samaccountname", false);
searchRequest.Controls.Add(sortRequest);
VlvRequestControl vlvRequest =
new VlvRequestControl(0, numEntries, offsetVal);
searchRequest.Controls.Add(vlvRequest);
SearchResponse searchResponse =
(SearchResponse)connection.SendRequest(searchRequest);
if (searchResponse.Controls.Length != 2 ||
!(searchResponse.Controls[0] is SortResponseControl))
Console.WriteLine("The server does not support VLV");
return null;Your exception condition
if
(searchResponse.Controls.Length
!= 2 ||
!(searchResponse.Controls[0]
is SortResponseControl))
Console.WriteLine("The server does not support VLV");
return null;
is not correct. Why (?) - if you get back no hits from your query there will be no SortResponseControl because there was nothing to sort. Since your query filter has proved that there were no objects with sAMAccountName & displayName equals
a* in your AD you will not get back a SortResponseControl.
A better approach would be to check the DirectoryControls on the SearchResponse for the existance of a VlvResponseControl - like this:
if (GetControl(sresponse.Controls, new VlvRequestControl().Type) == null)
{ Console.WriteLine("The server does not support VLV"); }
protected DirectoryControl GetControl(DirectoryControl[] controls, string OID)
DirectoryControl dcret = null;
try
{ dcret = controls.ToList().Where(d => d.Type == OID).FirstOrDefault(); }
catch (Exception ex)
{ ex.ToDummy(); } // *see below
return dcret;
* Just for completeness and to explain the ex.ToDummy() thing - it's a custom extension:
public static class ExtensionMethods
public static void ToDummy(this Exception ex)
By itself there's nothing wrong with the filter - it's just unecessarly complicated - just write:
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(samaccountname=a*)(displayname=a*))"
Another thing that could be of some interest for you:
The filter "(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(samaccountname=a*)(displayname=a*))" uses displayName as index.
"(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(samaccountname=a*)(displayname=a*)))"; get's translated from the QueryOptimizer on the DC to ( | ( & (objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=mfp-labs,DC=labsetup,DC=org)
(objectClass=user) ( ! (sAMAccountType=805306370) ) (displayName=a*) ) ( & (objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=mfp-labs,DC=labsetup,DC=org) (objectClass=user) ( ! (sAMAccountType=805306370) )
(sAMAccountName=a*) ) ) and uses sAMAccountName and displayname as index for the search
@Richard M. : sAMAccountType=805306370 (0x30000002) translates to SAM_TRUST_ACCOUNT - so I guess your AD doesn't have any trusts established .-)
Hth
Michael -
We wrote a web service to authenticate against Windows active directory. I'm trying to use it in an APEX app. Userid/pswd are the input parms and it sends back a bunch of fields. I set up the web service reference and let apex generate a form using the web service for test purposes.
The process with the WS is set to fire on submit. When I submit, I get an ora-01403, no data found error. If I then kick the page into edit mode and back out to display, the correct results from the WS are there.
It seems like a session state issue. Any suggestions?I would like to be able to assist, but I would need to set up a test environment to try to replicate the issue you are encountering. Do you have a Visual Studio project that you can share so I can try to set up this environment?
Regards,
Jason -
Error while generating PDF - in Bex Web
Hi Experts,
I am currently having the issue that I receive the error "Error while generating PDF" when using the "Print Version" functionality. This problem only occurrs for the Bex Web Query. I know that the ADS service is configured correctly- The webservice test is successful and other applications (Guided Procedures, MSS) also use it successfully.
Please see below the excerpt from the default trace:
A message was generated:
ERROR
Error while generating PDF
com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExportRenderingRootNode_0001
Message: 28
Stack trace: java.lang.ArrayIndexOutOfBoundsException: 28
at com.sap.ip.bi.export.xfa.impl.SizeCalculator.getColumnSizes(SizeCalculator.java:178)
at com.sap.ip.bi.export.impl.ExportController.setSizes(ExportController.java:220)
at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:611)
at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:408)
at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:336)
at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:58)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:453)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:105)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:252)
at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:3809)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3867)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3510)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3470)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2489)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:892)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:813)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:456)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
If you have any idea or clue it would be greatly appreciated.
Thanks in advance for every support,
JanHi Jan,
Most possible causes for encountering this issue are:
Possible cause:
- The ADS is installed on a plattform, that is currently not supported by SAP for ADS. Please check the avaliablity at: Product Availability Matrix
- Mixing of different Netweaver releases (NW04 and NW04s) -> This is unfortunatelly not possibble the J2EE engine release has to match with the ABAP stack release in order connect them properly.
- The ADS SP level does not match the J2EE engine SP level. -> Please update the software components to have the same support package level.
Hope this helps!!
Regards,
Arafat -
CM repository / BEx Web / document administration
Hi,
I'm testing right now documents funtionality (it's configured with CM repository). We can create comments from the context menu for BEx Web query results elements, however I cannot see any option for removing existing comments/documents or replacing them.. Can you help me finding this funtionality or document administration must be done only from KM content view?
Thank you and kind regards,
KHi Lorcan,
Thank you for your message.
I think Service-ACL Service is activated (by default), svc_acl (acl_jdbc_service) is in use.
Being on the query results view I can create comments, but I cannot see any options to remove or change the created comments. This is not available even for the owner of comments.
Permissions on the CM repository are default Full Control for Everyone.
Something is still missing I guess. I can manage CM the objects within repository from 'Content Administration -> KM Content' view, however I want to enable remove/change options on the BEx Web query results view.
Thank you again.
K -
BEX problem: F4 help to filter values of F4 value list at query execution
Hi all,
description of the problem we face:
at query execution the selection pop-up appears and "ask" for values. To select those values I try the F4 button and receive a long list of e.g. vendors. (Our vendors are compounded to a special characteristic due to several sources.) To select now several individual values from the list I choose the filter button and try to shorten the list by searching with values of the atributes, here by 0NAME of the vendor. From the result shown I choose one value compounded to a unique value of the special characteristic, there are values for vendors which are the same, but with different compound values and of course different meanings.
When I mark one vendor value shown with his compounded value in front of the row, I expect the compounded value will be transferred to the selection pop-up too, but it won't!!
Only the vendor is transferred, so the result of the query shows more information then wanted.
Any solutions for this?
Thank you in advanceHi Guido,
I dont know any direct solution to your problem, a workaround is
May be add a variable on the Special characterstics, and ask users to enter the Special character also along with your Vendor Code.
As while selecting the vendor user already know special charater value, then can just enter it in Selection screen and restrict the output.
Thanks
CK
Maybe you are looking for
-
JCOProxy error while calling a RFC
Hi, When i tr to call a RFC "CBIF_GLM1_BATCH_READ", i get a fatal error.The error message is: "JCOProxy error: Problem retrieving JCO.Function object." When i checked if i was able to connect to any of the functions other than BAPI's i got the sam
-
How to add a service account in SQL Server to display the "Service Account Name" and "Display Name"
Can someone help with steps on how to add the following in SQL Server 2012 environments?<o:p></o:p> "Service Account Name" and "Display Name"<o:p></o:p> Your help will be greatly appreciated.<o:p></o:p> leonie6214
-
does anyone realize that the only troubleshooting help for this error message is for windows xp?? is apple working on one for windows vista?? i am getting the same problem and tried the two different options mentioned (deleting the itune.itl file and
-
Itunes Library Will Not Organize
Hi All, I'm a bit of a neat freak when it comes to organizing my itunes library. Usually I have no problems because I am content with how itunes keeps my library organized. However, I have noticed in the last few months that my library will not stay
-
Text box moves position when viewing
When doing some testing on a new home page I'm developing, one of the text boxes adjusts its position depending upon which browser I'm using. It's driving me nuts! When viewing it through Internet Explorer, the gray text box in the middle column (for