How to find out Number of entries in a Huge Table?

Hi,
I would like to know Number of entries in table DFKKOP. when i try to get it through se16, it takes more than 10 minutes in dialogue process so a time out occurs. is there any way to find out number of entries in the table Apart from creating a program for that?
Please guide me to the solution.
Thanks,
Lijo Joseph
Message was edited by: Lijo Joseph Vazhappilly

REPORT  YCHATEST                                .
Data : begin of itab occurs 0.
        include structure tab512.
data:end of itab.
data : v_count like sy-index,
       tabname like X030L-TABNAME value 'DFKKOP'.
CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
  EXPORTING
    table_name              = tabname
IMPORTING
   NUMBER_OF_ENTRIES       = v_count
tables
   entries                 = itab.
write : v_count.
Message was edited by: Sekhar

Similar Messages

  • How to find the number of columns in an internal table DYNAMICALLY ?

    Hi,
    How to find the number of columns in an internal table DYNAMICALLY ?
    Thanks and Regards,
    saleem.

    Hi,
    you can find the number of columns and their order using
    the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'ITAB'
       I_INCLNAME                   = sy-repid
      changing
        ct_fieldcat                  = IT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif
    now describe your fieldcat . and find no of columns.
    and their order also..
    regards
    vijay

  • How to find out the query is accessing the DB tables or not

    Hi Gurus ,
    How to find out the query is accessing the DB tables or not.
    Where exactly we will find this information in SAP BW.
    I know that this information we can find in ST03. But where exactly we will find the query information along with DB information?

    Lakshmi
    Activate BI Technical Content for Query analysis and run query against that.
    Hope this helps
    Thanks
    sat

  • How to find the number of entries in a master data table

    Hi Experts,
    I am trying to find the entries in 0CUSTOMER master data.
    BW>LISTCUBE>Data target: 0CUSTOMER and selected the fields that I need.
    I would like to know how to find the "number of entrees". I tried to run the SUM for a count field, but it is taking forever as there are huge number of records .

    Hi Dev,
    Go to the change/display mode of the info object (0CUSTOMER) in your case. Go to the Master data/Text tab. Here you will find the master data tables according to your settings (P orQ or X or Y). Double click on the table name and it will take you to the SE11 display. From there, you can check the number of records as you do in any transparent table.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • How to find out  number of includes for a given program dynamically

    Hi all
    I have a requirement in which, I have to find out  number of includes and their names for a given  user defined program dynamically
    if u know the answer pls let me know
    Thanks in advance
    Devi

    Hi rama,
    1. use this FM - RS_GET_ALL_INCLUDES_FOR_PRTAB
    regards,
    amit m .

  • How to Find PO Number after Importing PO through Interface Table

    Hello All,
    I am Importing PO through an Interface. now I wanted to find PO Number(Segment1) which has been created.
    Please tell how to find PO Number....?
    Thanks in Advance
    Regards
    Ravi Raj.

    Got Answer

  • How to find out the infoProvider for a given dimension table?

    Experts:
    In RSA1, I want to find out the infoProvider for a given dimension table.
    But I am not sure how to display the tables linked to a given infoProvider.
    Could you provide a way to display all tables linked to a given infoProvider?
    Thanks a lot!

    See, The dimension table starts with Dcubename1 and incremental Dcubename2 .... so on
    Ex.ZSD_C01 is your cube name
    Dim tables starts for this is /BIC/DZSD_C011 /BIC/DZSD_C012 ...
    Goto - LISTSCHEMA  - derive cube name from given dim table and enter cube name  - execute - will show you all the tables

  • How to find out the primary key of oracle apps tables

    Hii,,
    My Question is How to find the primary key in the apps table...Is there any Query or other way to find out???
    for eg.
    I want to find out the primary key of the AP_INVOICES_ALL table...just tell me how can i get the primary key of this table.
    I am currently using toad for the query..
    Please guide me...

    you can define the primary key when you create table
    or add the primary key after the table creation by 'ALTER TABLE ... ADD constraint pk_nme primary key (col1, col2)';
    you could use below sql to check the detail of primary key:
    1) check out the table definition directly:
    select dbms_metadata.get_ddl('TABLE','EMP') FROM DUAL;
    2) check out the columns of primary key:
    select * from user_constraints where constraint_type='P' AND table_NAME='EMP';
    select * from user_cons_columns where CONSTRAINT_NAME='PK_EMP';And BTW, it is madam, not sir. :)
    Edited by: PhoenixBai on Dec 17, 2010 1:07 PM

  • How to find out number of concurrent users  connectd to a site?

    I would like to find out the number of concurrent users on my site. What is the best way to do it?
    This is how I implement it currently:
    I have a HashSet object in the session. whenever a user visits the page, i added the user's sessionID to the HashSet. But when a user leaves my page, it won't inform my jsp pages. The only thing I can do now is whenever I add a new sessionID, I loop through the HashSet and check to see which sessionID is invalid or inactive, then remove the it. Does a user session becomes invalid immediately when the user leaves the page, or it has to wait till it times out?
    Are there any other more efficient ways of doing it?

    Look at HttpSessionBindingListener. That will let you do what you want to, correctly.
    User session will time not. If it were to become invalid immediately, it won't be called a "session" would it?

  • How to find out number of  years worked using sql

    Hello,
    How to find from a table which has hiredate and should return number of years worked with range like 0-5, 5-10,10-15 etc.
    Any help is highly appreciated.
    Thanks

    I think this query can solve your issue
    SELECT CASE yeared,COUNT(CASE) FROM
    SELECT
    CASE
    WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=5 THEN '0-5'
    WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 5 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=10 THEN '5-10'
    WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 10 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=15 THEN '10-15'
    WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 15 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=20 THEN '15-20'
    WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 20 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=25 THEN '20-25'
    WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 25 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=30 THEN '25-30'
    ELSE '>=30'
    END CASE
    FROM scott.emp )
    GROUP BY CASE
    Regards.

  • How to find out number of bookmarks created?

    Is there any way to find out how many bookmarks have been created by users? I can see a list of all bookmarks under RSA1, Reporting Agent, Bookmarks, but I can't see a way to export that list or show a total.

    Thanks, that table has a list of all bookmarks.
    It seems like it only stores the last time a bookmark was accessed though...for example, if someone opens a bookmark 10 times, there would still just be one record for that bookmark.

  • How to find out number of background work processe available in the system?

    Hi All,
    I have a FM that triggers a background job using JOB_OPEN, ABAP_SUBMIT and JOB_CLOSE. But the problem is if there are no background work processes available at that moment, it does not return error. Not sure whether the job is even scheduled!
    Is there a way to find out if there are any background work processes available in the system? I know a FM SPBT_INITIALIZE which gives info about dialog work processes. Is there any other FM similar to this which gives info about background wp??
    Regards,
    Shailesh

    your Job will remain in a queue by message handler. once workprocess is free, your job gets scheduled
    by the way, you can use the functionality used in FM TH_DISPLAY_WORKPROCESS_LIST to read the workprocesses
    the command which gets you the workprocess is:
    CALL 'ThWpInfo' ID 'OPCODE' FIELD OPCODE_WP_LIST
                      ID 'TAB' FIELD LIST_STATE_WPLST-TABL
                      ID 'CPU' FIELD LIST_STATE_WPLST-CPU.
    check how its written in include LSDEBF01, form SET_LIST_WPLST
    Edited by: Soumyaprakash Mishra on Dec 12, 2011 12:17 PM

  • How to find out the Area Menu for a Report/ Table/Function Module

    Hi,
    Is there any procedure to find out the <b>"AREA MEANU"</b> for a Report/Table/Function Module...
    Or is there any Transaction code / Report is available to find out all the report for a particular "AREA MENU".
    Thank you for your quick response...
    Regards,
    Thiru
    <b></b>

    Hi,
    Check these below threads:
    user log in & log out time SAO
    How to find user log-out time ?
    Regards,
    Nitin

  • How to find out the domains related to only Transaction Tables....?

    Hi All,
    I have to find out all the Domains which are related to Only Transaction Tables, that Domains should not be used or related to Master Tables, pls let me know is there any way to find out?
    Akshitha.

    Step 1:
    Select TABNAME from DD09L where TABART = 'APPL1'.
    Select DOMNAME from DD03L where TABNAME = TABNAME (got from the above statement)
    By this way you will get all the domains used in Transaction table
    Step 2:
    Select TABNAME from DD09L where TABART = 'APPL0'.
    Select DOMNAME from DD03L where TABNAME = TABNAME (got from the above statement)
    By this way you will get all the domains used in Master table
    Step 3:
    Display all the domains got from step 1 and not in step 2.
    Hopefully this will fulfill your requirement.
    Please reward if useful..
    -Tushar

  • How to find out Goods recipient in the  FM or Table in SC or PO.

    Hi Guys,
    I have to findout Goods recipient in the SC  or PO get data FM. I could see in the web transaction in SC basic data tab but couldn't see in the SC get detail FM or PO get detail FM. Where do I find out this ?..What is table name to link PO and Goods Recipeint name correspong to PO item data. I need to know item level goods recipient.
    Pls help me out ...
    Regards,
    Kumar S

    Hi
    <u>Using Function module - BBP_PD_SC_GETDETAIL, you can find the relevant data (Goods Recipient)
    Using Function module - BBP_PD_PO_GETDETAIL, you can find the relevant data (Goods Recipient)</u>
    Also using <b>BBP_PD transaction</b> you will find the complete details... Here you will find the complete table names and fields (And incase you debug, you find the relevant SAP logic)..
    Hope this answer all your queries. Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • Very Strange error and can't find any answer anywhere in the net

    I created a login form (see below). If I use the regular HTML form and form fields for the username, password and submit button I don't get any problem viewing my form But if I use cfform and cfinput form fields I get this error. Here is my cfform co

  • Problem with youtube videos

    Hello, Mac book air 13, OSX10.9.2, flash player updated: I can't read youtube videos. They don't begin, the page is ok but the reading doesn't begin.  In the past it was working without problem, I don't understand what happened? I don't know what to

  • Unable to run flex files in Firefox and Safari

    I created a flex program that loads an XML document. In short what I did is as follows: var XML_URL:String = "data/GetData.aspx?documentId=123"; var XMLURL:URLRequest = new URLRequest (XML_URL); loader = new URLLoader(XMLURL); The document loads up p

  • Is this really the best I'm going to get?

    2 years with BT and had awful connection and speed issues, many numerous long calls to India doing first line tests, mostly being told that I would receive a call back and never do. Recently informed of an upgrade at the exchange but speeds dipped si

  • Automatically update 2 dimensional array based on list content

    Suppose I have a simple class named SimplePoint class SimplePoint public int x { get; set; } public int y { get; set; } Next I create an ObservableCollection of the class and bind it to a WPF DataGrid via XAML. Each SimplePoint has a distance to each