FM for Cube Rows

Hello Gurus!!!
I am needing via ABAP check the quantity of LOGICAL registers in cube... something like transaction LISTCUBE performs when we check "Output number of hits" and summarize.
I do not want physical registers in dimensions nor fact tables.
Is there any FM the helps on this task? Is there a solution?
Thanks in advance for all and regards

Hi,
Check if this thread helps. It discusses similar topic.
Re: BAPI_BATCH_CHANGE to update data on classification tab
Hope this helps.
ashish

Similar Messages

  • Bi 7.0 for cube and master data steps

    hi friends,
    can u give me step by step comparision between bi 7.0 and bi 3.0 for cube ods and master data, ple explaing me what are the steps difference for those in bi 7.0 .
    and reporting is same or any difference in bi 7.0 .
    other than sap.help.com material, if u have any other or any screen shots. ple send me.
    Thanking u
    suneel.

    what abt master data, in master data we are using only transfer rules, here also we are using transformation and dtp again.
    Yes we would be using transformations and DTP's on the masterdata too. but the system would prompt to make IO a infoprovider in order to use the new functionality. There is another work around for it, but we can discuss it later, orelse search the forum for that option, i have replied to couple of questions regarding that.
    what abt reporting any things other than calculated kf restricted kf, filters rows columns, free chaststics, variables, any chnages in screen.
    The basic functionality of all the above mentioned objects havent changes, and the query designer itself, there are hell a lot of changes in the appearance and it will take a while to get used to it and find your way with all the functionalities.
    i have doubt bps menas businees planning simulation what is this, bec i have idea we can use transactional cube and transactional ods for write accress for planninmg also
    BPS is something I have no clue abt... (you dont see me answering in Business planning forum)

  • FAST refresh not working for Cube & Dimensions in AWM

    Hi,
    My doubt is regarding refreshing cube/dimension using FAST refresh method in AWM     
    1     My dimension (MVIEW refresh enabled in AWM) is refreshed without an error when I pass the refresh method parameter as *'F'* in DBMS_CUBE.BUILD() script, although there is no MVIEW log present on the dim table.
         In ALL_MVIEWS.LAST_REFRESH_TYPE, a *'COMPLETE'* refresh is logged.
    2. My CUBE doesn't allow to select refresh_type=FAST when there is no MVIEW log built.
         The same CUBE (MVIEW refresh enabled, refresh_type=FAST in AWM) throws following error even when I create Mview logs for all fact and dimension tables in the DB.
    java.lang.NullPointerException
    at oracle.olap.awm.dataobject.DatabaseDO.commitOLAPI(Unknown Source)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.commitOLAPI(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.UModelDO.commitOLAPI(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.UModelDO.update(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.UCubeDO.update(Unknown Source)
    at oracle.olap.awm.dataobject.dialog.PropertyViewer.doApplyAction(Unknown Source)
    at oracle.olap.awm.dataobject.dialog.PropertyViewer$1ApplyThread.run(Unknown Source)     
    If I continue with this error, CUBE mview vanishes from the DB.
    Please help - How to do a FAST refresh for CUBE and Dimensions.
    Edited by: 861346 on May 26, 2011 12:12 AM
    Edited by: 861346 on May 26, 2011 12:13 AM
    Edited by: 861346 on May 26, 2011 12:14 AM

    If your object is to process the cube as quickly as possible, MV refresh of the cube is probably not required. As an alternative, you can do the following:
    - Map the cube to a view and use a filter control what data is presented to the cube during a refresh.
    - Avoid dimension maintenance (adding new members, dropping members, changing parent-child relationships).
    Let's say you update your cube daily with sales data coming from 10,000 stores. You could add a LAST_UPDATED column to the source fact table, timestamp rows whenever the fact table is updated and then filter on that column in a view to present only the new or changed records to the cube (or whatever filtering scheme you might like).
    Dimensions are always entirely processed (compiled) regardless of what data is presented to them, so there isn't any advantage to timestamping the records in the dimension table and filtering on them. What is important to understand is that any change to a hierarchy (adding members, deleting members, changing parentage) will trigger re-aggregation of the cube. If you can batch those changes periodically you can limit how much of the cube is processed during a refresh.
    Continuing with the example of the daily update of the sales cube, we can examine two scenarios. In both cases, the cube is partitioned by month and a fact view filters for only the new or updated fact records (let's say there are new records every day).
    Scenario 1
    New records are added to the sales fact table and new stores are added to the store dimension table each day. The store dimension will be updated with new stores, new records will be loaded from the fact table and all partitions will be processed (loaded and solved/aggregated).
    Scenario 2
    New records are added to the fact table, but new stores loaded into the store dimension only once a week (e.g., Saturday). The fact view filters for only new or changed records and stores that currently exist in the store dimension. For Sunday through Friday, new or changed records will be loaded from the fact table and only those partitions in the cube that have new or updated data will be solved / aggregated. (If there are no changes to hierarchies and no records are loaded into a partition, that partition is not solved / aggregated). On Saturday, new stores are added to the store dimension table and the store dimension and the cube are updated. Because the store dimension has changed, all partitions of the will be processed.
    With scenario 1, data for new stores are available each day but the entire cube might be solved each day (if there are new stores). In scenario two, new stores are not available until Saturday but the processing of the cube will be limited to only those partitions where there is new fact data.

  • Update rule for cube 0PY_C02

    Hi ,
    Please let me know the update rule for cube 0PY_C02 as I am not able to locate it in the Business content data flow or meta data repository.
    thanks

    Hi,
    Check the output in the transaction LISTCUBE it will give you better picture of the data coming in the multicube.
    Check whether the char in the rows of the report is coming from one of the cube only and the key figure which you are looking is coming from different cube.
    Also check for the selections on the report if the selection variable is on a char having identification from only of the cube.
    this can cause the filtering of data from one of the cube and you will get all the value as # for that particular field.
    Take DESG characterstic into the cube 0PY_C02 also.in the update rule(of cube) for this Infoobject take Master data lookup concept.
    Make the Identification mapping for the IO DESG of Multiprovider iwth the chacterstic DESG of both cubes .
    Then activate the Master data 0Emlyoee_ATTR.
    Reupload the data into 0PY_C02.
    Hareesh

  • Return Code - Query for Multiple Rows as XML

    Hi,
    I'm executing an MSSQL stored procedure through the "Query for Multiple Rows as XML" activity in LiveCycle ES. I do this through a call statement such as this:
    { call MyStoredProc(?) }
    This works great, the stored procedure always returns a record set (with or without records). I use this activity rather than "Call Stored Procedure" because I can transform the record set into XML right away within this activity. Unfortunately any exception arising from invoking this stored procedure cannot be handled within the workflow as this activity does not have an exception handler (lightning bolt). In an attempt to handle at least some exceptions we have decided to use try/catches within the stored procedures and return different error codes. Now the problem I am faced with is that there is no way to retrieve the returned code within any of the SQL activities. We don't want to have to write an execute script for each of these SQL calls. Is there any way to do this? Seems like I'm 95% there.
    Thanks
    Nic

    Thanks for the offer, unfortunately we would need something certified by Adobe.
    Nic

  • Check Box for each row in report -- all rows deleting when pressing DELETE

    Hello experts! I have set up a report with a check box for each row. When I click the DELETE button to delete the selected rows, every single one of the rows get deleted...even the ones that are not selected. I have my process point set to "On Submit - After computations and validations".
    This is my delete process (SHG is the table and SHG_ID is the primary key):
    FOR i in 1..HTMLDB_APPLICATION.G_F01.count
    LOOP
    DELETE FROM SHG
    WHERE SHG_ID = HTMLDB_APPLICATION.G_F01(i);
    END LOOP;
    Also, I've added to query in the region source this line:
    htmldb_item.checkbox(1, SHG_ID) del,
    Where does the "1" come into this? Not sure what I am doing wrong!
    Message was edited by:
    user477193
    Message was edited by:
    user477193

    The 1 (first argument to all the htmldb_item.* APIs) corresponds to the array number in htmldb_application.g_fNN. So 1 will populate array g_f01, 2 will populate g_f02 and so on.
    Your code seems fine, it should delete only the checked rows. Are you sure there is no other process on the page that might be deleting the rows? See if you can put up an example on htmldb.oracle.com

  • Prompting user for input for each row in the report

    Is it possible to have a user entered field for each row in a report ?
    ie. have a report with empolyee number, employee name, title, salary, and comment. Select of of these columns from the SQL query except for the comment, and then when the report is generated have the user be prompted for what the want the comment to be for every employee in the report?

    That is, have the user generating the report enter in a different comment for EACH employee. (ie Joe Smith's comment is "good worker and John Smith's comment is "come to work late on Tuesdays and Thursdays", Sally Jones' comment is "Expert in C++" etc.) as the reports is being built for each row returned from the query.

  • Results not updating for every row in BIpublisher

    Hi all I have a Bi publisher report that is updating the results for the first row and in the second row to update the results it is picking the values from the first column itself and using the same values for all the other rows.
    Here is my report format
    Month saves Total, for 30,60,90,120
    Jan
    feb
    Mar
    Total are the enrolls by each month and days shows after 30,60,90,120 how many are still active. Following eg should give an idea of exactly whats happening
    Eg:
    Total 30days 60days 90days 120days 150days 180days 210days
    ------------------------------------------------------------------------------------------------------------------------------------------------------------ Jan saves 330 287 274 270 263 262 259 257
    Feb saves 298 255 242 238 231 230 227 225
    Mar saves 291 248 235 231 224 223 220 218
    So what is happening is lets say for example there are a total of 330 enrolls in january and after 30days 287 are still active and after 60days 274 are still active after 90 270...... etc
    Am getting the January active values correctly.
    BUt going forward when I see the values for february The total enrolls for february is 298 and after 30 days which are active is not giving me the correct.
    It is substracting the same amount as jan. looking at the numbers it is substracting
    -43, -13,-4,-7,-1,-3,-2 for Jan which are the cancels after the consecutive days
    It is substracting the same amount for feb also but my actual cancels for feb are different it should be 45,12,8,9,2,2,
    It is doing the same for all the months.
    There should be a change in the code. Following is the XSL code am using in
    <?xdoxslt:set_variable($_XDOCTX, 'v_SavesCanceled', SAVES_CANCELED_COUNT)?>
    <?xdoxslt:set_variable($_XDOCTX, 'v_RtSaves', xdoxslt:get_variable($_XDOCTX, 'v_RtSaves') - xdoxslt:get_variable($_XDOCTX, 'v_SavesCanceled'))?>
    <?xdoxslt:get_variable($_XDOCTX, 'v_RtSaves')?>
    Actually the cancels should be updated for each row but its picking the same cancels for every month.
    Hope it is clear let me know if you need any further info
    Any help is appreciated.
    Thanks

    Thank you very much for your help. The rtf file sent worked and updating results as required.Thank you
    Thanks

  • How create  dynamic URL for every row  shown in the report?

    Hi,
    Iam new to this Application. I created one interactive report to find the number of bugs logged for every product and its sub component for past one year. The report will look like below structure in the application.
    Product Subcomponent Total
    P1 S1 10
    P2 S2 4
    P2 S21 15
    Now i want to pick the value of Prouct and sub component for every row dynamiaclly and want to generate the URL with the conditions and make it as hyperlink for the Total Column.
    Iam able to make hyperlink for the Total column using the edit options for the total attribute, but it is opening the same page for all the rows in the total column. I want to generate dynamic URL by picking the value prodcut and sub componenet dynamically from the report for every row and want to make it as hayperlink for every row individually.
    Please tell me how to do this?
    Please revert back if you are not clear. Appericiate for your quick help.

    Hello <unknown user>,
    So you already set the Column Link attributes for your Total column. Should all links go to the same page, but with different parameters (ProductID, SubcompID)? Or to another page? And how can you determine that page?
    Assuming you'll go to a sort of detail page or form:
    Target = [Page in this app]
    Page = <your target page no>
    Item1 = <ProductID field in target page>
    Value = #PRODUCTID#
    Item2 = <SubcompID field in target page>
    Value = #SUNCOMPID#
    (you can use the ' flashlight' for getting the correct values)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to rearrange key figures for every row in a report

    Hi gurus,
    I need help in rearranging the key figures values( product sales for A, B, and C ) in the columns for each sales division row D1,D2,D3 displaying keyfigures in the order of descending sales volume for each division. The order of key figures has to change for each row.
    Is it possible through some user exits? Your help is appreciated.
    Thanks

    Hi,
    I am extremely sorry for my earlier post. I am not too sure about that. I heard that we can do RRI on Infoobject.
    Please look for other experts inputs. I apologise for that.
    Regards,
    Suman

  • Excel o/p in Reports 9i-additional report header for every row

    Dear All,
    Is there any way to generate an Excel file output from OracleReports9i.Actually I have tried the simple report.
    I am able to create a delimited output.But the prob is it contains an additional report header for every row of the report and this is very strange.Its coming like that
    Empno     Ename     Job     7566     JONES      MANAGER
    Empno     Ename     Job     7902     FORD      ANALYST
    I need the Xls o/p like that
    Empno     Ename          Job
    7566     JONES      MANAGER
    7902     FORD      ANALYST
    8877 JAMES SALES
    my Environment oracle9i developersuite /forms9i/reports9i
    I have given     DESFORMAT = DELIMITED
              MODE      = CHARACTER
    I am able to generate the reports in html/HTMLCSSIE/HTMLCSS/PDF/RTF
    Only delimited is giving problem
    What should i do to resolve this issue. Please help me it is very very urgent for me.
    Thanks in advance
    Pavendhan.N

    I had the same problem and this is what I did, works great. You have the total control.
    function BeforeReport return boolean is
    fp text_io.file_type;
    begin
    -- creating a file name
    :CP_filename := 'C:\Gap'||to_char(sysdate,'MMDDYYHHMISS')||'.csv';
    -- Opening the file in write mode
    fp := text_io.fopen(:CP_filename,'w');
    -- writing the column headings into the file
    text_io.put_line(fp,'"Platform","Sys#","GapType",');
    text_io.fclose(fp);
    return (TRUE);
    end;
    and then where ever it is suitable, depending on the requirement, write into file by opening it in the append mode.
    function R_G_systemplatformFormatTrigge return boolean is
    fp text_io.file_type;
    begin
    --     srw.message(99,:dname);
    fp := text_io.fopen(:CP_filename,'a');
    text_io.put(fp,'"' || :systemplatform || '",');
    text_io.put(fp,'"' || to_char(:sysno) || '",');
    text_io.put_line(fp,'"' || :CF_gaptype || '",');
    text_io.fclose(fp);
    return (TRUE);
    end;
    This works great. Hope this helps.

  • Update Button for every Row of Report

    hello,
    is it possible to get an update button for every row of a report?
    After clicking this button, only this row of the report should be updated.
    thanks in advance
    dave

    Create a hidden item on your page. Call it somehow - P1_KEY. Create other hidden fields
    for the rest of the columns you want to update. Create a link per report line. This link will be
    inserting the primary key of your record into P1_KEY and the other values you want to
    update in the other hidden fields. It will branch to the same page and contain a request - i.e. UPDATE_ROW. Then
    you create a process - On Load Before Header - which will
    take the value from your item P1_KEY and update the record
    in the database by setting the the column values to the
    values in your hidden fields. This process will fire upon
    request you specified. However, this way you will not be
    able to update your text areas, since you will not be able
    to transfer this over a link. Also you need to be carefull
    about special characters.
    Maybe there is a better proposal than this.
    Denes Kubicek

  • Horizontal lines for each rows in the rtf template

    Hi,
    I am a newbie for XML Publisher. I just created a XML Publisher report for Vendor invoices. But for each invoice/invoice line rows I am getting a horizontal line which separates each row. But I just wanted the vertical line to separate the columns and not for the rows.
    For example, the output looks like
    Invoice number | Item Description| Quantity|
    123__________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    345__________| xyz__________|_____30 |
    I am getting the report some this like this. But I need the report like below,
    Invoice number | Item Description| Quantity|
    123__________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    345__________| xyz__________|_____30 |
    (Please consider the ____ as space)
    Please suggest me some solution. tons of thanks in advance.

    Hi Vetsrini,
    Thanks for your prompt reply. I hope I had put the tag that you had mentioned. But anyhow I had sent your the template and the sample XML file to see the output.
    I have one more question also I want a curvey edge for the table and no tthe sharp edge like this _|. If possible please suggest for this also.
    Looking forward for your reply.
    Hope your mail id is fusion{DoT}object[AT]gmail[dOt]com

  • How to set fire action event for particular rows in a table

    HI All,
    I have a requirement in which I want to set fire action event for particular rows in a table based on some condition.
    The table has columns like fullname,employee id etc.
    So i want to set fire action event for particulars rows only which will saisfy some condition.

    Atanu,
    Your approach(setting fire action for few rows) seems not possible. Better to go ahead with workaround.
    Do you want this functionality in processRequest(while page loading) or processFromRequest(on some event) method ? Give more explanation regd. your requirement ?
    In either case loop through the rows and when your condition is met write the action to be performed in controller.
    Regards,
    Anand

  • How to use simple values services for multiple rows ina table

    Hi Frnds...
    As per my requirment i need to use SVS for multile rows in a table.
    The coding goes like this for getting single attribute which is directly under root context.
    objSimpleValueSetCurr = wdContext.getNodeInfo().getAttribute("ctx_attribute");
    (this is only for context attribute directly placed under root context in the view controller.)
    We need to use value node and a value attribute inside this node. And retrieve the same. so need help regarding the code changes.
    Regards,
    Sudeep

    Hi ,
    I had tried out your suggestion. Its not working.
    The code goes like this, but the data is not getting populated.
    "controller_curr" is the value attribute  under the node "InitTable" in the controller which is further mapped to view controller with the same structure.
    The data is geting printed through the message manager just before the line
    divSMT.put(currency,currency); in this code, at the end.
    But "divSMT.put" is not able to populate the data.
    _________START________
    public void currency( )
        //@@begin currency()
              IWDMessageManager msg = wdComponentAPI.getMessageManager();     
              ISimpleTypeModifiable objSimpleTypeCurr = null;
              IModifiableSimpleValueSet objSimpleValueSetCurr = null;
              String currency=null;
              String bandg = null;
              Z_Bapi_Get_Curr_Rate_Input authCurrDet = null; //for FCURR
        Try
    authCurrDet = new Z_Bapi_Get_Curr_Rate_Input();
                         wdContext.nodeZ_Bapi_Get_Curr_Rate_Input().bind(authCurrDet);
                              wdContext.nodeZ_Bapi_Get_Curr_Rate_Input().currentZ_Bapi_Get_Curr_Rate_InputElement().modelObject().execute();     
    IWDAttributeInfo  objSimpleValueSetCurr1 = wdContext.nodeInitTable().getNodeInfo().getAttribute("controller_curr");
    ISimpleTypeModifiable countryType = objSimpleValueSetCurr1.getModifiableSimpleType();
    IModifiableSimpleValueSet divSMT = countryType.getSVServices().getModifiableSimpleValueSet();
    int sizeofCurrencyFCURR = wdContext.nodeOPCURROutput().nodeIt_Curr_Rate().size();
    msg.reportSuccess("SizeofCurrency FCURR : "+sizeofCurrencyFCURR);
    for(int i=0;i<sizeofCurrencyFCURR;i++)
    currency = wdContext.nodeOPCURROutput().nodeIt_Curr_Rate().getIt_Curr_RateElementAt(i).getFcurr();
    msg.reportSuccess("Currency : "+currency);
    divSMT.put(currency,currency);
         catch(Exception e)
    //@@end
    _________END________
    Please look into the issue.
    Regards.

Maybe you are looking for