Failed to execute query
HI Genius,
I have designed on MDX Query. That Query is working in Crystal Report.
I have successfully exported universe from this query.
Now I want to use this universe in Query As A Web Service. I found universe of this query in QaawS.
I am able to see their fields in Build your Qurey Screen. While I am trying to give next step I am getting below error:
getDocumentInformation exception(Error: WIS 10901)
A database error occured. The database error text is: The MDX query SELECT {[ D5272819TYMKSLULVBEJECDFM].[D56FMXBBON4I2150PKSHY65TU]} ON COLUMNS, NON EMPTY [D5271SCO6VP1B3P598D4OMO2]. MEMBERS ON ROWS FROM OFIGL_C10/ZIDHA_pnl_REP1 failed to execute with the error See RFC trace file or SAP system log for more details. (WIS 10901)
Please help me ASAP.
Note: There is No Hyperlink in this document.
Warm Regards,
Rishit Kamdar
Hi,
I would suggest to post your question here [BusinessObjects Integration Kits;.
Regards,
Stratos
Similar Messages
-
MDX Query Failed to execute when universe created on MultiProvider Query
Hi All,
I am running the WebI report created on the universe which is built on Query.
The data flow model in our system for this query is:
Data Store Object> Infoset-> multiProvider--->Query.
When I drag only on Dimension object in the Webi Report without any Prompts the report works fine.
But when I add any other Dimension or any Prompt in the WebI Query it gives me following error:
A database error occured. The database error text is: The MDX query SELECT { [Measures].[4EGM09GXGU939C3RJH2G9DOQY] } ON COLUMNS , NON EMPTY CROSSJOIN( [Z_WM_IS01___F1].[LEVEL01].MEMBERS, [Z_WM_IS01___F12].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES [Z_WM_IS01___F12].[2Z_WM_IS01___F12], [Z_WM_IS01___F1].[2Z_WM_IS01___F1] ON ROWS FROM [ZWM_M02/Z_ZWM_M02_Q001] failed to execute with the error Unknown error. (WIS 10901)
But if i create the Universe on Query which is built on DSO then WebI is working fine.
Is there any restrictions on using Query on multiprovider?
Or do I have to make any configuration at BO server?
How do I configure logging for WebI and Designer to check the Log records?
Do I have to change anything related to any MDX Parser in BO Server?
We are using folowing versions:
SAP BI 7.0 and BOXIR3.1
Request to pls help me to solve this problem.Thanks Ravi for ur inputs.
The report is working fine now.
There was the problem with the Mandatory prompts defined in SAP BI Query on which universe was developed.
U should have only those Prompts as mandatory in SAp BI Query which are Universe level prompt, if some mandatory prompts defined as Class level promts in universe then the MDX Query generated based on WEBI report will not Execute. -
Hi,
I am trying to create a Webi report based on an OLAP Universe. I am using BI 4.1 SP01
I did the following:
1. I have setup a databse connection for SAP SSM via the create connection wizard in the Universe Design Tool. My connection is created sucessfully.
2. Next I created a Universe saved it and exported it.
3. In webi I am trying to create a report, I selected a couple of measures in the "results objects" section. In the qurey filters section I selected month.
When I run this query, I am getting an error message: Database error: Failed to execute MDX query. Reason: returned server error (). (IES 10901) (WIS 10901).
I tried to search for similar issues reported on SCN forums and other places and it looks like a generic error and this was not answered in some of the discussions
Any help is very much appricated.
Thanks
ImtiyazHi,
I have verified in BEx query properties, it's "allow External Access to this Query" is checked.
I have filter in BEx query, so not need to had it to query selection again in webi report.
Could any other solution??
Regards, -
MDX query failed to execute (QAAWS)
Hi All,
When i execute dashboard (SAP BI -> Universe -> QAAWS -> Xcelsius) i get error:
A database error occured. The database error text is: The MDX query SELECT { [4KQ4D7SK7G9NG7WS5G6JD60I7].[4KQ4D808QEVCYUG8BA8VN7Z7Z] } ON COLUMNS , NON EMPTY [4KQ4D6IH1ONECGO36FSHOU87J].MEMBERS ON ROWS FROM [ZFIGL_C04/ZFIGL_C04_Q0024] SAP VARIABLES [!V000002] INCLUDING 1000/20002M03 [0P_FPER] INCLUDING 004.2010 failed to execute with the error . (WIS 10901)
Connection test of MDX Parser in sm59 is OK.
When i execute same MDX statement in MDXTEST i get error:
Invalid MDX command with /
Message no. BRAINOLAPAPI100
some time before i was getting the error:
Invalid MDX command with Cin
Message no. BRAINOLAPAPI100
I have two variables in BEx query, Fiscal year period & Profit center(Hierarchy node variable). if i don't pass value for profit center i get the data in dashboard.
When i execute QAAWS in edit mode with both parameters i get the data in preview of QAAWS.
I was unable to find the clear solution when i searched in SDN. please help.
Product versions:
Xcelsius 2008 Enterprise edition
BOE 3.0
BI 7.0
Regards,
Pruthvi R
Edited by: Pruthvi R on Feb 6, 2011 7:50 PMNo, not in CR 2008.
When i execute the QAAWS in preview i get the full hierarchy for selection. i have assigned L01 L02 L03 (levels of hierarchy) to 3 combo boxes by using Filtered Rows option in combox boxes.
i an not entering any thing manullay in dashboard. based on combo selection i get 1 node of hierarchy which i am passing to another qaaws along with fiscal period for data.
the problem is the data feching query is not able to understand passing value of hierarchy node.
i copied the mdx and executed in MDXTEST with different input. I get the characteristics list in first column and measure in second column will be always balnk for:
"20002M03" or "1000/20002M03" or "[0profit_ctr].[20002M03]" (within square brackets)
Regards,
Pruthvi R
Edited by: Pruthvi R on Feb 7, 2011 3:55 PM -
XPath expression failed to execute.
Hi Everybody ,
I am working AIA PIP 3.1 for JDE E1.I am facing some errors so that i can't proceed.
See the log errors as below:
javax.xml.ws.soap.SOAPFaultException: XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl',bpws:getVariableData('InitialLoadBillOfMaterialsListReqMsg','InitialLoadBillOfMaterialsList'),bpws:getVariableData('Parameters')). The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/InitialLoadBillOfMaterialsListJDEE1toAgileImpl_rev1.0/xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl<Line 18, Column 271>: XML-22044: (Error) Extension function error: Error invoking 'lookupXRef':'oracle.tip.xref.exception.RepositoryException: lookup could not find values in column name "AGILE_01" for table name "oramds:/apps/AIAMetaData/xref/ITEM_ITEMID.xref" using reference column name "JDEE1_01" and reference value "731882::M30" Please ensure lookup criteria has a match.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
Please reply me ASAP,
Waiting for your response.....
Regards
Jyoti NayakHi,
Ya i checked the data for same table,but i didn't get any XREF related information in xref_data table.
Did you mean that, data should already present under AIAFPINST_XREF.Probably xref is meant for storing dynamic value.
Please check the above error and reply me soon.
With Regards
Jyoti Nayak -
Error while executing query in OLAP server
Dear all,
we are using APD to extracted sales data for the last 3 months .this APD was executed perfectly till yesterday.
in today's run APD got failed with error message as below
"@5C\QError@ Fiscal year variant Z3 is not maintained for calendar year 9999
"@5C\QError@ Error while executing query in OLAP server; redesign query.
Please suggest corrective action .
I have tried executing manually with less selections on creation date by no success..
regards,
puruPurushotham wrote:
Hi Jeeth,
>
> in query we have selection for " currency type " and created on " .we are not using fiscal year variant.
>
> in first strep of APD design only we have a problem and also recently there are no changes to this APD .
>
> It was executed perfectly on till 4th .
>
> Edited by: Purushotham on Feb 6, 2012 12:48 PM
Dear Purushotham, You can maintain the Fiscal year Variant in OB29. 2 possibilities, #1 : Data for the FYV/Year could be wrong. #2 : Updates for Fiscal Year might not have been done. You can maintaine FY varients up to FY 2XXX in your BW system. This should fix the error. The table T009 must be the same as we get when we do OB29 TCode in BW, so via SPRO do rebuild of table again.
Edited by: Arun Bala G on Feb 6, 2012 4:05 PM -
ORA 28112 - Failed to Execute Policy
Hello All,
Can you please help me in resolving the following issue:
We are getting the ORA 28112 - Failed to Execute Policy error while running a custom BI Publisher report on production. However we are not facing the issue on test environment .
Please let us know how to proceed about.
Thank you.Prathima,
I had the same issue few years back, query was woking in toad but not in Oracle Reports. A ticket was raised for the DBAs and they fixed the issue. How? I don't have any clue. Maybe they fixed the policy function. On my side i just gave them the table name which was raising this error. If you have any other enviroment like Development, Test, etc, log in to that environment and check if report still raises this error. When i had this issue, only one database was raising this error, all others were fine (by using report builder).
FS -
HI Genius,
I have designed on MDX Query. That Query is working in Crystal Report.
I have successfully exported universe from this query.
Now I want to use this universe in Query As A Web Service. I found universe of this query in QaawS.
I am able to see their fields in Build your Qurey Screen. While I am trying to give next step I am getting below error:
getDocumentInformation exception(Error: WIS 10901)
A database error occured. The database error text is: The MDX query SELECT { D5272819TYMKSLULVBEJECDFM.D56FMXBBON4I2150PKSHY65TU} ON COLUMNS, NON EMPTY D5271SCO6VP1B3P598D4OMO2. MEMBERS ON ROWS FROM OFIGL_C10/ZIDHA_pnl_REP1 failed to execute with the error See RFC trace file or SAP system log for more details. (WIS 10901)
Please help me ASAP.
Note: There is No Hyperlink in this document.
Warm Regards,
Rishit KamdarHi Ingo,
As per your intstruction, i have merged that registry.
Content of SOFA File (Part-1):
Mon Jun 15 10:41:08.455 ThreadID<5936> ASSERTION : OLAP Intelligence Assertion failure: Assert(! "VectoredHandler: caught access violation") failed in file .\source\mda_support.cpp line 105
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : module CreateServer : Retrieve valid license key.
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : SAPFactory::createBrowseObject
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : SAPFactory::createCube
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : SAPConnection::connect
Mon Jun 15 10:41:29.035 ThreadID<6004> SAPMODULE : Authentication model for SAP connectivity is username and password
Mon Jun 15 10:41:29.035 ThreadID<6004> SAPMODULE : Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,ASHOST=10.10.200.27,SYSNR=00,R3NAME=PI1,AUTHTYPE=CREDENTIALS,USER="kshah",CLIENT=600,LANG=EN,CATALOG="0FIGL_C10",CUBE="0FIGL_C10/ZIDHA_PNL_REP1",PASSWD=******
Mon Jun 15 10:41:29.035 ThreadID<6004> SAPMODULE : Calling m_pRfcWrapper->RfcOpenEx() ...
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : RfcOpenEx(...) returned 1
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Call to m_pRfcWrapper->RfcOpenEx() took 1.719 seconds
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : There are currently 1 concurrent connections
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Connection 1 successful
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Connection to SAP BW server successful
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : SAPAuthenticationService::~SAPAuthenticationService
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : SAPClient::load_structure
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Looking for cube 0FIGL_C10/ZIDHA_PNL_REP1 (catalog 0FIGL_C10)
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetCubes ...
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetCubes took 1.328 seconds
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetCubes returned S
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Found cube - creating structure ..
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : SAPStructure::init
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Cube Information
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Description IDHASOFT LIMITED P&L REPORT AS AT (&T_MONTH& )
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Structure created for cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Reserved Structure 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : SAPConnection::connect
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : SAPClient::load_structure
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Looking for cube 0FIGL_C10/ZIDHA_PNL_REP1 (catalog 0FIGL_C10)
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetCubes ...
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetCubes took 0.000 seconds
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetCubes returned S
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Found cube - creating structure ..
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : SAPStructure::init
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Cube Information
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Description IDHASOFT LIMITED P&L REPORT AS AT (&T_MONTH& )
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Structure created for cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Reserved Structure 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : XML Query :
<DPCOMMANDS>
<DPCOMMAND>
<DP>
<QUERY>
<QUERYRESULT>
<QUERYOBJECT KEY="[D5271SCO6VP1B3P598D4OXMO2]" />
<QUERYOBJECT KEY="[D52728I9TYMKSLULVBEJECDFM].[D52VETQL87W67T8I1VX1VRC3M]" />
</QUERYRESULT>
<QUERYSCOPE />
<QUERYCONDITION>
<WHERE/>
</QUERYCONDITION>
</QUERY>
</DP>
</DPCOMMAND>
</DPCOMMANDS>
Mon Jun 15 10:41:32.269 ThreadID<6004> SAPMODULE : saputils::GetHierarchyByUName
Mon Jun 15 10:41:32.269 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 2.094 seconds
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : saputils::GetDimensionByUName
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetDimensions ...
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : RFC function call MDDataProvderBW.GetDimensions returned S
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetDimensions took 0.000 seconds
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : SAPDimension::init
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Dimension information
Dimension D5271SCO6VP1B3P598D4OXMO2
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Unique Name [D5271SCO6VP1B3P598D4OXMO2]
Unique ID D5271SCO6VP1B3P598D4OXMO2
Caption P&L Structure
Ordinal 1
Cardinality 50
Default Hierarchy [D5271SCO6VP1B3P598D4OXMO2]
Description P&L Structure
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Loading dimension D5271SCO6VP1B3P598D4OXMO2 from cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : SAPDimension::load_hierarchies
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 0.015 seconds
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Dimension D5271SCO6VP1B3P598D4OXMO2 has 1 hierarchies
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPConnection::getMaxRowsPerLoad
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerConfiguration::getSAPServerLoadLimits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerConfiguration::load_sap_server_configuration
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::SAPServerLoadLimits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::init
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::load_sap_server_limits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPConnection::get_server_name_from_uri
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Found the servername 10.10.200.27 from the URI
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::doesSAPServerNameExist
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::find_sap_server_name_from_server_load_limits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Looking for 10.10.200.27 from the list of ServerLoadLimits...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Unable to locate the server name 10.10.200.27 from the list of ServerLoadLimits.
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Enable to locate the MaxRowsPerLoad for the server(10.10.200.27) from the SAPServerLoadLimits. Using the default value 50000
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPHierarchy::init
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Hierarchy Information
Hierarchy
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D5271SCO6VP1B3P598D4OXMO2]
Unique Name [D5271SCO6VP1B3P598D4OXMO2]
Unique ID
Caption P&L Structure
Cardinality 50
Default Member [D5271SCO6VP1B3P598D4OXMO2].[D5271SCO6VPSZQ0WKRSQRD0XU]
All member
Description Default (flat list)
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Loading hierarchy [D5271SCO6VP1B3P598D4OXMO2] from dimension [D5271SCO6VP1B3P598D4OXMO2]
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : FIS: Loading 'Inactive_Member_For_[D5271SCO6VP1B3P598D4OXMO2]' () as DFN 1 (parent -1)
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPHierarchy::load_levels
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetLevels ...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetLevels took 0.000 seconds
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetLevels returned S
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPLevel::init
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Level Information
Level P&L Structure
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D5271SCO6VP1B3P598D4OXMO2]
Hierarchy [D5271SCO6VP1B3P598D4OXMO2]
Unique Name [D5271SCO6VP1B3P598D4OXMO2]
Unique ID
Caption P&L Structure
Level Number 0
Cardinality 50
Type 0
Description
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetProperties ...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : MDDataProviderBW.GetProperties(Cat=0FIGL_C10,Cube=0FIGL_C10/ZIDHA_PNL_REP1,Dim=[D5271SCO6VP1B3P598D4OXMO2],Hry=[D5271SCO6VP1B3P598D4OXMO2]
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetProperties took 0.031 seconds
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetProperties returned S
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : Got 0 properties
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : saputils::GetHierarchyByUName
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 0.063 seconds
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : saputils::GetDimensionByUName
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetDimensions ...
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : RFC function call MDDataProvderBW.GetDimensions returned S
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetDimensions took 0.016 seconds
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPDimension::init
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Dimension information
Dimension D52728I9TYMKSLULVBEJECDFM
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Unique Name [D52728I9TYMKSLULVBEJECDFM]
Unique ID D52728I9TYMKSLULVBEJECDFM
Caption Key Figures
Ordinal 2
Cardinality 3
Default Hierarchy [D52728I9TYMKSLULVBEJECDFM]
Description Key Figures
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Loading dimension D52728I9TYMKSLULVBEJECDFM from cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPDimension::load_hierarchies
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 0.000 seconds
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Dimension D52728I9TYMKSLULVBEJECDFM has 1 hierarchies
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPHierarchy::init
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Hierarchy Information
Hierarchy
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D52728I9TYMKSLULVBEJECDFM]
Unique Name [D52728I9TYMKSLULVBEJECDFM]
Unique ID
Caption Key Figures
Cardinality 3
Default Member [D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]
All member
Description Default (flat list)
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Loading hierarchy [D52728I9TYMKSLULVBEJECDFM] from dimension [D52728I9TYMKSLULVBEJECDFM]
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPHierarchy::load_levels
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetLevels ...
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetLevels took 0.015 seconds
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetLevels returned S
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : SAPLevel::init
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Level Information
Level Key Figures
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D52728I9TYMKSLULVBEJECDFM]
Hierarchy [D52728I9TYMKSLULVBEJECDFM]
Unique Name [D52728I9TYMKSLULVBEJECDFM]
Unique ID
Caption Key Figures
Level Number 0
Cardinality 3
Type 0
Description
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : SAPHierarchy::_load_children
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Getting children of RootMembers (hierarchy [D52728I9TYMKSLULVBEJECDFM]) (client DFN=0)
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : SAPHierarchy::load_members
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Calling SAPHierarchy::load_members ...
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetMembers ...
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : MDDataProviderBW.GetMembers(Cat=0FIGL_C10,Cube=0FIGL_C10/ZIDHA_PNL_REP1,Dim=[D52728I9TYMKSLULVBEJECDFM],Hry[D52728I9TYMKSLULVBEJECDFM],Lvl=,Mem=,OpCode=)
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetMembers returned S
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : Got 3 members
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : Calling SAPHierarchy::load_members adding members to FIS ...
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : FIS: Loading '[D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]' ([D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]) as DFN 1 (parent 0)
Mon Jun 15 10:41:34.566 ThreadID<6004> SAPMODULE : The following member has been loaded into the FIS and assigned DFN 1
Hierarchy: [D52728I9TYMKSLULVBEJECDFM]
Unique Name: [D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]
Name: [D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]
Description: [D52U79DRZ0STAR156PCDD2OEA] -
Failed to execute with the error Error occurred when starting the parser: t
Dear All
I am getting this error
""A database error occurred. The database error text is: The MDX query SELECT { [DASKA1EDEL2DMLXTQ62S595QV].[DB7BP4A8AMQTUD3DPEEPS4J87] } ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH].[LEVEL01].MEMBERS, [DASKFZ1TRFOLNTG78G0HH2B87].MEMBERS ), [0MATERIAL].[LEVEL01].MEMBERS ), [0PLANT].[LEVEL01].MEMBERS ), [0COMP_CODE].[LEVEL01].MEMBERS ), [0ACTDELDATE].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_NAME, MEMBER_CAPTION ON ROWS FROM [0IC_C03/ZMATSTOCK] failed to execute with the error Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'. (WIS 10901)""
I already went to similar kind of error solution in forum,but this error is coming for one web I query,all other reports are working fine.
I already implemented note 1032461Hi,
Under normal circumstances it should be enough to restart the connection service.
As far as we know there is no formal solution to this problem from SAP yet but restarting the connection service is much less of an interuption compared to restarting the the SIA.
Re-starting the connection service should resolve this issue. since, Connection service is only related to DeskI and Rich Client re-statrng wonu2019t impact other business objects components including java report panel.
All the Best,
Madhu.... -
UNX issue : Failed to initialize Query Panel (service issue?)
Hello all,
For a couple off days now we are trying to use universe(s) in Desing studio with no luck.
We use the Efashion single source relational universe on which we can run Webi's without a problem . When we add a datasource in DS we see and can select the unx but when we push the "edit query specification" button DS freezes and return the error : Failed to initialize Query Panel
We just upgrade tot DS1.2 SP01 both on server side as on client side.
This is the error from the error log : which seems to have a connection problem to a certain service:
Any of you have an idea how to proceed?
All servers run fine when we check the CMC and an APS is added for Design studio (analysis) .DS works fine with BEX queries...
Thanks in advance.
!ENTRY com.sap.ip.bi.zen.ui 4 0 2014-03-14 12:43:33.876
!MESSAGE Failed to initialize Query Panel
!STACK 0
com.businessobjects.dsl.services.workspace.impl.WorkspaceException: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSource(AbstractDataProviderWithUniverse.java:437)
at com.businessobjects.dsl.services.dataprovider.impl.QuerySpecDataProvider.createInitialDataSource(QuerySpecDataProvider.java:609)
at com.businessobjects.dsl.services.dataprovider.impl.QuerySpecDataProvider.finalizeCreation(QuerySpecDataProvider.java:852)
at com.businessobjects.dsl.services.workspace.impl.AbstractBuiltInDataProviderBuilder.buildDataProvider(AbstractBuiltInDataProviderBuilder.java:36)
at com.businessobjects.dsl.services.dataprovider.impl.DataProviderFactory.createDataProviderWithUniverse(DataProviderFactory.java:190)
at com.businessobjects.dsl.services.dataprovider.impl.DataProviderFactory.createAndAddDataProvider(DataProviderFactory.java:108)
at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:83)
at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
at com.sap.ip.bi.zen.backends.bip.ui.dialogs.QueryPanelDialog.createQueryPanelContext(QueryPanelDialog.java:133)
at com.sap.ip.bi.zen.backends.bip.ui.dialogs.QueryPanelDialog.createDialogArea(QueryPanelDialog.java:97)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:775)
at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.createContents(ZenTrayDialog.java:63)
at org.eclipse.jface.window.Window.create(Window.java:432)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.open(ZenTrayDialog.java:110)
at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController.editDataSourceClickedInternal(DataSourceDialogController.java:158)
at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController$1.run(DataSourceDialogController.java:147)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController.editDataSourceClicked(DataSourceDialogController.java:144)
at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceSelectionPane.editQueryButtonClicked(DataSourceSelectionPane.java:253)
at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceSelectionPane$6.widgetSelected(DataSourceSelectionPane.java:233)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.open(ZenTrayDialog.java:112)
at com.sap.ip.bi.zen.ui.internal.commands.AddDataSourceHandler.execute(AddDataSourceHandler.java:24)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:850)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:743)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:727)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:662)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at com.sap.ip.bi.zen.ui.internal.application.ZenApplication.start(ZenApplication.java:36)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Caused by: com.businessobjects.mds.services.solver.ConnectionSolverException: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
at com.businessobjects.mds.services.solver.AbstractConnectionSolver.addCredentialInfo(AbstractConnectionSolver.java:238)
at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solve(AbstractConnectionSolver.java:136)
at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:151)
at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:147)
at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:143)
at com.businessobjects.mds.services.helpers.DataFoundationHelper.getConnection(DataFoundationHelper.java:892)
at com.businessobjects.mds.services.helpers.DataFoundationHelper.isErpDataFoundation(DataFoundationHelper.java:2896)
at com.businessobjects.mds.services.helpers.UniverseHelper.isErpUniverse(UniverseHelper.java:1554)
at com.businessobjects.dsl.services.datasource.DataSourceFactory.createQueryCapability(DataSourceFactory.java:286)
at com.businessobjects.dsl.services.datasource.DataSourceFactory.fillQueryCapability(DataSourceFactory.java:959)
at com.businessobjects.dsl.services.datasource.DataSourceFactory.getDataSource(DataSourceFactory.java:839)
at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSourceFromUniverse(AbstractDataProviderWithUniverse.java:572)
at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.retrieveDataSource(AbstractDataProviderWithUniverse.java:542)
at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.buildDataSource(AbstractDataProviderWithUniverse.java:448)
at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSource(AbstractDataProviderWithUniverse.java:432)
... 72 more
Caused by: com.sap.connectivity.cs.core.CSError: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionManager.<init>(ConnectionManager.java:81)
at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionServer.getConnectionManager(ConnectionServer.java:125)
at com.sap.connectivity.cs.core.Environment.CreateConnectionManager(Environment.java:530)
at com.sap.connectivity.cs.core.Environment.CreateConnectionManager(Environment.java:504)
at com.sap.connectivity.cs.api.trace.EnvironmentLogger.CreateConnectionManager(EnvironmentLogger.java:368)
at com.businessobjects.mds.services.relational.CsService.getAuthenticationMode(CsService.java:180)
at com.businessobjects.mds.services.relational.CsService.addCredentialInfo(CsService.java:485)
at com.businessobjects.mds.services.solver.AbstractConnectionSolver.addCredentialInfo(AbstractConnectionSolver.java:235)
... 86 more
Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
detail:Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:140)
at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:183)
at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:128)
at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerSvcFactory.getServiceFromCriteria(NetworkLayerSvcFactory.java:53)
at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerLookup.getServiceFromCriteria(NetworkLayerLookup.java:114)
at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerLookup.getService(NetworkLayerLookup.java:83)
at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionManager.<init>(ConnectionManager.java:68)
... 93 more
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:664)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:959)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.redirectServer(ManagedSession.java:338)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:247)
at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:299)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:520)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody5$advice(ServiceMgr.java:512)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)
at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:164)
... 98 moreHi Bram,
I had a look in your Java-Exception and there a connectionserver is missing.
I know that there are two kind of connection servers 32 and 64 Bit. Do one of your APS Servers have connectivity and connectivity 32 Bit ???
I had an issue when i first wanted to use a .unx connection with DS with my splitted APS.
I had one APS only containing the Analysis service. To get to run my .unx access i had to add the Adaptive connectivity Service to the APS containing the analysis service.
On top of that i had to add the DSL Bridge (otherwise my adaptive connectivity Service did not start)
Perhabs this helps you out.
Good luck
Manfred -
CANT execute query with parameter on user defined tables using query genera
Dear All,
I have problem when executing query with parameter on user defined tables using query generator.
It seems SBO cannot accept parameter to query user defined tables.
I've tried these:
SELECT T0.U_Status FROM [@ST_PR_H] T0 WHERE T0.U_Status = [%0] --- this FAIL
I try to pass the value directly without using parameter and It works
SELECT T0.U_Status FROM [@ST_PR_H] T0 WHERE T0.U_Status = 2 --- this SUCCESS
This one works
SELECT * FROM RDOC T0 WHERE T0.width =[%0] --- this SUCCESS
and this one works too
SELECT * FROM RDOC T0 WHERE T0.width = 595 --- this SUCCESS
Is there anyone can help me ....???
Thanks,
AlfaI generated this code using query wizard ....
SELECT T0.[U_Status] AS 'Document Status' FROM [dbo].[@ST_PR_H] T0 WHERE T0.[U_Status] = (N'2' )
and replaced the (N'2' ) with [%0]
SELECT T0.[U_Status] AS 'Document Status' FROM [dbo].[@ST_PR_H] T0 WHERE T0.[U_Status] = [%0]
and It worked ......
Thanks 4 all ..... -
Not able to execute Query in BEx Netweaver 2004s
Hello Experts,
I'm trying to execute query on the web from BEx Netweaver 2004s.
But I get this message:
The page you are looking for might have been removed or had its name changed.
And the wired thing is I don't get host and port number in the address bar.
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=0CCA_C03_Q1000&VARIABLE_SCREEN=X&DUMMY=1
But when I execute query from BEx 3.x it works.
What settings should I check and make so that it works fine in the new version.
One of the parameter icm/server_port_0 has a timeout limit set to 150.
Thanks in advance.Thanks All of you but no luck as of now.
While manually adding host and port into the address bar i got this message:
The initial exception that caused the request to fail, was:
Connect from SAP gateway to RFC server failed
Connect_PM TYPE=A ASHOST=soanetp2:8001 SYSNR=01 GWHOST=soanetp2.GWSERV=sapgw01 PCS=1
LOCATION SAP-Gateway on host soanetp2 / sapgw01
ERROR hostname 'soanetp2:8001' unknown
TIME Fri Oct 10 15:52:43 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE nixxhsl.cpp
LINE 223
DETAIL NiHsLGetNodeAddr: hostname cached as unknown
COUNTER 10
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed
Connect_PM TYPE=A ASHOST=soanetp2:8001 SYSNR=01 GWHOST=soanetp2GWSERV=sapgw01 PCS=1
LOCATION SAP-Gateway on host soanetp2 / sapgw01
ERROR hostname 'soanetp2.us:8001' unknown
TIME Fri Oct 10 15:52:43 2008
RELEASE 700
While following SAP note 947148 I found that we don't have any entry in table RSPOR_T_PORTAL
What entry it should have? The note says that there should be a prefix maintained for your portal.
Hope to solve this problem this weekend and let you all know what all steps i took.
Thanks in advance
Sonu -
Which user/schema executed query in V$SQLAREA
I am looking on one row/query in view "V$SQLAREA" and want to which user/schema was used to log in to the database when that one query was executed. How i can get that schema name?
Should i look this column maybe:
V$SQLAREA
PARSING_SCHEMA_NAME VARCHAR2(30) Schema name that was used to parse this child cursor( http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2129.htm )
I have Java software that uses different database schemas/users to make connections to my database. And i want to know for one query which schema/user was used to connect to database before running the query.
I think i need to join "V$SQLAREA" to view V$SESSION and there the column "USERNAME" tells me the connection user name for the executed query.
V$SESSION
USERNAME VARCHAR2(30) Oracle username
( http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2088.htm )Seems like i fail to join "V$SQLAREA" to view V$SESSION:
select q.SQL_TEXT, q.sql_id, q.PARSING_SCHEMA_NAME, q.ADDRESS, q.last_active_time, s.USERNAME, s.SCHEMANAME from v$sqlarea q, v$session s
where q.last_active_time > sysdate - 1
and q.sql_text like 'DELETE FROM casino.lgngameoperationlog WHERE sessionCode%'
and s.sql_address=q.address
order by last_active_time desc
no rows found
select q.SQL_TEXT, q.sql_id, q.PARSING_SCHEMA_NAME, q.ADDRESS, q.last_active_time from v$sqlarea q
where q.last_active_time > sysdate - 1
and q.sql_text like 'DELETE FROM casino.lgngameoperationlog WHERE sessionCode%'
order by last_active_time desc
'DELETE FROM casino.lgngameoperationlog WHERE sessionCode = :1 and sessionType = :2'; 51thfgbubkkg6; JAVA; 0000000392523658; 28.10.2010 18:09:14;
*/I have Java software that uses different database schemas/users to make connections to my database. And i want to know for one query which schema/user was used to connect to database before running the query.If the SQL-text sits inside your Java code, that is the text does not sit inside some stored pl/sql program unit, then you can use parsing_schema_id, yes.
If the SQL-text sits inside a stored procedure, then depending on how that procedure is defined (invoker rights or definer rights), you could use parsing_schema_id too (in the first case (invoker rights)). -
Execute Query - Not finding data
I have a form with a Master-Detail-Detail (I will refer to them as Master, Detail_1, Detail_2) relationship between blocks.
There is a WHEN_NEW_FORM_INSTANCE trigger that populates a record group and then sets a list item in Detail_1 to the record group values. All other behavior is default forms.
When I perform an execute query using the default toolbar buttons, no data is returned even though data exists in the corresponding tables.
I am thinking that the setting of the list item may be causing the query to fail but I'm not sure. I have commented out the working code in the WNFI trigger and just have a NULL; statement as a test, but the default query still returns no data.
Do I need to clear the list item of its values? If so, at what point should I do this (enter-query)?
My Forms version is 10.1.2.
I appreciate guidance on this matter.The query may be failing because you are retrieving a record that has a value that is not listed in the list item's list of values. Use the list item's Mapping of Other Values property to tell Forms what to do when it retrieves a value not found in the list of values. Also see the CONVERT_OTHER_VALUE built-in.
-
ORA-28112: failed to execute policy function - Error in Application Builder
Hey all,
I've added a policy function to one of my tables and now I'm getting this error when I try to update a report region that references that table.
"Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the ''generic columns'' checkbox below the region source to proceed without parsing. ORA-28112: failed to execute policy function"
If I remove the policy then everything works fine. My application also runs fine with the policy in place. I just get these errors in the application builder when updating a report or an LOV that references the secure table.
The parsing schema is APPL_USER.
Here is the policy function:
FUNCTION DOCUMENT_TABLE_POLICY (object_schema IN VARCHAR2 DEFAULT NULL
,object_name IN VARCHAR2 DEFAULT NULL)
RETURN VARCHAR2 IS
v_nt_seq NUMBER;
BEGIN
IF user = 'APPL_USER' OR INSTR(user, 'ITFC_') = 1 THEN
RETURN NULL;
END IF;
IF V('APP_USER') IS NOT NULL THEN
IF V('F_NT_SEQ') IS NOT NULL THEN
v_nt_seq := V('F_NT_SEQ');
ELSE
SELECT NT_SEQ
INTO v_nt_seq
FROM APPL_USERS
WHERE UPPER(NT_ID) = UPPER(V('APP_USER'));
END IF;
RETURN '(DOCUMENT_TYPE, MANAGED_BY_ELEMENT, PROGRAM_CODE, CONTRACT_NUMBER) IN (SELECT DISTINCT R.DOCUMENT_TYPE, USL.ELEMENT, USL.PROGRAM_CODE, USL.CONTRACT_NUMBER FROM IPRACA_USERS_SECURITY_LINK USL, IPRACA_SECURITY_ROLES R WHERE R.SECURITY_ROLE_SEQ = USL.SECURITY_ROLE_SEQ AND USL.NT_SEQ = ' || TO_CHAR(v_nt_seq) || ')';
END IF;
--UNAUTHORIZED USERS CAN SEE NO DATA
RETURN '1=0';
END;
This is how I setup the policy:
BEGIN
DBMS_RLS.ADD_POLICY(
object_schema => 'APPL_USER'
,object_name => 'APPL_DOCUMENT'
,policy_name => 'APPL_DOCUMENT_POLICY'
,function_schema => 'APPL_USER'
,policy_function=> 'APPL_SECURITY.DOCUMENT_TABLE_POLICY'
END;
Any help would be greatly appreciated!
Thanks,
Jonathan Hart
APEX 3.1.1Thanks.
After looking at it again, I think that may be the problem, too. I guess the APP_USER is set when in the application builder and the Builder is running the report query as it is being parsed which is causing the error. I added a Begin - Exception block around that query and everything seems to work now.
Thanks again!
Maybe you are looking for
-
Midi loops in browser sound different in arrange window controller messages
I have a problem with controller messages as well with fx I audition a midi loop it has FX and then drag it to arrange window sounds different, I know of ther is another topic about the FX, But as well controller messages not being read right say a T
-
Upgrade to iTunes 8.1, iPhone is no longer recognized
Hi gang, I just upgraded to 8.1 iTunes, and now when I plug in my iphone, it doesn't do anything. It should show up in the sidebar ofcourse, but it should also launch iphoto since there's pictures on there that haven't been downloaded yet. Anyway, ap
-
Checkbox in Module Pool Programming
Hi, I got a situation. I need to handle the checkboxes, which are the internal table fields. I need to check them, when I click the push button. Using the event sy-ucomm, I tried to do. But, normally in a screen, we use to check the checkbox, whereas
-
I do. Again unbelievable forum bug La vida loca
-
Hi, I am using the REUSE_ALV_GRID_DISPLAY_LVC function to display a grid. In this grid I have some columns containing checkboxes that are editable. But, depending on some data in de records that I show, some of these checkboxes should be non-editable