Tool to query the data inside the data domain
Hi,
Is there a tool that you can use to query data inside a data domain? Like SQLDeveloper for Endeca?
Thank you!
Marco
Marco,
This is a very valid request. We'll have something shortly after 3.1 is released that probably will fit your needs. We have a component for 2.3, 2.4 and 3.0 already but aren't investing in making it "production ready" since there's a new release coming so soon.
Essentially the component we built lets you run EQL, see the results (limited to top 10) as well as how long the request takes. There's also the ability to issue additional commands (like "clear the cache") that can help with performance testing while writing your queries.
Also, keep in mind that we may decide to "retire" it if something like this is included in the product in a future release.
Regards,
Patrick Rafferty
http://branchbird.com
Similar Messages
-
How to query the opening balance for an specific account for an spec. date
Hi all,
for my user query I need to calculate the opening balance for an cash account for an specific date.
Any ideas, how can I do this?
Or may be you know a field in an SBO table that already contains information I need...
Best Regards,
InnaHi Inna,
to find the opening balance for an account or a business partner, please see SAP Note [1114253|https://service.sap.com/sap/support/notes/1114253] :
Symptom
How to find the opening balance of a business partner or G/L account.
Other terms
Account, customer, supplier, vendor, creditor, debitor, start, initial, first, opening balance, business partner, G/L, SAP Business One
Reason and Prerequisites
Consulting
Solution
There are several possible approaches:
Approach 1 - Business Partner Opening Balance:
1. Go to Business Partners -> Business Partner Master Data -> find the Business Partner
2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
4. Click on the button 'Refresh'.
5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
Approach 2 - Business Partner Opening Balance:
1. Go to Business Partners -> Business Partner Master Data.
2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
4. Click on the button 'Refresh'.
5. Double click on the column header 'Posting Date' to find the earliest transaction on the business partner account. This transaction could be opening balance, verify this with the company accountant.
Approach 3 - G/L Account Opening Balance:
1. Go to Financials -> Chart of Accounts -> click on the account name once.
2. Click on the orange link arrow next to the field 'Balance'.
3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
4. Click on the button 'Refresh'.
5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
Approach 4 - Business Partner and/or G/L Account Opening Balance:
1. If using SAP Business One 2005 SP01 or earlier, go to Reports -> Query Generator -> click on 'Execute'.
2. If using SAP Business One 2007 or later, go to Tools -> Queries -> Query Generator -> click on 'Execute'.
3. Ignore the red system message in the bottom of the screen.
4. Click on the pencil icon in the top left of the window, the field with 'SELECT *' will change colour to white, then yellow when activated by clicking in the field.
5. Copy the query below:
SELECT T0.[TransId], T0.[Debit], T0.[Credit] , T0.[CreatedBy], T0.[TransType] FROM [dbo].[JDT1] T0 WHERE T0.[TransType] = '-2' and T0.[ShortName] = '[%1]'
6. Click on 'Save' and give the query an appropriate name and select the appropriate category.
7. Click on 'Execute'.
8. Click on 'Existing Values'.
9. Select the G/L account or the Business Partner name from the list and click on 'OK'.
10. The system message 'Records retrieved by this query #' (# = number of records) will pop up. Click on 'OK'.
All the best,
Kerstin -
5200: Error executing query: The data form grid is invalid.
Hi,
I am getting this error " 5200: Error executing query: The data form grid is invalid. Verify that all members selected are in Essbase. Check log for details.
com.hyperion.planning.HspException;hasPovDims=1;povXML=<?xml version="1.0"?><datasources><datasource name="Profit " dsid="228af2c3_129ca3dd85c_-77b1" allowEdit="1"><dim name="Period" dimIndex="1" dsName="Profit " keyDimName="Period" memberName="Apr" displayName="Period: Apr"/><dim name="Year" dimIndex="2" dsName="Profit " keyDimName="Year" memberName="FY10" displayName="Year: FY10"/><dim name="Entity" dimIndex="5" dsName="Profit " keyDimName="Entity" memberName="9999" displayName="Entity: 9999"/></datasource></datasources>"
I have checked that both the systems essbase and planning are same. nothing's different. still i cannot find the exact reason why the report is not working.
can any please help me.
btw, i am using Hyperion Planning 9.3.1
Thanks,
BIMSHi
You probably deleted some members from outline that are used by report
I would recommend you to open you report/grid via rep.client and try to find which elements are abcent
Regards
Alexander
Edited by: Softperson on 19/8/2010 17:38 -
End-of-file in communication channel while querying the data
We are using ColdFusion(Windows) to access an Oracle - 8.1.7
database. I have context indexes setup on the data for search
purposes.
If I use a package to query the database and return some values,
when many people use the call to the package I get the following
error:
End-of-file in commnuication channel
And many other users lose connection to the database. The
database, however does not go down.
The same logic works well on the development database where
traffic is less.
If we replace the stored proc call by the individual sql
statements there are no problems. Due to complexity of the
program, I would like to use stored procs instead of sql
statements in the ColdFusion code.
Does anyone have any suggestions?07445:exception encountered:core dump [kopedga()+200] [SIGSEGV]
[Address not mapped to object] ....
ORA-7445 is a core dump (segmentation fault) and is a bug in the
database.
You have now the following options:
If you have metalink access:
1. You can have a look if you find a bug entry and then see
when it will be fixed (e.g. search for 'ORA-7445 kopedga').
2. Create an iTAR in Metalink.
If you don't have metalink access:
3. Use the latest patchset and try again and hope that it is
fixed.
Regards,
Thomas -
I need to pass a query in form of string to DBMS_XMLQUERY.GETXML package...the parameters to the query are date and varchar ..please help me build the string .Below is the query and the out put. ( the string is building fine except the parameters are with out quotes)
here is the procedure
create or replace
procedure temp(
P_MTR_ID VARCHAR2,
P_FROM_DATE IN DATE ,
P_THROUGH_DATE IN DATE ) AS
L_XML CLOB;
l_query VARCHAR2(2000);
BEGIN
l_query:= 'SELECT
a.s_datetime DATETIME,
a.downdate Ending_date,
a.downtime Ending_time,
TO_CHAR(ROUND(a.downusage,3),''9999999.000'') kWh_Usage,
TO_CHAR(ROUND(a.downcost,2),''$9,999,999.00'') kWh_cost,
TO_CHAR(ROUND(B.DOWNUSAGE,3),''9999999.000'') KVARH
FROM
(SELECT s_datetime + .000011574 s_datetime,
TO_CHAR(S_DATETIME ,''mm/dd/yyyy'') DOWNDATE,
DECODE(TO_CHAR(s_datetime+.000011574 ,''hh24:'
||'mi''), ''00:'
||'00'',''24:'
||'00'', TO_CHAR(s_datetime+.000011574,''hh24:'
||'mi'')) downtime,
s_usage downusage,
s_cost downcost
FROM summary_qtrhour
WHERE s_mtrid = '
||P_MTR_ID||
' AND s_mtrch = ''1''
AND s_datetime BETWEEN TO_DATE('
||P_FROM_DATE||
',''DD-MON-YY'') AND (TO_DATE('
||P_THROUGH_DATE||
',''DD-MON-YY'') + 1)
) a,
(SELECT s_datetime + .000011574 s_datetime,
s_usage downusage
FROM summary_qtrhour
WHERE s_mtrid = '
||P_MTR_ID||
' AND s_mtrch = ''2''
AND s_datetime BETWEEN TO_DATE('
||P_FROM_DATE||
',''DD-MON-YY'') AND (TO_DATE('
||P_THROUGH_DATE||
','' DD-MON-YY'') + 1)
) B
where a.S_DATETIME = B.S_DATETIME(+)';
SELECT DBMS_XMLQUERY.GETXML('L_QUERY') INTO L_XML FROM DUAL;
INSERT INTO NK VALUES (L_XML);
DBMS_OUTPUT.PUT_LINE('L_QUERY IS :'||L_QUERY);
END;
OUTPUT parameters are in bold (the issue is they are coming without single quotes otherwise th equery is fine
L_QUERY IS :SELECT
a.s_datetime DATETIME,
a.downdate Ending_date,
a.downtime Ending_time,
TO_CHAR(ROUND(a.downusage,3),'9999999.000') kWh_Usage,
TO_CHAR(ROUND(a.downcost,2),'$9,999,999.00') kWh_cost,
TO_CHAR(ROUND(B.DOWNUSAGE,3),'9999999.000') KVARH
FROM
(SELECT s_datetime + .000011574 s_datetime,
TO_CHAR(S_DATETIME ,'mm/dd/yyyy') DOWNDATE,
DECODE(TO_CHAR(s_datetime+.000011574 ,'hh24:mi'), '00:00','24:00', TO_CHAR(s_datetime+.000011574,'hh24:mi')) downtime,
s_usage downusage,
s_cost downcost
FROM summary_qtrhour
WHERE s_mtrid = N3165 AND s_mtrch = '1'
AND s_datetime BETWEEN TO_DATE(01-JAN-13,'DD-MON-YY') AND (TO_DATE(31-JAN-13,'DD-MON-YY') + 1)
) a,
(SELECT s_datetime + .000011574 s_datetime,
s_usage downusage
FROM summary_qtrhour
WHERE s_mtrid = N3165 AND s_mtrch = '2'
AND s_datetime BETWEEN TO_DATE(01-JAN-13,'DD-MON-YY') AND (TO_DATE(31-JAN-13,' DD-MON-YY') + 1)
) B
where a.S_DATETIME = B.S_DATETIME(+)The correct way to handle this is to use bind variables.
And use DBMS_XMLGEN instead of DBMS_XMLQUERY :
create or replace procedure temp (
p_mtr_id in varchar2
, p_from_date in date
, p_through_date in date
is
l_xml CLOB;
l_query VARCHAR2(2000);
l_ctx dbms_xmlgen.ctxHandle;
begin
l_query:= 'SELECT
a.s_datetime DATETIME,
a.downdate Ending_date,
a.downtime Ending_time,
TO_CHAR(ROUND(a.downusage,3),''9999999.000'') kWh_Usage,
TO_CHAR(ROUND(a.downcost,2),''$9,999,999.00'') kWh_cost,
TO_CHAR(ROUND(B.DOWNUSAGE,3),''9999999.000'') KVARH
FROM
(SELECT s_datetime + .000011574 s_datetime,
TO_CHAR(S_DATETIME ,''mm/dd/yyyy'') DOWNDATE,
DECODE(TO_CHAR(s_datetime+.000011574 ,''hh24:'
||'mi''), ''00:'
||'00'',''24:'
||'00'', TO_CHAR(s_datetime+.000011574,''hh24:'
||'mi'')) downtime,
s_usage downusage,
s_cost downcost
FROM summary_qtrhour
WHERE s_mtrid = :P_MTR_ID
AND s_mtrch = ''1''
AND s_datetime BETWEEN TO_DATE(:P_FROM_DATE,''DD-MON-YY'')
AND (TO_DATE(:P_THROUGH_DATE,''DD-MON-YY'') + 1)
) a,
(SELECT s_datetime + .000011574 s_datetime,
s_usage downusage
FROM summary_qtrhour
WHERE s_mtrid = :P_MTR_ID
AND s_mtrch = ''2''
AND s_datetime BETWEEN TO_DATE(:P_FROM_DATE,''DD-MON-YY'')
AND (TO_DATE(:P_THROUGH_DATE,'' DD-MON-YY'') + 1)
) B
where a.S_DATETIME = B.S_DATETIME(+)';
l_ctx := dbms_xmlgen.newContext(l_query);
dbms_xmlgen.setBindValue(l_ctx, 'P_MTR_ID', p_mtr_id);
dbms_xmlgen.setBindValue(l_ctx, 'P_FROM_DATE', to_char(p_from_date, 'DD-MON-YY'));
dbms_xmlgen.setBindValue(l_ctx, 'P_THROUGH_DATE', to_char(p_through_date, 'DD-MON-YY'));
l_xml := dbms_xmlgen.getXML(l_ctx);
dbms_xmlgen.closeContext(l_ctx);
insert into nk values (l_xml);
end; -
Query picking data for the running request
Hi Guyz,
Am working on BW 3.5,
We run a query on a Multicube on daily basis, the scenario here is when we ran a query during one of the infocube load which was not activated and not ready for reporting (Request for reporting available symbol is missing), even then the query picked data for the request which was still running.
Cheers!
Ravi
Edited by: Ravi Srinivas on Aug 18, 2009 1:20 PMGood to know that your doubts are cleared...
For more information browse through SDN and have a look at these notes:
Note 411725 - Questions regarding transactional InfoCubes
Note 1063466 - Transactional request is not set to qualok
Hope it helps...
Regards,
Ashish -
Options to Query the Data In SAP
Hello Team,
I am newly learning the SAP DMS System.
Suppose if i want to custom query the SAP System the current options that I will use is
1) Query the System throug the Search Page
2) Use ABAP Program and develop the report that is needed and then run the report whenever it is needed.
But i would like to know if there is any other way to take the custom report without going to the development team?
Regards
Sathish CHi Sathish,
unfortunately I didn't understand your requirement in your description and the relation to DMS.
In the standard there is transaction CV04N, which is the document search transaction, where you can search for document data, classification data, object links, texts.
If you ask for a custom report here, please specify what functionality this report should have in detail.
Best regards,
Christoph -
hi,
introducing my name is Tahyan Tatah, you can call me Tata
My bos has ipad 2 with ios version 4. He had upgraded the ios become 5, suddenly his data was gone.
Is there any some tools to recover his data.
Thanks
Regards,
Tata
<Edited By Host>No, it will still stay as IOS 7.0.4
-
Query the data between two tables
Need help for query the data between two tables
Table 1: Time sheet
P.ID P.Name EmpID HoursSpend DateTime
c12234 Test 25 4 06/12/2013
c12234 Test 25 7 06/13/2013
c12234 Test 25 8 06/15/2013
c12234 Test 5 3 06/21/2013
c12234 Test 2 5 07/15/2013
c12234 Test 25 4 07/21/2013
Table 2: cost table
EmpID FromDate ToDate Rate
25 05/01/2013 06/30/2013 250
2 04/01/2013 05/31/2013 150
25 07/01/2013 09/30/2013 300
Output
P.ID P.Name EmpID HoursSpend DateTime Rate Total (HoursSond x Rate)
c12234 Test 25 4 06/12/2013 250 1000 (4*250)
c12234 Test 25 7 06/13/2013 250 1750
c12234 Test 25 8 06/15/2013 250
2000
c12234 Test 25 4 07/21/2013 300
1200
c12234 Test 2 5 07/15/2013 150
750
===========================================
Total 28
6700
============================================
Here EmpID =2 don't have rate in the cost table on july month should be pick from last entry from cost table.Hi Gopal,
According to your description, it seems that the output needn’t include the row when EmpID=2. Because the DateTime for it in Table1 doesn’t included between FromDate column and ToDate column. After testing the issue in my environment, we can refer to the
query like below to achieve your requirement:
SELECT time.*,cost.EmpID,cost.Rate,(time.HoursSpend * cost.Rate)as [Total (HoursSond x Rate)]
FROM [Time sheet] as time
INNER JOIN
[cost table]as cost
ON time.EmpID = cost.EmpID
AND time.DateTime BETWEEN cost.FromDate AND cost.ToDate
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to query the Date/Time Dataype
Hi,
I am trying to query the database with Data/Time Datatype.
String date=request.getParameter("date");
String month=request.getParameter("month");
String year=request.getParameter("year");
String tosearch=month+"/"+date+"/"+year;
String getTable="select * from tableRes where dmy='"+tosearch+"'";I would like to know why it is not working?
I ran through tomcat and it appeared this error:
Data type mismatch in criteria expression.
Thanks!pramudya81 wrote:
Rock,
May I know more detail on your specs?
What is your DB? Or how is exactly you execute the sql.
to_date is anyway an Oracle syntax.
So I guess your DB might be an SQL Server.
to_date for oracle is equivalent as Convert in SQL Server
example Select Convert(datetime ,'2002/01/01')
Hope it works nowBad idea. See reply 1. -
How do you query the journal drilldown data using SQL
Hi All,
Appreciate if anybody can assist me into querying the database via SQL query so the journal data includes sub ledger detail.
I found that I cannot link the GL journal batch id (etc.) with the existing sub ledger (AR and AP). Is there any way to perform this query, if not, how can the drill down works?
I needed the guidence since there are certain info that is not available in the journal (rct number, PO no, check no etc). I need to ensure that the data I have is tally with GL journals.
Reasons: doing some recon download to be feeded to a third party system.
Thanks.Hi there are mappings for the reference fields from AP and AR, so you can buid up the links there. Just look at the reference fields of gl_je_lines and try to identify which is valuable for you.
Ugur YILMAZ
http://oracle-master.com -
WebI:Creating a minus query from data providers not using the same universe
Hi there. A client of ours wishes to use Combined Query on multiple universes in the same WebI report. So far, I have heard it is not feasible in WebI. I know it is possible in DeskI. Even the sub-query option is limited to just one universe in WebI. So, I am stuck.
Is there a workaround to creating a minus query from data providers not using the same universe in WebI?Hello Amit,
what are the Datasources ? Usually when you create a Sub Query you can choose a seperate Universe.
Maybe if you only see one Universe you only have the rights for this Universe ?!.
Regards
-Seb. -
Query the value (data) #
Hello,
Current we are using oracle forms 10g R2.
In my database in a table in a particular column for some rows i have value as *#*. In the forms at run time i want to query those rows by entering *#* in that column in enter-query mode.
If i give *# like '#'* in field in enter-query mode it’s querying the records. But i want to make it in such a way to query only giving value as # in that field.
Please suggest any way to overcome this forms default behavior.
Thanks in advance.
Balaji MTry the following in the Pre-Query trigger of the Block :
IF :BLOCK_NAME.ITEM_NAME = '#' THEN
SET_BLOCK_PROPERTY ('BLOCK_NAME', DEFAULT_WHERE, 'ITEM_NAME = ''#''');
:BLOCK_NAME.ITEM_NAME := NULL;
ELSE
SET_BLOCK_PROPERTY ('BLOCK_NAME', DEFAULT_WHERE, '');
END IF; Note : ITEM_NAME is a field in the block and a column in the table on which the block BLOCK_NAME is based on. Please check the ELSE part above that is required as well.
Edited by: Arif Khadas on Sep 20, 2010 11:28 AM -
Querying SAP Data using native i tools
Can a standard IBM tool like Query/400, SQL, etc. access SAP data? Is the data actually stored in DB2 or in some other form? If it is, what library would you look for?
Thanks.Hi BillNGS,
in theory yes, but not with call ...
You could use STARTRFC or start RFCs on a differerent approach. You could use the not reliable SAPEVT and so on. I would say, for such kind of things, you need a bit consulting in order to discuss the different options and then to make a useful decision for your company.
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de -
" Query regarding Data transfer from Bi to BO Tool "
Dear Friends,
I am having a query. I have created a Info-cube and established the universe on the top of the Info-cube.The Dat is coming in the Bi system. When I created a new Webi-report the Data from the ino-cube in the universe is not reflecting the Webi-report .
Can anyone tell me the solution for the Data Load in the Webi-report .Hi,
There are two ways to design universe on top of cube/Query.
1)Olap Universe :Please go through by below link for how to create mdx universe.by this way create one connection and select cube or query and by default designer will replicate cube/query in the universe.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/903a7fc7-19e8-2d10-fa95-b050de946b61?quicklink=index&overridelayout=true
2) Create Data federator project on top of Cube and then design universe.
To pull data in the webi report create universe then select objects and run the query.If data is available in the cube or query that will come in the webi report.
I have already said webi report pull data at run time.there is no need or no way to load data in the universe or webi.
Design a universe and create webi or deski report on top of universe.
For more information you can search on net can be found documents how to create report.
Hope this helps you.
Thanks,
Amit
Maybe you are looking for
-
I puchased cs6 for pc, now I want it for my new mac
Hi, I recently upgraded to macbook pro and want to install premiere cs6, but the software I purchases only works for Windows. How do I install on my mac? Thanks!
-
Studder and Freeze when sending to DV-tape
Powerbook G4, running OS 10.3.9 I am a regular long-hours user of iMovie, and after working on a project for months, I can not save it to tape. Cameras stutter, and freeze when trying to "share" to videocamera. I have tried Canon ZR400, and my new So
-
Dual Path Selection CS6?
I have created a dual path using the pen tool in CS6. One path is insdie of the other path. How do I convert both paths into a selction at the same time?
-
I use the following query to get the average days per order, for a month. It sums the datediff of all the dates and divides by the total number of open orders for the month,in this case Jun 09, which I hardcoded. SELECT Avg_Aging, Site FROM SELECT
-
Why does my archivelog RMAN backups end up in ORACLE_HOME/dbs ?
DB version: 11.2 Platform: Solaris 10 I have noticed that , rman backup pieces containing archivelogs end up in $ORACLE_HOME/dbs directory despite using format parameter. This happened for both Level 0 AND Level 1 backups. I know that backup files en