Number of records in cube

Hi Experts,
I have requirement to inform the business the number of row count avaiable in a cube for a particular field.
For ex, if the cube is holding 100,000 record,
I want to know how many records are there for Sold-To-Party: S1,S2,S3,S4.
Requirement is
Sold To/ Row Count
S1        10000
S2        20000
S3        30000
S4        50000
Kindly help me in finding a solution for this
Regards
Suresh Kumar

Hi Suresh,
There are several solutions for this reconcilation which can be used according to feasibility:
1. You can take all the records (having only one column - sold to party) in an excel sheet and you can count there using excel formulae.
2. You can create an infoset query on the fact table and take the count of records as per sold to party.
3. You can add one field for counter in cube and make it populate for the count of records as per sold to party. In this case yoy'll need to write start and record level routine.
Hope it helps.
Regards,
Rakesh Jangir

Similar Messages

  • Number of records in Cube and in report

    Hi,
    Is it possible to have less number of records visible in InfoCube and in reporting report has to show all the records?i.e., if cube contains 100000 records while using InfoCube--->manage and checking the data it has to show only 90000 records,while reporting it has to show all the records.If it is possible how?

    If you want all the records to be displayed on the report as in the cube create a report having all chars & keyfigures with no filters.
    Sry, I dont get the 90000 part..."checking the data it has to show only 90000 records" -- checking where & how ?
    <b>**Added</b> will be the num of records in the cube.

  • Number of records in cube from Query Designer

    I don't have access to the cube in BW(listschema). I only have access to pull reports from cube from Query Designer. How can I tell the total number of records in a cube?
    Thanks.

    Hi
    you can use the tech content in the query designer to display the count for no of records or you can do the same via creating a new CKF
    or see the below link to display the count
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a

  • How do know the number of records ina cube for particular restriction

    Hello all,
    When you do right click on cube and display data then you have option to choose the fields. Lets say I restrict show me all the records for fiscal year "2006" then wgere can I see actually how many records there are of 2006.
    Thanks

    Hi Raj,
    By using LISTCUBE you can put a check mark for Output Number of Hits:
    If you do not select all fields in the field selection for output and have activated the database aggregation, several records may be collected together into a single record. If you select the option 'No. of Hitsoutput', an additional key figure is generated in the output table that specifies how many records the current record is made up of, that is, how many database records have been made into the output record.
    You can also use this option to determine how many records there are in a particular selection condition in the InfoCube. Specify a selection condition, but do not select any characteristics or key figures. In the return list, you only get the column return with the number of hits and the number of entries that are relevant for this selection condition.
    Hope this helps...

  • How to find the number of records per months  in cube

    Hi,
      how to find the number of records per months for my all cubes?
      Can i use the ListCube transaction to find totl number f records per cube monthwise ?
    Jimmy

    Hi,
    Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
    1.Copy the code into your Z<programname> from Se38.
    2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
    3.Save program.
    4.Schedule the program in background as required
    5.Create cube with infoobjects to hold no of records and Infoprovider name
    6.Load this cube based on event after the program job is done.
    Hence you can report on this cube to see no of records in  CUBE or ODS in your box.
    Please find the code below.
    Cheers,
    Kavitha Kamesh.
    types: begin of itabs ,
          tabname type dd02l-tabname,
          end of itabs.
    data: itab type itabs occurs 0 with header line.
    data: counter type i.
    data: begin of itab1 occurs 0,
    tabname type dd02l-tabname,
    counter type i,
    end of itab1.
    DATA: ITABTABNAME TYPE STRING.
    DATA: LENGTH TYPE I.
    DATA: OBJECT(30).
    data: str(6) type c.
    select  tabname from dd02l into table itab where ( tabname LIKE  '/BIC/F%' or tabname LIKE  '/BIC/A%00' )
    and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
    loop at itab.
      select count(*) from (itab-tabname) into counter.
      str = itab-tabname.
      if str = '/BIC/F'.
    LENGTH  = STRLEN( ITAB-TABNAME ).
      SHIFT  itab-tabname BY 6 PLACES LEFT.
    ELSEIf  str = '/BIC/A'.
      SHIFT  itab-tabname BY 6 PLACES LEFT.
      LENGTH  = STRLEN( ITAB-TABNAME ).
    LENGTH = LENGTH - 2.
    endif.
      itab1-tabname = itab-tabname(LENGTH).
      append itab1.
      itab1-counter = counter.
      clear itab-tabname.
      clear:  COUNTER.
    endloop.
    *********** itab1
    loop at itab1.
    write:/ itab1-tabname, itab1-counter.
    endloop.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        FILENAME                        = 'c:records.xls'
        FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ','
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab1
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • 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,
    Jeetu

    Hello ,
              Please check the following thread,
    Number of records in a infocube
    hope it helps,
    assign points if helpful.

  • Number of new delta records into cube

    Hi,
    The deltas are running for the cube. Client wants to know how many number of records are loaded in the cube for each load.
    I mean when the delta load (process chain) completes it should send an email with number records loaded in to cube.
    Please any one help me out on this issue. Thanks for your help in advance.
    Thanks,
    Raj.

    I have tried for 0MAT_PLANT as yours.You can see the record count as 67 records. I have tested this on BI 7.0 SP 16
    .I got mine as follows:
    Test mail
                                                                                    Process ZI_8SMATGMP2_full_Man Of Type Execute InfoPackage Has Status Successfully completed (Process Chain Temp)                                                                                Log for This Process:                                                                                Data successfully updated                                                                                Diagnosis                                                                                The request has been updated successfully.                                                                                InfoSource : ZNK_OP_MAT_PLANT                                                                                Data type : Transaction Data                                                                                Source system: BW1110                                                                                Log of Respective Background Job:                                                                                Job started                                                                                Step 001 started (program RSPROCESS, variant &0000000048822, user ID BTC_GBL_BW)                                                                                Data saved successfully                                                                                Start InfoPackage ZPAK_43YOZD7INDYOXD6WA8VV2Z257                                                                                InfoPackage ZPAK_43YOZD7INDYOXD6WA8VV2Z257 created request REQU_49G2VHO86U1Q27NQC52VN7F8G                                                                                InfoPackage ZPAK_43YOZD7INDYOXD6WA8VV2Z257 Started In Process Chain ZTEMP; Generated Request: REQU_49G2VHO86U1Q27NQC52VN7F8G                                                                                Job finished                                                                                Information for Process                                                                                Master data table: 0MAT_PLANT                                                                                Data Type (D- Trans.Data, H - Hier., M - Mast. Data, T-Text): D                                                                                PSA Table: 8SMATGMP2_BA                                                                               
    Number of Data Records Received: 67                                                                                Number of selected data records: 67                                                                                Request Number: REQU_49G2VHO86U1Q27NQC52VN7F8G
    Edited by: Manga Paidikondala on Apr 11, 2008 12:35 PM

  • Number of records in Report and Cube don't match

    Hello,
    I have a small query. In the cube, thru the 'Manage' context menu option I find in the ' Request' tabstrip the number of records loaded =  23767.
    In the report on this cube I see the number of records = 23369.
    I have not put any restriction or condition in the report. It is a si,ple report that is created to see all the records loaded.
    May you please help me in understanding the reason for the same.
    Thanks for you help.
    Regards,
    Sumita

    To compare the reocrds in Cube against BW Query
    try to display records for small range (monthly) / by Cost Center / any similar key field and then compare the Cube totals with Report totals.
    Hope this helps
    Praveen

  • Number of records in BPC Cube

    Dear Friends,
    I am working in EPM10 NW/BW 7.31.
    I just want to know  how can I find number of records in BPC cube from the back end (i.e using T-Code RSA1)
    As I am not a BW expert, any simple suggestion will be appreciated.
    Thanks,
    Rahul

    Hi Rahul,
    The way I do it is right click on the cube, then display data.
    goto the bottom section of the menu where you see the following:
    tick output number of hits
    also change the max no, of hits to a high number
    then run
    in the output screen you sum up the first column, it will give you the total number of records in the cube
    Andy

  • Max number of records in a cube & architectural issues

    Hi,
    Sorry if my question was already done but i can't find the same question with the research button (may be i have not the good words for search, I'm not english).
    I am on a BIG BIG IP project. The forecast volume of planned records is about 1.000.000.000 records a year. So we choose to split records toward many cubes. 
    1) Is there a maximum number of record supported by a cube to be planned? We planned to put 100.000.000 records maximum on a cube to be planned. Is it too much?
    2) If I make 100 cubes (one for each organizational entity) with 10.000.000 records per cube and if I "plug" a planning layout on these 100 cubes with a multiprovider, will IP:
    spread time to search the good cube to write in (due to the selected entity) in the 100 cubes (too much time !), or,
    search directly in the good cube (thanks to user exit that match cube with selected entity), so the response time will be about the same as the one for 1 layout plugged on 1 cube of 10.000.000 records?
    Thanks a lot, and sorry for my english language level
    Georges

    Hi Georges,
    Having too many records in the cube should not be very detrimental for performance of planning application as long as you can ensure that the data volume that you fetch at one go is restricted to reasonable limits, using restrictions in filters (the more restrictive the better). Take care of this while modelling both your planning functions/sequences and input-ready queries.
    I understand that you'll need to create a multiprovider for reporting purposes, but if you dont need the data from more than one cube for planning purpose, it will be better to create the aggregation level (and rest of the planning model) on top of individual cube. In case, you want to use the same planning function/input queries for multiple cubes (which will probably be the case), you can create the aggregation levels on the multiprovider but make sure you restrict the characteristic 'infoprovider' properly in the filter restrictions to avoid the function reading unnecessary data from many cubes.
    Hope this helps.

  • Cube - number of records

    Hi everybody,
    how can I check the number of records in a Cube to some selection e.g. Fiscal Year 2010.
    Regards
    Erwin

    Hi
    You can also go for the below option..
    1. Go to cube -> Display Data
        Select the Info Objects on which you want to set filter.
        On the next screen you will get an option to pas the filter values for the selcted info objects.
        in the below part of the screen, mark the option out put number of hits.
        Exeucte it after removing the restrction of 200 hits.
        In the output there will be one column which will have 1 value for each row. Sum up it.
        You will get the number of records in a cube for a particular selection.
    2. One other way is write a small ABAP program.
        Read data from the fact table of the cube into an internal table by firing a select query for the particular selction .In your case fiscal year .
       describe the internal table to an integer varaible and display that variable.
       It will display the total number of records for that selection in the cube.
       You can use this program for other cube also by passing the name of the cube as a parameter.
    - Jaimin

  • Less number of Records while loading data from one cube to another

    Hi,
    We are in the process of doing major changes in the existing InfoCube.
    Before making any changes, we had planned to make a copy of the cube with data.
    For this we did the following steps :
    1. Created the new cube from the original cube.
    2. Generated Datasource on the Orignal cube.
    3. Made a update rule on the new cube by selecting the Orinal cube.
    4. Made a InfoPack on Infosouce which got created with 8<original cube>.
    5. Uploaded the data into the new cube.
    We have uploaded the data successfully from the original cube to the new cube.
    However, New cube shows less number of records as compared to the original cube.
    But the query is showing the same figures from both the cubes.
    Can anyone please advise what could be the reason for this less number of records and how the figures are showing same when we run the query from both the cubes.
    Please help.
    Thanks
    Ramesh Ganji

    Hi Ramesh,
    this is possible coz when u have loaded yr original cube, it may be loaded on daily/weekly basis. so in the cube there are many requests. Also if in the same request, if there are two records with same dimension keys ther are automatically added aggregating them.
    if req 1 has following records
    cust mat amt
    1      1     100
    1      1       50
    it will add
    1      1     150
    and if the records are seperated by different req, then both will b added individually.
    therefore when u r loading yr new cube from original cube, all records that has same dimension key gets aggregated coz they are loaded into single request. so it showing less no of records as added.
    hope this helps.
    Regards,
    Purvang
    Assigning Point is to say Thanks in SDN *

  • Hw to find total number of records

    Hi All,
    Can anyone help from these
    1. how to find total number of reports for a particular cube/ods... need step - step solution
    2. how to find total number of records for a particular Cube and ODS and Aggr's to till date.
    3.what is sandbox,mirror sys,instance of a sys..?
    4.what r TWS(Tivoli Workload Scheduler) jobs? how these r different to standard schedulers?
    Thanks in ADv
    Linda

    Hello Linda,
    As you have lots of answers on first 2 so i'll start from 3rd onward.
    3. Sandbox is mostly practice system where you can do all kind of R&D, mirror sys can be mirror image of any system depends on the organization and instance of system is again mirror image of one system.
    4. TWS is third party tool for scheduling which doesn't come along with SAP like standard scheduler as TWS has been prepared specially for this purpose so it has some more features than standard.
    Hope it helps.
    San.

  • How to find total no of record in cube

    Hi Experts,
    How to find total no of records in a cube.
    Thanks in Advance.

    Hi
    If you want total number of records in a CUBE then you have to check in both F Table and E table.
    Go to LISTSCHEMA tcode in your system, give your CUBE name and execute.
    You will fine two table E and F table
    goto SE16 -->give the table name and click on number of entries.You will get number of records.
    Check the below thread
    No of records in /size of Info cube
    Regards,
    Venkatesh

  • How to calculate the number of records in Multiprovider

    Hi Experts
    I have created a report based on the multiprovider (Consist of Cube and ODS)
    I need count the number of records inside the multiprovider, how can i do it in the reporting level
    Regards
    Santosh

    Hi,
    You can use calculated key figure with replacement path variable.
    Follow This:
    1) From the context menu of the Key Figure directory, choose New Calculated Key Figure.
    2) From the context menu for the Formula Variable, choose New Variable.
    3) Choose the Processing type as Replacement Path.
    4) In the next screen, select the Characteristic Info Object based on which the number of documents is to be displayed in the report (For example: Document Number / Order Number).
    5) Choose Next.
    In the Replace Variable with drop down box, choose Attribute Value.
    In the Attribute drop down, select Characteristic Reference (Constant 1).
    6)Choose Next.
    On the Save Variable page, an overview of the settings made for the variable will be displayed.
    Confirm the entries and Choose Finish.
    7) If the Formula variable is directly assigned to the Calculated Key Figure, a warning Calculated Key Figure is not defined correctly will be displayed while executing the Query.
    8) Properties of Calculated Key Figure dialog box, assign a Technical name for the CKF.
    9) set the Time of Calculation to After Aggregation.
    Hope this will help you.
    Cheers,
    DK
    Edited by: Debasish Khaitan on May 14, 2009 1:03 PM

Maybe you are looking for

  • Cover Flow on Itunes 9.2/9.2.1

    Hi to all, after upgrading Itunes at 9.2 (and then 9.2.1) i've noticed some strange artifacts on Cover Flow, but just on songs that haven't illustrations. Surfing the web i've seen that is a common problem, this is a screenshot. http://i30.tinypic.co

  • Best way to update and expand RAM on old Power Mac G5?

    I own a Power Mac G5 and am currently transferring all my files and music over. I have already run out of start up disk space after only transferring 1000 tracks and a few files. I'm sure this can't be right, but even so I would like to expand my mem

  • Epson had sheet 1 and 2 trays, and it not in mac print setting to print different level

    I had issue new software version 10.9.4. and my printer epson version 2.0. it cannot be upgrade epson version when my epson CD and not support mac software is 10.7.0 less. my printer is epson workforce 845 and it had 2 storage tray. when i use comman

  • Distortion in external speakers with new Macbook Pro

    Just bought one of the new Pros. Plugged in my JBL Duo speakers which work fine with my four-year-old Pro. If I turn up the volume beyond "four" on the Pro's volume control, I get bad distortion -- like "static" -- through the speakers. (The internal

  • How can I delete a shopping cart.

    Dear All, I'm trying to delete a shopping cart but till now nothing works. I have been using bap CRM_status_update, but it does not place a deletion indicator on the shopping cart. Can somebody tell me which program/bapi I have to use to get the job