MAXL calling ASO Calculation

Greetings ASO and MaxL friends,
I am trying to execute a calculation on an ASO database using the following MaxL command:
execute calculation on DemoASO.BasicASO with local script_file "D:\\Oracle\\BudVar.csc"
POV "Crossjoin({[Jan]},Crossjoin({[New_York]},Crossjoin({[Stereo]},Crossjoin({[Sales]},Descendants(Scenario,Scenario.Levels(0))))))"
SourceRegion "Crossjoin({[Bud Var]},{[Jan]})";
This generates an error:
(1) Syntax error near ['DemoASO']
Thoughts?

I tried using "on database" but my EAS console session would not validate that syntax. So, I assumed it was bad syntax, crazy me!
Hence, I went directly to the essmsh command line and found that the syntax does work in that environment.
I have a hunch that the root cause is on my EAS server. Perhaps some of the environment variables are not set correctly / completely.
Specifically, I had to use "startMaxl.cmd" to get this working.
So, below is the syntax that worked:
MAXL> execute calculation on database DemoASO.BasicASO with local script_file "D:\\Oracle\\BudVar.csc" POV 'Crossjoin({[Jan]},Crossjoin({[Stereo]},Crossjoin({[Sales]},{[Budget]})))' SourceRegion 'Crossjoin({[Denver]},{[Jan]})';
Thanks for the reply,
Paul E.

Similar Messages

  • [ASO Calculation] Weird behavior of calculation in ASO

    Hi,
    I have a strange scenario in one of ASO  cube (in 11.1.2.3 ) where calculation script (highlighted in orange below) written and run with POV set for all time periods results in expected values only for one period and for the rest results are not seen (we see only #MISSING). We have similar logic for other calculation and it seems to have worked fine. I am puzzled now as to why the calculation (with similar logic) work for all periods in one script and doesnt in other script. What is preventing results to be seen across all periods ? We have tried
    (a) slice merge - NO CHANGE, (b) clear partial data > re-run calc >  slice merge - NO CHANGE. We have run out of options now and have no clue as to what is triggering this strange behavior in ASO ? Is this a bug ?
    =========================================================================================================================
    Here even-though we have POV set for all periods, the result is only seen on Oct-15 and not for other periods.When we do manual calculation in Excel, we see result but from the cube we get only #Missing.
    CALCULATION RESULTING IN PARTIAL RESULT:
         [L0_S/S COS per Day] := (([AC_ZZ5030],[DP_Z3100]) + ([AC_ZZ5020],[DP_Z3100]) - ([AC_500510],[DP_Z3100]) - ([AC_500520],[DP_Z3100])) / ([AC_991023],[DP_Z3100]);
    MAXL RESULTING IN PARTIAL RESULT:
    execute calculation on database "WAG_FBI"."WAG_FBI" with
    local script_file "/u01/app/test/fmw/instances/instance1/Essbase/essbaseserver1/app/WAG_FBI/WAG_FBI/SS_DOS.csc"
    POV "Crossjoin({[Loaded]},
      Crossjoin({[Actual]},
      Crossjoin ([Time].Levels(0).Members,
      Crossjoin({[DP_15125]},
      Crossjoin([LOB].Levels(0).Members,
      Crossjoin([LE].Levels(0).Members,
      [Location].Levels(0).Members))))))"
    SourceRegion "CrossJoin({[AC_ZZ5030],[AC_ZZ5020],[AC_500510],[AC_500520],[AC_991023]},{[DP_Z3100]})" ;
    =========================================================================================================================
    Here we have same POV  and similar calculation logic (only change being in the denominator and the account where result should be stored) , the result is seen across all periods.
    CALCULATION WHERE COMPLETE RESULT IS SEEN:
    [L0_Rx COS per Day] := (([AC_ZZ5030],[DP_10010]) + ([AC_ZZ5020],[DP_10010]) - ([AC_500510],[DP_10010]) - ([AC_500520],[DP_10010])) / ([AC_991012],[DP_10010]);
    MAXL WHERE COMPLETE RESULT IS SEEN:
    execute calculation on database "WAG_FBI"."WAG_FBI" with
    local script_file "/u01/app/test/fmw/instances/instance1/Essbase/essbaseserver1/app/WAG_FBI/WAG_FBI/RX_DOS.csc"
    POV "Crossjoin({[Loaded]},
      Crossjoin({[Actual]},
      Crossjoin ([Time].Levels(0).Members,
      Crossjoin({[DP_10010]},
      Crossjoin([LOB].Levels(0).Members,
      Crossjoin([LE].Levels(0).Members,
      [Location].Levels(0).Members))))))"
    SourceRegion "CrossJoin({[AC_ZZ5030],[AC_ZZ5020],[AC_500510],[AC_500520],[AC_991012]},{[DP_10010]})" ;
    =========================================================================================================================
    Regards,
    Sathish

    I have no idea what the cause of your problem is, but a suggestion for a test...
    Create a member (e.g. 'Calc L0_S/S COS per Day') in the same dimension as [L0_S/S COS per Day] (assuming this a dynamic dimension), assign the formula to it (instead of placing it in the script) then make your script copy from that member to the target.
    I felt sure I had seen a defect that related to partial ASO allocation results but I can't find it now, so perhaps I was confused.

  • Essbase ASO Calculation Issue

    Hi All
    I am writing a calculation for a client to copy one version to another version for an Essbase ASO application.
    It seems to work correctly when my POV is set on a smaller datapoints. Hower it seem to have issues when fixed on larger datapoints.
    The calculations is pretty simple
    [ActualFinal] := [ActualWorking];
    I tried creating and running the calculation both using MaxL and Calculation Manager. However the same issue seem to occur.
    I first thought it might have been an implied share issue, but further investigation, it doesn't seem to be the issue as I can get the data copied using a smaller POV.
    The client is on version 11.1.2.3 of Essbase.
    Any one have any thoughts of what may be causing this?
    Thanks
    Jimmy

    I had this issue in 11.1.2.1. Never tried on the later versions
    FYI - Have a look at this post (http://www.network54.com/Forum/58296/thread/1359579119/MDX+Query+-+Error+127001)
    Below is an excert from the post by Joe Watkins
    Joe Watkins
    167.107.191.217
    ASO Performance
    No score for this post
    February 11 2013, 1:18 PM
    Here are the current limitations as I see them when trying to go ASO only:
    - These scripts are not as fast as calc scripts
    - performance is worse when users are on the system
    - Cannot run these types of calcs when loads are taking place
    - need to watch for incremental slices
    - Users cannot natively execute these types of scripts
    - These scripts can be very fussy to get working
    - When I ran the exact same scripts (per my examples) as 'Calculation' versus 'Allocation' the 'Calculation' would skip random cells which was really weird and impossible to fix which is why I switched to using 'Allocation'
    In my mind the technology is not mature enough at the moment to get rid of BSO but its getting better..
    Amarnath
    ORACLE | Essbase

  • How to call a Calculation View from Sql ?

    Hi All,
    I'm trying to test my calulation views. Now i'd like to call it through sql. How to do it ?
    Thanks
    Sakthivek

    Hi Sakthivek,
    After you activate your calculation view successfully, you will find it under schema "_SYS_BIC" -> Column Views in your Studio. Then you can use select sql statement to query the calculation view.
    Best regards,
    Wenjun

  • Data Load MAXLs in ASO

    Hi All,
    Greetings of the day !!!!
    Want to understand the difference between "Add values create slice" and "override values create slice" used in data loading MAXLs
    Suppose we initialized buffer and loaded data in buffer then we can use following two MAXLs
    1)
    import database AsoSamp.Sample data
    from load_buffer with buffer_id 1
    add values create slice;
    2)
    import database AsoSamp.Sample data
    from load_buffer with buffer_id 1
    override values create slice;
    Q1
    What i am thinking logically is if i am again loading the data in the same intersections from which slice is created ADD VALUE will add it and override value will overwrite it .... e.g if 100 was present earlier and we are again loading 200 then ADD will make 300 and overwrite will result 200. Let me know if my understanding is correct
    Q2
    Why do we use "create slice" ? What is the use? Is it for better performance for data loading? Is it compulsary to merge the slices after dataloading??
    Cant we just use add value or override values if we dont want to create slice...
    Q3
    I saw two MAXLs for merging also ... one was Merge ALL DATA and other was MERGE incremental data ... Whats the diff ? In which case we use what?
    Pls help me in resolving my doubts... Thanks a lot !!!!

    Q1 - Your understanding is correct. The buffer commit specification determines how what is in the buffer is applied to what is already in the cube. Note that there are also buffer initialization specifications for 'sum' and 'use last' that apply only to data loaded to the buffer.
    Q2 - Load performance. Loading data to an ASO cube without 'create slice' takes time (per the DBAG) proportional to the amount of data already in the cube. So loading one value to a 100GB cube may take a very long time. Loading data to an ASO cube with 'create slice' takes time proportional to the amount of data being loaded - much faster in my example. There is no requirement to immediately merge slices, but it will have to be done to design / process aggregations or restructure the cube (in the case of restructure, it happens automatically IIRC). The extra slices are like extra cubes, so when you query Essbase now has to look at both the main cube and the slice. There is a statistic that tells you how much time Essbase spends querying slices vs querying the main cube, but no real guidance on what a 'good' or 'bad' number is! See http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/aggstor_runtime_stats.html.
    The other reason you might want to create a slice is that it's possible to overwrite (or even remove, by committing an empty buffer with the 'override incremental data' clause in the buffer commit specification) only the slice data without having to do physical or logical clears. So if you are continually updating current period data, for example, it might make sense to load that data to an incremental slice.
    Q3 - You can merge the incremental slices into the rest of the cube, or you can merge multiple incremental slices into one single incremental slice, but not into the rest of the cube. Honestly, I've only ever wanted to use the first option. I'm not really sure when or why you would want to do the second, although I'm sure it's in there for a reason.

  • Custom Calculation in ASO - Error in MDX query

    Hi All,
    We are trying to use a run a custom calculation on our ASO cube
    We are getting the error as below
    Syntax error in input MDX query on line 13 at token ' )'
    When i checked my POV i did not find any issue. Even when I try to put only one crossjoin, it is still giving me the error saying "error at line 2')' "
    I am unable to find the cause of this issue.
    Can any one help me on this.
    ******content of Maxl Script********
    execute calculation on database ASOFNPLN.ASOFNPLN with local script_file D:\++++++++Sateesh+++++++\ADWEA\Custom.csc"
    POV
    "Crossjoin({[FY09]},
    Crossjoin({[Actual]},
    Crossjoin ({[Jan],[Feb]},
    Crossjoin({[Working]},
    CrossJoin({[XA]},
    CrossJoin({[0000000]},
    CrossJoin({[000000000]},
    CrossJoin({[00000]},
    CrossJoin({[175110]},
    CrossJoin({[CC_ADWEA_0000_AED]},
    CrossJoin({[Unspecified Product]},
    CrossJoin({[HSP_InputValue]},
    CrossJoin({[Local]} )))))))))))))"
    SourceRegion "{[Opening Balance],[Ending Balance],[Periodic Balance]}";
    *************** Content of Custom.csc *********
    case when
    IsUda([Account].currentMember, "Expense") OR IsUda([Account].currentMember, "Revenue")
    AND
    Is([Period].CurrentMember, [Jan]) OR Is([Period].CurrentMember, [Feb]) OR Is([Period].CurrentMember, [Mar]) OR Is([Period].CurrentMember, [Apr]) OR Is([Period].CurrentMember, [May]) OR Is([Period].CurrentMember, [Jun]) OR Is([Period].CurrentMember, [Jul]) OR
    Is([Period].CurrentMember, [Aug]) OR Is([Period].CurrentMember, [Sep]) OR Is([Period].CurrentMember, [Oct]) OR Is([Period].CurrentMember, [Nov]) OR Is([Period].CurrentMember, [Dec]) OR Is([Period].CurrentMember, [YearTotal])
    THEN
    ([Ending Balance]):=([Opening Balance]+[Periodic Balance]);
    ([Opening Balance]):=([View].[Ending Balance], [Period].CurrentMember.lag(1));
    ([Ending Balance]):=([Opening Balance]+[Periodic Balance]);
    END

    You've got a mismatched " in the first line of the "execute calculation" statement.
    However, I think the real problem is in the calc script.  I don't believe you can do this in MDX:
    CASE WHEN x THEN
        a := y;
        b := z;
    END
    You have to do this:
    a := CASE WHEN x THEN y END;
    b := CASE WHEN x THEN z END;
    An alternative is to create a formula member for each of the measures you are trying to set (with the member formula containing the CASE logic) and have the calc script copy the formula member to the permanent member.

  • Help to wards maxl scripting

    we have 2008 data and 2009 data...when the 2010 data is exploded(loading) in to the essbase cube, my manager wants to delete the 2008 years data through by automation-maxl commands.How do you do..pls post the answer for this

    Hi,
    You can use the maxl command "Execute Calculation", you will just need to write your calc script to clear out the data and then call it using the command.
    Have a read of http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_excalc.htm it has examples so you should be fine.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to find the cube type ( aso/bso)

    Hi all,
    How to find/ know if the cube is ASO or BSO type.
    I have no documents to know the history of the cube.
    any help would be apprceciated.
    thanks
    Ram

    In EAS when you look at the application Nodes, ASO apps have a red asterisk in the middle of the node.
    In MaxL if you run a Display application statement, the column 'Storage Type' will return a '1' for BSO and '4' for ASO.
    I think EAS should break them out and group separately. You can do this with custom views if you want, but I don't see the need for that. Simply having a group heading called ASO and BSO with appropriate apps under them would be a nice enhancement IMO.

  • Issue with new ASO Calc

    Has anyone seen the new ASO calcs just give up early?
    I am talking about the new 11.1.2.2 EXECUTE CALCULATION statement in MaxL for ASO cubes
    execute calculation on app.db with
      local script_file "script.txt"
      POV "Crossjoin({descendants([dim1top],levels([dim1],0))},
                   Crossjoin({descendants([dim2top],levels([dim2],0))},
                      etc)"
    SourceRegion "{list of members providing data}";
    The calc runs fine, MaxL reports that it completed and generated N new cells (like 13K). Problem is it should have generated 30K cells. When I drill in I see that it did not calc all of the intersections. It is as if it reached a certain point and said "Oh, that's enough" and stops ... but no error. The POV tuple is big, but still well below the 2^64 level where you'd get that error. There is NOTHING that distinguishes an intersection that it failed to calc from the ones that it successfully computed other than that every account below a specific member is vacant. The spot where it quits is repeatable, too ... if it generates 13,303 cells on one run, it will generate the same number on the next. Increasing the "Pending cache size limit" does nothing. Adding an aggregation makes it faster but no better.
    The only way this works is to break it up into small bits of Year x Scenario members. <ugh> And even then I am not 100% certain the calc has done every cell unless I check the values in the cube.
    Anybody???

    The EXECUTE CALCULATION and EXECUTE ALLOCATION functions do not seem to accept the NONEMPTY directive.  Or I have the syntax completely wrong.  I have tried various ways of saying NON EMPTY ... member, tuple even NONEMPTY CROSSJOIN (okay, its a Microsoft MDX concept, but I was hoping it was an undocumented feature). 
    Can someone provide example syntax for a POV specification that would only process the calculation / allocation for tuples that have data?
    Background - I am eliminating seven ~ members from a large (6K members) entity dimension so I can set that hierarchy type to Stored. This dramatically improves retrieve performance. The "formerly ~" members must stay in the tree -- moving them out would be too easy ;-) -- so I have added seven _OFFSET twin members and need them to = -1* their "formerly ~ twin".  The twin may be either a rollup or a level 0 member of entity.  The _OFFSET member is its level 0 sibling.  
    This is my "allocation" process that works, I pass an Entity as $1 and a currency as $2 ... unfortunately I will need to repeat it 70x (once for each 10 currencies x 7 entities) due to the 2^64 limitation.  I am hoping that NONEMPTY would reduce the size of the tuple to allow it to run in a single pass.
    execute allocation process on database $App.$Db with
    pov
    " CrossJoin ( {descendants([Total Geo],levels([Geography],0))},                                          /* Geography */
        CrossJoin ( {descendants([Total Projects],levels([Project],0))},                                        /* Project */
          CrossJoin ( {descendants([Scenario],levels([Scenario],0))},                                           /* Scenario */
            CrossJoin ( {descendants([Version],levels([Version],0))},                                             /* Version */
              CrossJoin ( {descendants([Year],levels([Year],0))},                                                    /* Year */
                Crossjoin( {[$2]},                                                                                                  /* Currency */
                  CrossJoin ( {[JAN]:[DEC]},                                                                                  /* Period */
                    CrossJoin ( { descendants([Income Statement],levels([Account],0))},                    /* Account */
                      CrossJoin ( {descendants([FXENGINE_INPUT],levels([Data_Source],0))},            /* Data_Source */
                        CrossJoin ( {descendants([Total Legal Entities],levels([Legal_Entity],0))},          /* Legal_Entity */
                          CrossJoin ( {descendants([Total ICP],levels([Interco_Partner],0))},                   /* Interco_Partner */
                                      Except( {descendants([Cur_Rate],levels([Cur_Rate],0))}                     /* Cur_Rate */
                                            , {[Rate_Table],[TRANSACTIONAL_INPUT]}
    amount
    "-[$1]"
    target
    range           "{[$1_OFFSET]}"
    range           "{[$1_OFFSET]}"
    spread

  • Calculations based on Summarized data in Cross Tab

    First off, I'm pretty experienced with Crystal.
    I've run accross something that seems like it should be realy easy to do, and the sort of thing you would expect to do  in a cross tab... so maybe I'm missing something totally obvious.
    I'm doing a year over year comparison of some financial data broken down by month and by quarter.
    So, my Rows are Quarter, and a field called 'YEARMONTH' (calculated field, YYYYMM, for ease of sorting)
    My column is Year, and for summarized fields, I have the data field I'm interested in which is a float. Let's call it 'Dollars' for sake of argument.
    What I want to do is create a summary field (next to the total field) called 'Difference' or 'Delta' that calculates for reach row the difference between my two years (2008, and 2009)
    The only solution I can come up with is to dummy in a record from the datasource with a year value of 'Difference' and some other dummy values so that it will show up as a column on the cross tab, and then somehow use the currentrowcolum function or some such creature to mask the output in the column. but now that I type it out here, I'm not sure it's going to work. I also don't think it's going to export the way I want it to either.
    I'd really prefer it to be in a cross tab, and not in some manually created cross-tab emulation using manual running totals, but I'll go there if I have to.
    Thanks a ton!

    This is what I did in my report to get the difference
    my crosstab looks like this
                        2004     2005    Total
    Total              T1         T2         T
    USA               A          B          C
    INDIA              X          Y          Z
    right click on T1 and go to format field and write the suppress condition like this
    numberVar d:=0;
    currencyVar array arr1;
    currencyVar array arr2;
    numberVar e;
    if GridRowColumnValue('year')=2004 then
    (e:=e+1;
    redim preserve arr1[e];
    arr1[e]:=CurrentFieldValue)
    else
    (e:=e+1;
    redim preserve arr2[e];
    arr2[e]:=CurrentFieldValue);
    false
    right click on T and go to format field and write the Display string condition like this
    currencyVar array arr1;
    currencyVar array arr2;
    totext(arr1[1]-arr2[1])
    right click on A and go to format field and write the suppress condition like this
    currencyVar array four;
    currencyVar array five;
    numberVar d;
    if GridRowColumnValue('year')=2004 then
    (d:=d+1;
    redim preserve four[d];
    four[d]:=CurrentFieldValue)
    else
    (d:=d+1;
    redim preserve five[d];
    five[d]:=CurrentFieldValue);
    false
    right click on C and go to format field and write the Display string condition like this
    currencyVar array four;
    currencyVar array five;
    numberVar g;
    g:=g+1;
    ToText(four[g]-five[g])
    Note: Please select the option "column totals on top" for crosstab in customize style
    Hope this helps!
    Raghavendra

  • How to check MAxl is running properly or not

    Hi All,
    i am working on ASO cube which has to implement Automation for dimension building and data loading. I am unable to execute even a single sample systax with out error. Is there any specific method to use Maxl in ASO cube or any precautions to be taken in ASO for Maxl scripts.
    I don't know it is a foolish question or not to ask like "how to check the Maxl is working properly or not" bcoz it is raising me doubt by raising error for sample script also.
    please help me out from this issue .
    Regards

    Can you log into Essbase through MaxL interactively.
    If so, can you do it from a script? Something like:
    login username password on servername ;
    exit ;
    If you can't do the first, yup, your MaxL client is hosed or you don't have a valid username/password. Or you don't know the servername.
    If you can't do the latter, perhaps your client (could be the server itself, if you're running it from there) has a pathing issue when running batch files.
    If both work, it is a syntax issue. Now you're just faced with your mistake(s). :) But at least you don't have to spin wheels trying to figure out if MaxL is working or not.
    Regards,
    Cameron Lackpour
    P.S. You might want to try using the MaxL editor in EAS and see if your login code works there. I believe (not sure, but I think so) that EAS has its own flavor of MaxL as I know you can run code there without having the Essbase client installed on a local machine.

  • How to call function in updateable detail report field in apex 4.0

    i build a function which calculate the total price of the product by multiply qty* rate
    and i build a master detail form i want in the updatable detail report when i give the qty and rate then i call the culculation function and display the result in the field of price. but i don't know where i call the calculation function please help me
    Regards
    NOMAN RASHAD

    In your SQL:
    SELECT ename, job, your_function(sal, comm) your_calculation
       FROM empDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Web Service Call

    Hi,
    I am trying to call the Calculator webservice .."http://webservices.iter.dk/calculator.asmx?WSDL"
    With SOAP Action being Add...
    Now the request message is successful in Moni... but I am unable to find any response messsage...
    Any idea What I am missing out...??
    In my receiver SOAP Adapter the
    Target URL:  http://webservices.iter.dk/calculator.asmx
    SOAP Action: Add
    Thanks,
    Himadri

    Assuming you have successfully received the request message in XI (if you see the chequered flag in sxmb_moni) then you test the mapping using the request payload. If it is fine then you see in the receiver communication channel whether you have any errors? If you dont have any errors then check whether the webservice have received the data or not? If received then check whether you have any error message in response sender communication channel? If no errors then you will see the response message in sxmb_moni? If you see then check the response mapping.
    This is how the flow runs in your scenario. So please check to see any errors in the above flow.
    ---Satish

  • Maxl data load error

    Hi All,
    I'm trying to load data from a csv file to an Aggregate Storage cube.
    I keep getting a wierd error "Syntax error near ['$']".
    Where there is no $ sign in either the script or the flat file source from where I'm loading data.
    This same script worked earlier using the same rule file.
    I'm running the maxl from the EAS console, and not invoking it through a batch.
    I only had to make a change to the cube name and the spool and error file names in the script.
    In the data file i had to make changes to a few member names, and I remapped it through the rule file, where I ignored one particular column.
    I've validated the rule file more than a couple of times, but do not get any errors.
    I'm not sure why I get such an error.
    Can anyone tell me what I'm doing wrong? Or if any one has seen such an error before can you help me out?
    THanks,
    Anindyo
    Edited by: Anindyo Dutta on Feb 4, 2011 7:39 PM
    Edited by: Anindyo Dutta on Feb 4, 2011 7:40 PM

    HEy,
    I'm running the MaxL script through EAS, it doesn't seem like any of the records are going through.
    The script is below:
    login 'usr' 'pwd!' on 'ec2-184-72-157-215.compute-1.amazonaws.com';
    spool on to 'E:/dump/MaxL Scripts/ASO Scripts/Spool files/full_dt_ld_visa_aso_spool.log';
    import database 'VISA_ASO'.'VISA' data from data_file 'E:/dump/Data Load Files/ASO Load files Old format/master_data_load.csv' using server rules_file 'fulldtld' on error write to 'E:/dump/MaxL Scripts/ASO Scripts/Spool files/full_dt_ld_visa_aso_spool.err';
    spool off;
    logout;
    I rechecked a couple of times, doesn't seem like I'm missing any quotes.
    Robb and Jeanette Thanks for your response!
    I'm going to try with a smaller file and update this thread.
    CHeers!
    Anindyo
    Edited by: Anindyo Dutta on Feb 4, 2011 9:14 PM
    Edited by: Anindyo Dutta on Feb 4, 2011 9:16 PM

  • How to call Plsql function in discoverer

    Hello,
    Can anyone tell me how to call plsql fuunction in Oracle Business Intelligence Desktop Discoverer?
    what i was doing here is i am able to register my function in Administration but i dont know when i need to make call and where i need to pass parameters to make call that function.
    its lil urgent, can any of you guys send me the instructions step by step
    Thanks in advance!!
    sid

    Thanks for your reply Michael,some how i found that make call from calculation , but the problem here is i was not able to pass parameter thru function.please find the scenario below,
    case(1) i have function without parameters, it does some DML operations inside that and it is working fine.when i refresh i see tables getting populated.
    case(2)I have another function as shown below with parameters(input) but i was getting error (One of The function arguments has an incorrect datatype:POST_SAVE_DOCUMENT)
    my function is like this:
    create or replace function POST_SAVE_DOCUMENT
    (P_WORKBOOKOWNER in VARCHAR2,
    P_WORKBOOK in VARCHAR2,
    P_WORKSHEET in VARCHAR2,
    P_SEQUENCE in number,
    P_SQL_SEGMENT in VARCHAR2
    return number AS
    BEGIN
    delete from my_sql;
    insert into my_sql
    ( WORKBOOKOWNER,
    WORKBOOK,
    WORKSHEET,
    SEG_SEQUENCE,
    SQL_SEGMENT)
    VALUES ( P_WORKBOOKOWNER,
    P_WORKBOOK,
    P_WORKSHEET,
    P_SEQUENCE,
    P_SQL_SEGMENT
    return 1;
    end;
    i dont see anything wrong here with in this function, but some how i have a problem with parameter.
    Can you give some idea or solution to get rid of this problem.
    Finally ..i did not see anything under item radio button (The recommended way now is to click the Items radio button, find an item that you want to pass to a parameter, then on the right-hand side highlight the placeholder for the parameter, then finally you click the Paste button. You repeat this for all the parameters and then click OK to finish the calculation.
    Thanks in adavance!!
    Thanks
    S!D
    Edited by: user12861418 on Apr 28, 2010 2:01 PM

Maybe you are looking for

  • RMI related NotSerializableException problem

    Hi, I am attempting to write a distributed chess player program. I've written a ChessServer class that all clients register with before they can play (which keeps track of how many clients are connected). Each clients creates an instance of a ChessSe

  • How do i unlock my iphone if i forgot my password

    what could do besides reseting?

  • Condition type MVK0 and MVK1 in Purchase order

    Hi Experts, In my purchase order, line item for an article (material) there is a condition type MVK0 (Sales Price inc. Tax) and MVK1 ( Sales price excl tax) which appears in Red in IS-Retail server. The pricing analysis says that the condition has be

  • MACBOOK PRO and PRO RES

    Hello all! I am researching buying a 15" middle tier, macbook pro for video editing. I understand you need an HD video card to capture the HD video to convert into Pro Res. But once its in the pro res format, can you use a macbook pro to edit it? And

  • Foreign Trade Data in VI09

    Hi Seniors,    User has created a Import PO in which the user misses import data when creating PO issuing a warning message. He has already maintained the material master properly.And now he has maintained the data in VI09 tcode, but its not reflecti