Any table or program to get the number of records in P, A and F tables
HI all
any table for program to get the number of records in P, A and F tables. I want to create SQ01 queries to get the status of number of records. We are gng for a production cutover next week. Want to capture all the data before and after Upgrade cutover.
Also suggest me how to create sq01 queries.
Thanks in advance
regards
Janardhan KUmar K.
Use Transaction LISTSCHEMA to see all the tables assosciated with ur cube
Total number would be what you find in both the E & F fact tables. If there is no compression in the cube then E table will be empty.
Alternatively u can use se16 transaction and enter E table and F table manually
E table - /BIC/E(Cube name) and Ftable - /BIC/F(Cube name)
Or else u can go to the manage of the cube and without selecting any field for O/P and ticking the option output number of hits execute. The total of Row Count will give u the total no of records in the cube.
Similar Messages
-
How to get the number of records of a streaming result set
Hi guys.
So if it wasn't a streaming result set, I would have done this:
{noformat}myResultSet<code class="jive-code jive-java">.last();
{color:navy}*int*{color} numResults = </code>myResultSet<code class="jive-code jive-java">.getRow();
</code>myResultSet<code class="jive-code jive-java">.beforeFirst();
</code>{noformat}
but being a streaming result set, beforeFirst() throws an exception...
So how do you get the number of records in that result set? I wanna avoid an extra count(*) query, so I would appreciate other solutions than that.JoachimSauer wrote:
vanwil wrote:
you see, for now I just use a count(*) query to get the number of records, but that's adding a lot of extra waiting time...Iterating over the result twice will surely be slower then doing the count(*).great! so what I got now is actually the fastest way there is... awesome...
If you get an exception, then you surely have a stack trace. That should tell you what happens, or at least where.com.mysql.jdbc.MysqlIO.checkForOutstandingStreamingData(MysqlIO.java:2066)
Why do you need to know the number of elements beforehand, anyway?I need to know the number of elements because the incoming data goes into a table. Now of course, I could use ArrayList<String[]> or something, but wouldn't that require more memory resources than Object[][] ?
No one can tell you that, at least not without more information (say, the stack trace for example).Here's the exception message:
java.sql.SQLException: Streaming result set com.mysql.jdbc.RowDataDynamic@10c0ef2 is still active. Only one streaming result set may be open and in use per-connection. Ensure that you have called .close() on any active result sets before attempting more queries. -
Forms: how to use COUNT_RECORD to get the number of record retrieved?
After GO_BLOCK(BlockName)EXECUTE_QUERY, there must a way to obtain the number of records retrieved.
I like to use this number to display to number of records on the form.
Clearly, a not so good way is:
SELECT COUNT(*) INTO :NUM_RECORD FROM Table_Name;
It queries table one more time.
Could any one give a clue?
Thank you.Dear Kiran,
Fom tables EINE (inforec no, plant) and EINA (inforec no, material, vendor), you can get the desired information.
Regards,
Prasanth -
FORMS 9i issue: Is there a [b]SYSTEM build-in to get the number of records?
In master-detail data blocks, a query generally return multiple records from the detail table. I'd like to know how to get the number of the records:
1. I use NEXT_RECORD to navigate these records
2. use SYSTEM.CURSOR_RECORD to know the current record
3. use SYSTEM.LAST_RECORD to know when the last record is reached.
What is missing is the total number of the records.
Thank you in advance for helpingMy tip would also be the summary item
-
FM to get the number of days in Year,month and days by giving number of day
Hi ALL,
This is quit differnt.
I need to give input the 'start date' and the 'number of days' and get the total days from the start date in year,month and day format.
for example.
start date :01.01.2009
number of days as 32
then i should get
years:0
months :1
days :1
Pleas help me out.hi Anusha,
first u pass the date and the days to the following fm you will get the result date....
data:date type sy-datum,
r_date(10) type c.
date = sy-datum.
CALL FUNCTION 'CALCULATE_DATE'
EXPORTING
DAYS = '32'
MONTHS = '0'
START_DATE = date
IMPORTING
RESULT_DATE = r_date
write:/ r_date.
then you need to pass the result date and the date to the following fm to get the required output...
CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'
EXPORTING
date1 = r_date
date2 = date
IMPORTING
years = v_years
months = v_months
days = v_days
EXCEPTIONS
invalid_dates_specified = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
here u will get the difference in days, months and year...
i hope u wil get help from this...
regards
Ashu Singh -
To get the number of record from cmp
how can i get the specific number of record (25 records) from cmp using weblogic8?
anybody know pls tell.http://java.sun.com/j2se/1.4.1/docs/api/java/io/File.html
-
How to restrict the number of Records into the Table?
Is there any way that I can restrict the number of records can be entered into the table?
For example I have created a table TAB1 with size category 0( zero).
User dont want to enter more than 100 values, How to restrict the number entries? Whether Basis can do it?
Regards,
PrathapHi Prathap,
You can write a code in table maintenance events to restrict the number of Records added into the Table to constant.
Solution:
Se11 -> enter table name (TAB1) -> F6 -> Utlities -> Table maint. generator -> Envirnment -> modification -> events -> write here the form routine name.
Double click on routine name. You will get into include section of the code. Write here code like:
IF current_rec_num > 100.
messgae error 'Entry restriceted to 100'
ENDIF.
Somewhat this way you can achieve your target.
Regards,
Sachin -
How to get the number of my songs, videos listed?
How can I get the numbers of my songs, and videos, and podcasts listed in the "About" section (Settings> General> About>)
I get the number of applications listed for apps and photos, but despite having videos, podcasts, and songs on my iPad they are not indicated as 0!
I have iPad1 with 32GB, but get only 29GB as capacity listed in the "About" section. This basically means the iPad OS is using 3GB of space, wow is this correct!I don't know of any settings.
You can try a reset: Press and hold the Home and Power buttons for 10 seconds until the Apple appears. Then allow the ipad to restart and then recheck the count of files.
Not sure why the ipad takes up differing amounts of memory. See if it changes with the reset. I don't think it will, but I don't know for sure. -
How to get the number of files currently open?
hi,
does any one know how to get the number of files currently open in windows OS?
e.g. lets say .txt files...
any comment will be really appreciated.
thanksAssuming that you don't want to actually do this from within Java code (which would obviously require native code), here's a utility that will give you a list of which file handles are opened by which processes (on Windows):
http://www.sysinternals.com/ntw2k/freeware/handle.shtml
- K -
How To get the number of request's for a single Composite Application
Hi can any body tell how to get the number requst's for a single composite application.
Thanks
ManiHi,
There are lots of STATE is available for composite instances, like mentioned in the below query. I hope you will get answer from the below query.
SELECT (CASE WHEN STATE=1 THEN 'OPEN AND RUNNING'
WHEN STATE=2 THEN 'OPEN AND SUSPENDED'
WHEN STATE=3 THEN 'OPEN AND FAULTED'
WHEN STATE=4 THEN 'CLOSED AND PENDING'
WHEN STATE=5 THEN 'CLOSED AND COMPLETED'
WHEN STATE=6 THEN 'CLOSED AND FAULTED'
WHEN STATE=7 THEN 'CLOSED AND CANCELLED'
WHEN STATE=8 THEN 'CLOSED AND ABORTED'
WHEN STATE=9 THEN 'CLOSED AND STALE'
WHEN STATE=10 THEN 'NON-RECOVERABLE'
ELSE STATE || ''
END) AS STATE, component_name, COUNT(*) AS NUM_OF_CUBE_INST FROM CUBE_INSTANCE where composite_name='PASS THE COMPOSITE NAME HERE..........'
group by (CASE WHEN STATE=1 THEN 'OPEN AND RUNNING'
WHEN STATE=2 THEN 'OPEN AND SUSPENDED'
WHEN STATE=3 THEN 'OPEN AND FAULTED'
WHEN STATE=4 THEN 'CLOSED AND PENDING'
WHEN STATE=5 THEN 'CLOSED AND COMPLETED'
WHEN STATE=6 THEN 'CLOSED AND FAULTED'
WHEN STATE=7 THEN 'CLOSED AND CANCELLED'
WHEN STATE=8 THEN 'CLOSED AND ABORTED'
WHEN STATE=9 THEN 'CLOSED AND STALE'
WHEN STATE=10 THEN 'NON-RECOVERABLE'
ELSE STATE || ''
END), component_name;
Thanks,
Vijay -
Hi all,
Can any one tell how to get the number of files(.EPS) count inside a folder when the folder path is specified in VC++ 6.0?
Thanks in Advance.
Regards
myriazI'm a little confused by the question, but it sounds like you're asking how to count the number of files with a particular extension in a given directory? That's not really an AI SDK question, but it's a fairly easy one to find if you google it. If you're trying to use Illustrator to do it, AI doesn't have a general purpose file API. It has a few functions to do some things that Illustrator needs, but I don't think enumerating directories is one of them.
-
To get the count of records and able to access the column value in a single
Hi
Is there any way to get the number of records in the query and access the column values
e.g
select count(*)
from
(SELECT department, COUNT(*) as "Number of employees"
FROM employees
WHERE salary > 25000
GROUP BY department ) a
This wil only get the Count, if i want to access each row from the inline view how can i do that.Your question is not clear.
Are you looking for total record count as well as count by department ?
Something like this?
SQL>
SQL> with temp as
2 (
3 select 1 dept ,10000 sal from dual union
4 select 1 dept ,25100 sal from dual union
5 select 1 dept ,30000 sal from dual union
6 select 1 dept ,40000 sal from dual union
7 select 2 dept ,10000 sal from dual union
8 select 2 dept ,25100 sal from dual union
9 select 2 dept ,30000 sal from dual union
10 select 2 dept ,40000 sal from dual )
11 select count(*) over( partition by 1 ) total_count,dept,
12 count(*) over(partition by dept) dept_cnt from temp
13 where sal>25000;
TOTAL_COUNT DEPT DEPT_CNT
6 1 3
6 1 3
6 1 3
6 2 3
6 2 3
6 2 3
6 rows selected
SQL> -
BAPI to find the number of records existing in HR module
Hi ,
I wanted to know if there exist BAPI that would return me the number of SAP HR module users in a system.
I cam across the BAPI's for info types like personu2019s Personal Data (Infotype 0002)
BAPI_PERSDATA_CHANGE u2013 Change personal data
BAPI_PERSDATA_CREATE u2013 Create personal data
BAPI_PERSDATA_CREATESUCCESSOR u2013 Create subsequent personal data record
BAPI_PERSDATA_DELETE u2013 Delete personal data
BAPI_PERSDATA_DELIMIT u2013 Delimit personal data validity period
BAPI_PERSDATA_GETDETAIL u2013 Read personal data
BAPI_PERSDATA_GETDETAILEDLIST u2013 read instances with data
BAPI_PERSDATA_GETLIST u2013 Read instances
But i wanted to know if there exist a master table which would return me the number of records irresepctive of the infotypes.
Best Regards
ManojHi,
if you want to know the number of employees, then u should use the infotype PA00001 and PA0000 with appropriate criteria. Infotype PA0002 should not be used to find the number of employees in the HR.
As you requested there are no specific BAPI to find the records. Hope this helps you.
Or u can use PAR2 transaction to find details.
Thanks,
Saibaba Kondani
Edited by: Kondani Saibaba on Aug 19, 2009 7:33 AM -
How to find number of records in a cube and ODS....
Hi,
How do we find total number of records in a cube and ODS?
Is there any Tcode for this ?
From the content it is difficult to get the number of records, if it is more in number.
Thanks,
JeetuHello ,
Please check the following thread,
Number of records in a infocube
hope it helps,
assign points if helpful. -
How to get the number of routes in MLS L3SW table with SNMP
Hello experts,
Is there any way to get the number of routes in the MLS-hardware Layer 3-switching table with SNMP, like with CLI command "show mls cef summary"?
If possible, please let me know the OID and which MIB do I use.
[e.g.]
#show mls cef summary
Total routes: 400000
<omit>
====
Device : C6509E
IOS : s72033-advipservicesk9_wan-mz.122-33.SXH3a.bin
====
Thank you,function buttonClick()
var table = profileTable;
var lnRow = table.rows.length;
var insertedRow = table.insertRow(parseFloat(lnRow));
var cell1 = insertedRow.insertCell();
cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt"+></td></tr>";
document.profileform.submit;
on submit it goes to the second page, but the value i got using >>>System.out.println("row number from text >>>box"+request.getParameter("rowNum")); is null. What is wrong with >>>my coding. Can anyone solve this.HI carry
Check the value of bold data
function buttonClick()
var table = profileTable;
var lnRow = table.rows.length;
var insertedRow = table.insertRow(parseFloat(lnRow));var cnt=inRow
var cell1 = insertedRow.insertCell();
cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt+"></td></tr>";
document.profileform.submit;
}try with it
Maybe you are looking for
-
Page does not navigate: form re-displays
In my project there is a page which consists of 5 radio buttons and a "Submit" button at the last of the page. User selects a radio and on press Submit it navigates to a different page. Instead when i select a radio button and press Submit "Validatio
-
Application Reports in APEX 4.0
Hi, I've upgraded to APEX 4.0 and really enjoying the new features. The one feature that I used to use in 3.2 is the "Application Reports" under the Tasks. It is referred to in the help but for the life of me I cannot find it, has anyone else encount
-
Request creation error for mitigation control workflow
Dear Expert, I had activiate the workflow from RAR to CUP on Mitigated User assignment, I had completed following customizing: 1)RAR->configaration->Workflow 2)CUP->configaration->initiator, stage, path. but when I created mitigated user ass
-
Servlet context in application.xml does not appear to work
Hi all, I have created a very simple servlet and an index.html file with a link to it, then packaged it into a WAR file with the appropriate web.xml and ias-web.xml files. I then created an application.xml file referencing only this servlet and addin
-
We are a SQL 2008 R2 Ent shop and recently I am troubling a performance issue which one SQL server is performing much faster than another SQL server for the exact same query. Each SQL server produces quite a different execution plan than the other.