Help needed on custom aggregation

Hi,
I am stuck up with an custom aggregation issue.
I have the member values of a dimension which looks like below.
A
|
|--B
| .|---AB
| .|. .|-------AAA
| .|
| .|
| .|--AC
| . .|-------AAB
|
|
|----C
Now I wanted my aggregation to aggregate only value for AAA up and store in AB. Also B Parent should be shown as null.
I have achieved this by following logic.
1) Run the default aggregation
2) Calculate the value for AAA.
3) Run the default aggregation again.
4) Set the value of B to null
5) Re-Calculate the value of A(by model) so that it can subtract the value of B added in step 3.
I cannot run the default aggregation every time as it is going to be tedious process and takes time.
How Can I run aggregation only in one chain in a hierarchy and that too to a particular level.
Any help would be highly appreciated.
Thanks
Brijesh

Looks like you need more control on how to aggregate your data.
Consider creating a DML program, put all your logic in the program using Aggregate, Model ... commands.
Test your program by running it within OLAP Worksheet.
In AWM create a new Cube Script that refers to the DML Program(available in 11g AWM).

Similar Messages

  • Urgent help needed -in customizing an OAF page --adding new button?

    Hi,
    We are currently implementing an OAF based oracle application.One of the requirements that the customer has is to display an additional button on the page button bar available out of box in an OAF page. This button needs to be enabled/disabled based on certain conditions. Also when the button is pressed a pl/sql api needs to be invoked. I know through personalization a new button can be created in the page button bar. But how do we handle the logic behind the button? Can we extend the page level controller?Will this survive future upgrades? If not then what is the alternative?
    Please help!
    Thanks!

    You can follow the thread Calling PL/SQL Procedure for pl/sql call from controller example.
    --Shiv                                                                                                                                                                                                                                                                                   

  • Help needed regarding custom reports

    hello,
    I am using EM 10.2.0.2 on windows 32-bit.
    All EM components are installed on a single machine.
    Have installed AGENT 10.1.0.5 for managing targets which are on LINUX 2.1
    Please help me in getting the solution for the following queries:
    (a)I need to create a custom report regarding the CAPACITY MANAGEMENT .
    (b)I have some UDM defined but I am not able to use these UDM while creating custom report.
    (c)Also is there any possibility that we can use views other than REPOSITORY VIEWS. What I meant was : instead of using REPOSITORY VIEWS can we use the tables of the target instances.
    Thanks in advance.

    You might want to try posting your question to the Grid Control Forum.
    Enterprise Manager

  • Help needed in customer exit code to exclude a value

    Hi Gurus,
    I need to use a Customer Exit Variable to read the values for a characteristic. Based on one indicator I have to include or exclude a value. I am trying to use the code as below. But, it is saying "AError for variable  in customer enhancement ...".
    Code
    the variable is a multiple single values customer exit variable
             zl_s_range-low = z_placc.
             CLEAR zl_s_range-high.
             if z_pl_ind = '1'.
               zl_s_range-sign = 'I'.
             elseif z_pl_ind = '2'.
               zl_s_range-sign = 'E'.
             endif.
              zl_s_range-opt = 'EQ'.
             APPEND zl_s_range TO e_t_range.
    Please help me to solve the issue,
    Thanks in advance,
    Regards,
    aarthi

    Hi Uday,
    Thanks for your response.
    Below is the complete code.
    WHEN 'ZV_CSS11'.
    IF I_STEP = 1.      "Before Pop-up
       select * into table i_tp_tab_pl from /BIC/QZ_TP_PLAC
        where /BIC/Z_TP_PLAC = '11' and
            DATEFROM <= sy-datum and DATETO >= sy-datum.
    if sy-subrc = 0.
         LOOP AT i_tp_tab_pl.
             clear zl_s_range.
             z_placc = i_tp_tab_pl-/BIC/Z_PLACC.
             z_pl_ind = i_tp_tab_pl-/BIC/Z_PGLA_IND.
             zl_s_range-low = z_placc.
             if z_pl_ind = '1'.
               zl_s_range-sign = 'I'.
             else.
               zl_s_range-sign = 'E'.
             endif.
              zl_s_range-opt = 'EQ'.
             APPEND zl_s_range TO e_t_range.
             clear z_placc.
             clear z_pl_ind.
          ENDLOOP.
    endif.
    endif.
    Thanks in advance,
    Regards,
    aarthi

  • Help needed in Customer exit variable

    Hi Experts,
    We have a scenario as below.
    User enters fiscal year period.Based on the fiscal year period,entire year will be selected.
    Row would contains
    0fiscper3(Fiscal months from Jan to Dec)
    Column contains Amount(Actual or Forecast)--There is a restricted keyfigure on amount.If value type=60 then forecast
    and value type=10 then actual amount
    If the user enters 002.2010 then it should give Actual values ie value type=10 for 001.2010 and 002.2010.For all values greater than 002.2010, it should give forecast values(value type=60)
    Report Format.
    Jan----
    Actual Value(value type=10 in the column for amount)
    Feb----
    Actual Value(value type=10 in the column for amount)
    Mar----
    Forecast Value(value type=60 in the column for amount)
    Apr----
    Forecast Value(value type=60 in the column for amount)
    May----
    Forecast Value(value type=60 in the column for amount)
    Jun----
    Forecast Value(value type=60 in the column for amount)
    Jul----
    Forecast Value(value type=60 in the column for amount)
    Aug----
    Forecast Value(value type=60 in the column for amount)
    Sep----
    Forecast Value(value type=60 in the column for amount)
    Oct----
    Forecast Value(value type=60 in the column for amount)
    Nov----
    Forecast Value(value type=60 in the column for amount)
    Dec----
    Forecast Value(value type=60 in the column for amount)
    I know that i have to create a customer exit variable for value type
    But in this scenario.the value for value type may change in each row based on fisper3(month).
    How can i obtain such a scenario in the customer exit
    Your help will be appreciated.
    Thanks,
    Senoy
    Edited by: senoy laxman on Feb 15, 2010 6:42 AM

    Hi Senoy,
    you have to create two customer exit variables for fiscal year period(0fiscper) as given below.
    1. for actual values (value type=10), coding in cmod such that showing values less than and equal to user input values.
    2. for forecasting values(value type=60,)coding such that showing values greating than user input values.
    use the first varible in the first selction and the second varible in the second selection in the given below structure(use the structure in rows)
    use the fiscal period user input varible in the third selection in the given structure below.
    structure
    selection - (Actual)-restrict with value 20 and first customer exit variable .
    selection -(Forecast)-restrict with value type 60 and second customer exit variable.
    Selection - 0fiscper
    Add the key figure 0Amount in the columns or in rows(in the selection of second structure) as per your requirment.
    hope this helps you.

  • Help needed in custom element in SiteStudio template

    Hi
    I want to create a custom element on my Site Studio where contributor can add links. I need to assign a custom element for from the Settings button while adding custom element. I like to give the form of Link Wizard provided by Site Studio but I am not getting any form of Link Wizard in Search Results. How could I achieve this.
    Regards

    I know you're wanting to use a custom element, but what about using a "Static List" fragment for the same thing. You could have a static list with one element (Link). When users go into Contributor mode they will be shown the list and can add Links to the lists. An advantage to this is they can also sort them how they want displayed and if you defined the element as a link, they will get the Link Wizard when they add the link.
    Not the same as a custom element but might accomplish the same thing.
    -Greg

  • Help needed for running Aggregation map for a compressed cube

    Hello everybody,
    I am having problem in running an Aggregation map using a model on a compressed cube. Please find the model and Aggregation map descriptions below.
    ---Model
    DEFINE MYMODEL MODEL
    MODEL
    DIMENSION this_aw!ACCOUNT
    ACCOUNT('NIBT') = nafill(OPINC 0) + nafill(OTHINC 0)
    END
    -----Aggregation Map
    DEFINE MY_AGGMAP AGGMAP
    AGGMAP
    MODEL MYMODEL PRECOMPUTE(ALL)
    AGGINDEX OFF
    END
    While running the aggregate on an uncompressed cube the Model is working fine but when I am trying to aggregate a compressed cube it is throwing me error (String index out of range: -1). I would appreciate if anyone could provide some thought to this problem.
    The cubes has five dimensions apart of ACCOUNT and it is partitioned by PERIOD. I am using Oracle 10g 10.2.0.4.0 with AWM.
    Thanks,
    Vishal
    Edited by: user7740133 on Sep 16, 2008 5:23 PM

    Vishal,
    I am not sure of using composites to run the model but you can limit your dimensions values to some values(which has data) and then run the model on cube_prt_topvar and aggregate the cube using default aggmap. You have to limit all dimensions to all before you run the agggmap.
    I just saw the account model you posted initially. In your scenario you can limit your account dimension to have only three values 'NIBT' 'OPINC' 'OTHINC' and for other dimension to all. Now when you run the model you will not get values aggregated for account but for others you will see the aggregated value. If you would like to aggregate values for account also then I would suggest you to limit all the dimensions to leaf level and then run the model and then aggregate the cube using default aggmap.
    Hope this helps.
    Thanks
    Brijesh
    Edited by: BGaur on Oct 25, 2008 1:10 PM

  • Help needed with customizing {tag_attributes}

    I've tried searching for information on how best to customize {tag_attributes} but not finding much help so hoping someone can help on here.
    I would like to know if it is possible and if so how to do the following.
    1/ For a mandatory product attribute with a drop down list (or radio button) how do I automatically select the first option.  I assume I use javascript to achieve this but I don't know how you select the correct elements.  Has anyone some example code?
    2/ When an option is selected (not mandatory) which has am additional price how do I recalculate and show the product total?
    3/ Can the tag_attributes style be configured (I assume with css) can anyone provide a simple example I could follow?
    Would appreciate anyone's help on this.
    Thanks
    Gavin

    Okay I have made it work but I think the solution is not desirable and I hope there is another way.
    It was only after I created product variations did configuring tab_attributes work.  What isn't desirable is the need to maintain a stock level of something that's an option that has no stock levels associated with it.
    It would be much simpler for default selection to work without the need for inventory and creating product variations.
    Therefore is there another way?  Or some way of specifying infinite stock levels?
    Also despite the first parameter being false the options are listed horizontally.
    Basically {tag_attributes} seems to be a right mess in it's implementation to me.  It's certainly not simple to use!
    Thanks
    Gavin

  • Help Needed with Custom.pll

    Hi,
    I'm new to forms. In Oracle Applications when i click on Field Service Manager (Responsibility)->Field Service Dispatcher-> service request -> service requests ->Create Service requests a standard form for service requests is opened there in the menu when i click on tools -> (sub-menu) Quick Menu a form is opened with many names(when i click on a name a new form opens) how do i invoke a form when this name(function) is clicked.This is done by FND_function.execute();
    but where do i call it in the custom.pll.
    Because the Form which has to invoked is under Tools ->Quick Menu(Sub-menu on click of sub-menu a form opens ).
    Where do i call this fnd_function.execute(); in custom.pll in event procedure.
    Can anyone help me on this.
    Thanks

    Put your issue on http://forums.oracle.com/forums/forum.jspa?forumID=40 if its related to froms. If it involves OAF pages, out it on OA Framework
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help needed with Custom Web ADI Integrator for Mail Merge

    Hello,
    I've created a custom web adi integrator to generate letters to advise of end of probationary periods.
    The problem is that at the end of the process when the letter is opened in Word 2007, it only displays one record, and does not allow me to "preview results" and cycle through the records (this part is greyed out). It appears that the letter is not merged with the data spreadsheet although it does display one record from it.
    Our EBS version is 12.1.3 and we are using Office 2007.
    These are the steps I have followed so far (in brief):
    - Create a view to provide data (names, addresses etc).
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    - Add the custom function and other functions to Desktop Integration responsibility.
    - Add the relevant functions to end user's responsibility menu.
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    - Create Download Excel Integrator by choosing Desktop Integration -> HR Integrator Setup. Enter "PER" for application and my view for the View Name. Upload.
    - Create another Excel document by choosing Desktop Integration -> HR Maintain Form Function Associations, and choose the integrator created above. Enter my custom function name in the generated spreadsheet and upload.
    - Define a layout for the new integrator.
    - Run the integrator under the end user responsibility and save the resulting spreadsheet, which is full of data as expected.
    - Create the letter in Word, using the saved spreadsheet as the data source for the merge. At this point the merge is successful.
    - Go to Desktop Integration -> Document Management and upload the Word mail merge document. Associate it with the custom document type created earlier.
    - Link this document to my integrator.
    - Go in as end user responsibility and run the integrator.
    At this point after enabling macros it loads 2 spreadsheets (one full of data) and the Word document, but the Word document only displays one record (approx the 10th in the list - there are about 100 in total). All of the relevant merge-related menu items on the "Mailings" tab are greyed out.
    Can anyone offer any pointers please?
    I did wonder whether it mattered if I changed the names of documents, e.g when I download and save the resulting spreadsheet full of data which I then use to merge to in the Word Doc, is it OK to call the spreadsheet anything or should it be left as the default name?
    Many thanks,
    Hazel

    Hi Nandhakumar.P,
    thanks for your response. Please find the answers below:
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    System Administrator -> Application -> Function. Query back the seeded User Function Name = "HR Integrator Setup", make a note of the details, then add a custom function entitled "NTC_HR_LETTERS" with the same details.
    - Add the custom function and other functions to Desktop Integration responsibility.
    System Administrator -> Application -> Menu. Query back User Menu Name = "Desktop Integration Menu" and add the following functions:
    WITHOUT PROMPT
    a. HR Integrator Setup
    b. HR Maintain Integrator Form Functions
    c. HR Disable Integrator
    d. HR ADI Document Overwrite Page
    e. HR ADI Document Upload Page
    f. The custom function created in previous step ("NTC_HR_LETTERS")
    WITH PROMPT
    g. HR ADI Document Management Page
    - Add the relevant functions to end user's responsibility menu.
    System Administrator -> Application -> Menu. Query back menu attached to custom responsibility of end user that will perform the action once set up.
    Add the following:
    a. The custom function "NTC_HR_LETTERS" as created previously (without prompt)
    b. Desktop Integration - Create Document (With Prompt. This function will be used to generate letters)
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    SA_Application Developer -> Application -> Lookups -> Common. Query back Type = HR_ADI_DOCUMENT_TYPE and add a new entry entitled "Other". This document type is later assigned to the Word document I upload and link to the integrator.
    I hopoe that answers your questions.
    Regards,
    Hazel

  • Help needed for Custom Trusted Reconciliatin API uses

    Hi Experts,
    I have created Resource Object, One Process Definition and One Reconciliation Rule.
    I have mapped FirstName,lastname,username,UserType(End-User),Type(EMP to Role),organization,email .
    After that after calling createReconciliationEvent() API, I am getting the following error:
    +<Dec 22, 2011 7:49:54 AM CET> <Error> <oracle.iam.reconciliation.impl> <IAM-5010000> <Generic Information: {0}+
    oracle.iam.reconciliation.exception.ReconciliationException: Exception occurred while inserting data into table RA_TESTRECONFLATFILE74 due to RA_TESTRECONFLATFILE74
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.reconEvent(ReconOperationsServiceImpl.java:285)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.createReconciliationEvent(ReconOperationsServiceImpl.java:189)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.createReconciliationEvent(ReconOperationsServiceImpl.java:212)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.createReconciliationEvent(ReconOperationsServiceImpl.java:201)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.createReconciliationEvent(ReconOperationsServiceImpl.java:197)
    at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.createReconciliationEventx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Please help.
    Regards,
    J

    http://docs.oracle.com/cd/E17904_01/doc.1111/e14308/recon_service.htm#BABGIIIA
    -Bikash

  • Help neede for customer exit

    Hi,
    Please let me know as to how can i derive the 1st day and last day of the fiscal week. I have the fiscal week data eg: 201004 in the cube
    Also how can i derive the  1st day and last day of the fiscal year quarter. I have the fiscal quarter data eg: 20101 in the cube
    any function module to get the 1st day and the last day of this week and the quarter?
    regards,
    Mahesh

    Hi Mahesh,
    Use Function Module WEEK_GET_FIRST_DAY to get the first day of the given week.
    You can get the last day of the week by Adding 6 to it OR y using Same function module for next week and get first day of the next week. and Make it  - 1.
    Regards,
    Pratap Sone

  • Need help in creating custom crosstab reports

    Hello
    I need some help in creating custom crosstab reports.
    My current report shows the number of events that have occured over the time in a day
    The events and the eventdetails are read from the database before being printed on the crosstab
    i.e something like this.
    Note : there are no events between 3:00-3:59,5:00-5:59;6:00-6:59,7:00-7:59  (not present in the database)
    hence not displayed in the reports
    *08/07/2009*         01:00        02:00         04:00          08:00          10:00*
    Event X                    1               1                 4                 1                  3
    Event Y                   3               3                 2                 2                  1
    Total                        4                4                 6                 3                  4
    So far so good...
    Now i have to enhance my reporting application to include the event details which have not happened i.e to include the time details in the crosstab reports where no events have happened
    08/07/2009             01:00        02:00         03:00          04:00          05:00         6:00         07:00         8:00     9:00     10:00
    Event X                     1               1                0                 4                  0             4             0                1            0           3
    Event Y                     3               3                0                 2                  0             2             0                2            0           1
    Total                         4                4                0                 6                  0             6             0                3            0           4
    I have fell short of ideas this time around to implement such a thing
    Any help in this direction is deeply appreciated
    Regards
    Srivatsa
    Edited by: Srivatsa HG on Jul 8, 2009 10:56 AM

    Hi,
    It seems that you are having issue with Crystal Report Design.
    Post your question in [Crystal Report Design Forum|SAP Crystal Reports;
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all Design queries remain in one place and thus can be easily searched in one place.
    Regards,
    Shweta

  • Help needed in adding custom About box in built applicatio​n in LabVIEW 2009

    Hello,
    Can anyone please help me add custom About box in built application in LabVIEW 2009? I had successfully built my application in labview 8.6, 8.5 and 8.2 before to include custom About box. However, when I tried the same method in LabVIEW 2009, it only showed LabVIEW 2009 About box rather than my custom About box.
    Here is what I did:
    1) Wrote an "About Application.vi" in the built VI folder;
    2) Included this "About Application.vi" in the "Always Included" section of Source Files in Application Build;
    3) Built the application;
    4) Ran the built application, the About box showed only LabVIEW 2009 about (attached a picture).
    You can see that on the upper left corner of the picture, there is my custom icon.
    Your help is greatly appreciated,
    Cathy
    Solved!
    Go to Solution.
    Attachments:
    About Box.JPG ‏34 KB

    Here is the link to download LabVIEW 2009 f2 patch:
    http://digital.ni.com/public.nsf/websearch/C3F88F3​596A164AD86257647006FB022?OpenDocument
    Thanks for the help,

  • Custom Trigger help needed

    How do I include values from existing recordsets in a SQL statement
    within a Custom Trigger?
    For example, my page has a few recordsets. Assume one of the recordsets
    tells me what state the current user lives in. $row_rsCurUsr['state']
    There is an Insert form on the page with a Custom Trigger (after)
    attached. I need the Custom Trigger to perform another action (insert,
    update, delete, whatever) but it needs to use the $row_rsCurUsr['state']
    value. How can I do this?
    I've tried something similar to:
    $triggerSql = "INSERT INTO anothertable (id, state) VALUES
    ({SESSION.kt_login_id},{rsCurUsr.state})";
    and
    $triggerSql = "INSERT INTO anothertable (id, state) VALUES
    (".$_SESSION['kt_login_id'].",".$row_rsCurUsr['state'].")";
    but neither seems to work.
    Alec
    Adobe Community Expert

    Ok. How about executing a SELECT inside a Custom Trigger and accessing
    the resulting rows to use in PHP code also in the trigger?
    Example - within the Custom Trigger execute:
    $sql="SELECT * FROM table";
    How do I execute it? With the regular DW code like:
    mysql_select_db($database_conWV, $conWV);
    $sql="SELECT * FROM table";
    $result = mysql_query($sql, $conWV) or die(mysql_error());
    $row_result = mysql_fetch_assoc($result);
    $totalRows_result = mysql_num_rows($result);
    or with some ADDT code like:
    $result = $tNG->connection->execute($sql);
    If I do the "ADDT" way, how do I access the rows?
    $result['column'] or something?
    Alec
    Adobe Community Expert

Maybe you are looking for

  • How do I add a second dvd burner (blue ray) to a HP Pavilion 500-023w?

    I have a fairly new Pioneer dvd blue ray burner that I would like to install in my HP Pavilion 500-023w. It is currently residing in my old XP machine, also a HP Pavilion. I guess that there is a different front panel that will acept a disk drive ??

  • Siebel Sales Rep Visibility in BI Publisher, Bug???

    Hi, I have run into an issue with a bi publisher report in Siebel 8.1.1.0 and BI Publisher 10.1.3.4.0 where there is a Siebel View with a Visibliity Applet Type = Sales Rep. The data showing in the report on this view is not filtered according to "Sa

  • File Explorer similar to Xfe?

    Hi. Xfe can't be build without building an older version of fox too in Arch... So, the question: is there a file explorer like Xfe that's as good or even better?

  • FYI. Verisign Cert & ACS

    for those who have troubles getting verisign cert working on the ACS box, i just spoke to a verisign tech support after facing issues with certs. He mentioned that when generating a CSR on ACS, it generates extra info that are not compatible with ver

  • What setting prevents a deleted app from re-downloading from iCloud to the iPhone?

    re: iOS 7.1.1, iTunes Mac 11.2, Mac OS 10.9.3 What setting do I select that prevents an app that's been deleted from the iPhone from re-loading back from iCloud after a Sync? I don't want to permanently delete the App from iCloud, as I want the optio