Custom functions to calculation builder

Is it possbile to add custom functions to the calculation builder?

Not at the moment as the BI Beans Calc Builder is not extensible. There is no mechanism for you to register your SQL Model with the OLAP API.
However, we are in the process of creating the functional specification for the next generation Calc Builder so I would be interested in understanding the types of models/calcs you would like to see added. Please add your requirements to this thread.
Business Intelligence Beans Product Management Team
Oracle Corporation

Similar Messages

  • Time Stamp via Custom Function

    This is such a basic concept for a custom function that I am assuming someone out there has done it already. I have never created a custom function for Essbase, though I have programmed in a variety of languages and I'm assuming getting the current date/time in Java is not exactly rocket science. I have reviewed the docs for creating and registering custom functions and that also appears relatively simple, especially with the examples available.<BR><BR>What I want is a function that returns a Double in the form of a Date/Time that I can retrieve into Excel and display as a Date/Time. We want a simpler, more effective way of time stamping the running of calculations, more effective than combing through the app logs when we need to know if/when a calc ran a week or a month or two ago.<BR><BR>Does anyone have some sample code and/or insights to share on this topic? I would greatly appreciate it if you do.<BR><BR>Thanks,<BR><BR>James

    fyi - I ended up implementing a solution in Perl/Maxl that gives a timestamp to the second in a format that can be retrieved intelligently into Excel. I use the Perl time() function (Unix server) to get the GMT epoch time as a long int. Then I convert it into the floating point DATE format for Windows, with the hard-coded assumption of what time zone my server is in. Then I run a calc from MaxL that sets this value. I build the calc string in Perl and pass it into MaxL. Pretty cool. The calc uses two sub vars, one for the members to fix on and the other for the Scenario to timestamp. This way the perl/maxl is database independent.<BR><BR>Just thought someone might want to know...

  • RPTIME00 - Custom Internal Table , Custom Clsuter in Custom Function.

    Hello Guru,
    I have a requirement to create custom scheme with totally new custom function , rules .
    my question is it is possible to declare custom internal tables like TIP, TOP and cutom cluster to store results.
    if yes then how ?
    Thanks in adance

    My requirement is based on a project to develop new sap product which can handle complex crew management for industries like railways and airlines,product is still in protoype phase and will basicaly cover right from dispatching crew to various sites to generating there payroll. standard sap works on basis of day and time. but crew industory work on trip. a crew for example pilot fly form point A to B get paid/claims based on on that single trip and whatever activities he has done in that trip. so purely this is based on trip and not day or hours, now we are thinking about using RPTIMEOO as a tool to calculate and create wage type beacuse at the end of the day payroll is getting generated in SAP and also all the crew employee will be setup as master data. this whole product will have its own screeen to capture activties and opereations . will be build on top of sap hcm.
    so was thinking any ways sap says that you can create custom schema and rules but those standard internal tables and cluster are of no use because of the structure is based in trip, wage type will be based in miles that crew travel.
    so trying to find how far this RPTIME00 is flexible .. and is possible to create custom function. becoz at end we are going to update payroll 2010 which can be mapped some how.  RPTIME00 can also give clients to add there own custom functions in future if any new req comes.
    if this is not possible i.e RPTIMEOO can not use custom cluster , then we might have to write abap programs ti do calculation but only problem any new features to be added will lead to code change.
    thanks for your patience ..

  • Create a Time Management Custom Function in PE04

    Hi Experts
                  Pls give the steps to create a custom function in Time Management using PE04,
    whta is purpose of using infotype in PE04 , what are the input parametr and output paramaete . What are the intrnal table available in custom function . How we can test the custom function .
    Thansk and regards
    Renjith MP

    No idea on how to set.
    But in our case, we have a requirement for calculation of GOSI for our Bahrani Employees. Hence did the same using by creating a FUNCTION ZGOSI.
    We have not given any input or output parameters.
    Used a Z program for payroll driver RPCALCX0 -- ZSH_GOSI_CALC and the calculations are taken from this program and output is displayed in the RT table- Wage types.
    For more information, check with functions of infotype like P0014, P0015, you will get some idea on the same.
    Before giving the above, need to mention the parameter list for control.
    Mostly the input parameters are given as Objects like in our Payroll Process, there is WPBP table and output parameters the results to be displayed using object RT.
    Analyze more on the same and you will come to know.
    Good luck.
    Regards
    Team Member.

  • ICM custom function

    Hi,
    I am using ICM vestion 9.0. I have a requirement to route calls depending on keyword from sentense. Say for example system retunrs a sentense "I need information on foreign exchange" and I am saving the data in PV1. Now if the sentense has a word "foreign" I need to give different priority. So far I could not find any icm built-in function through which I can achieve this. I decided to build a custom function and I never develop custom function before so need help on building a custom function.
    Please let me know if I build the custom function using below expression will it work. Here string1 is the sentense which I will get from PV1 and string2 is the keyword
    Name = SearchFunction(string1,string2)
    Parameters =  2
    Function =     String[] Sentence = %1%.split();
                        for(String word: sentence)
                            if(word.equals(%2%))
                                return ture;
                        return false;
    Thanks,
    Ashfaque.

    Hi,
    I think I can achieve the same by using below formula
    (find("Foreign","PV1")>0
    Thanks,
    Ashfaque.

  • Oracle Business Rules Custom Functions

    Hi,
    I have an input fact with attributes A,B,C & D and an output fact with E, C & D. (C & D attributes are common in both facts)
    Whenever the rule matches, we are asserting new output fact by assigning a constant value to attribute 'E' and also the transactional values to C & D using input fact's C & D attributes.
    This way, we are making sure to return the response with matched transactional values.
    But we would like to do this by writing a custom function so that user need not assign this mapping manually whenever any new rule creates. User just assigns the constant value to attribute E but values to C & D attributes should be assigned automatically.
    Please let me know your suggestions on this.
    Regards,
    KK

    Hi Subha,
    Please find the answers inline :
    1. In Oracle Business Rules, can one rule invoke another rule?
    -- > Yes, once a rule gets executed, it might create more facts, that in turn fire another rule. It all runs around the inout/output facts.
    2. Can we make two rule sets dependent on each other?
    -- > Yes
    3. Can we return data of types String, Boolean, Integer, Double from a rule execution?
    -- > Yes, you can use java code with functions.
    4. Can we build complex logical AND, OR assertions in Oracle rules?
    -- > Java programming language is needed for this..
    5. Can we use custom business objects (not Java data types) within a rule?
    -- > Dont think so
    Regards
    Anirudh Pucha

  • Custom Functions with SDK

    After some success designing custom visual components using the SDK, I have attempted to create a custom excel function added in SDK SP1 and am a little confused by the minimal documentation.
    The documentation alludes to adding custom functions that will not work in excel design time but will work after compiled to SWF. So, in using the SDK I have created a series of test functions following the samples provided and I still am not able to use the function correctly and receive the this Excel function is not supported.
    I am assuming this SDK feature works like this (please correct me where/if I'm wrong!):
    -create a flex function in top level .mxml using the method mentioned in the docs/samples.
    -refer to function in excel formula
    -preview & the flex function should handle the rest.
    My question is, is this supported? Or does the function have to coincide with an excel function in order to work? I even created an excel function via VBA that works the same so the design time would behave the same, but to no avail.
    My function is as follows, it was simpler but after numerous tries I stole the sample layout and replaced the function name with testFunc and had it add the argument to itself but it still won't work in the visualization:
    public function testFunc(...args):*
         var v:*;
         var a0:Number;
         var range:ITableSDK;
         if (args[0] == undefined)
              a0 = 0;
         }else{
              if (args[0] is ITableSDK)
              xcelsius.spreadsheet.FunctionError(xcelsius.spreadsheet.FunctionError.VALUE);               
              }else{ // a cell     
                   v = getNumberUtil(args[0]);
                   if(v is xcelsius.spreadsheet.FunctionError)
                        return v;
                         a0 = v+v;
         return a0;
    I am using Flex Builder 3 with flex sdk 2.0.1 HF3. Any ideas?
    Thanks,
    Sean

    Hi,
    as far as I know there's no SDK for now, but I found more in the OptiMap product of the "Corda" agency, the original vendor of the default maps. You can contact it by their Internet site: http://www.corda.com/
    Best regards
    Massimo

  • Customer Function

    Hi Experts,
    My predecessor has developed a customer function in CATS Time sheet. There is a customer function button, when employee clicks that button, it will call a function to calculate the employee’s overtime. Now, the business wants to make some over time calculation change. I do not have experience with customer function. I have following questions:
    (1)     How is the customer function button added into SAP standard screen(for example adding a customer button in CATS Time Sheet Screen)?
    (2)     How do I find the program that will be triggered when the customer button is clicked?
    Regards,
    Jim

    Hi Kiran,
    This is a User Exit. It allows you to insert you own code to enhance the functionality of this program. This looks like a workflow user exit. What it allows you to do is pass into the user exit some approver information and allows you to modify the table of possible approvers.
    If you double click on the '001' it will allow you to create your new INCLUDE program to insert your User Exit code.
    Hope this makes sense. Hit me back if you need any clarification.
    Cheers,
    Pat.

  • Erroring out when trying to call a custom function from the discoverer repo

    Hi everybody, Thanks in advance....
    I have a discoverer report giving the shelf life of an item.
    The shelf life is to be calculated using a function.
    Hence, a custom function is created. I registered the function using Discoverer Administrator Edition.
    Then opened my desktop edition and opened the report.
    Going to Tools > Calculations > New > Functions > Database > selected the function and changed the parameters passed to the function by going to Items selecting the columns from the tables they are available.
    Now, when the query is refreshed, it comes up with an error "Function returns no value".
    When tested from sql session, the function returns value.
    any idea, as to whts the reason???
    -- Kiran

    Hi,
    Have you validated the function in Discoverer administrator?
    Is the function valid?
    Have you manually defined the function details or imported directly from the database?
    pls. let us know.

  • Custom function to return Record Selection Criteria

    <p>Here&#39;s what I need to do. There will be two prompts for range of dates; say, Begin date and End Date on almost all of the reports here. But it is not mandatory to enter Begin Date nor end date. So depending on the data the user enters we have to build the where clause.</p><p>So, to achive this I am trying to write a custom function which accepts the column name , and data from the parameters in the report. </p><p>my_func(col_nme, bgn_date, end_date) .. </p><p>This function does all the validations and returns a string depending on the data entered by the user. </p><p> Eg., if user entered only begin date then it will return col_nme <= bgn_date<br />      if user entered both dates then col_nme between bgn_date and end_date</p><p> And I am trying to user this complete clause in my record selection of the report. </p><p>In Record Selection call my_func({Query.Eff_date},p_bgn_date,p_end_date) </p><p>It is not accepting it since the function returns it as a string and the Reord selection should return a bolean. </p><p>Can any one let me know how to get this functionality in my report. </p><p>&#160;</p><p>ANy other suggestions to achieve this would be a great help<br />Thanks a lot in advance. </p>

    as long as you have discrete and multi values checked on for the parameter, the resulting array is all you need.
    In the RSF, the desired results will be returned by a REALLY simple boolean statement
    {table.field} in {?my param}
    "Like" may replace "in"Â for some cases.
    Try it, you'll like it. :)Â
         - Kathryn Webster (Report Design Consultant)
               Kat&#39;s News: http://diamond.businessobjects.com/blog/279

  • Combination of Custom Functions

    I use a Custom Function (Length) to determine the length of a text attribute. But for some reason in RuleBurst (9.4) it is not possible to combine more Custom Functions in 1 conclusion. The syntax TotalLength = Length("A") + Length("B") is accepted , but in the debugger I get the error "System.NullReferenceExeption: Object not set to an instance of an object".
    Is this in principle not possible or did I make an mistake in the description or development of the Cusom Function?
    Cheers, Pierre

    It sounds like you are using the 'extensions' method of building a custom function. Here's a couple of things to try:
    - make sure the parameter to the function is an attribute rather than a constant string. I can't recall if this is a definite limitation but I know it should work with an attribute so try that.
    - does it work when you use the 'generic' custom function calling method, ie. Number(CallCustomFunction("Length", "stringattr")) ?
    - 9.4 is an old version now, any particular reason you aren't using 10.1?

  • PE04 - Custom Function - Create Record

    Hello Experts,
    Pls provide some insights or links on how to create a custom function to populate an IT2001 record in schema.
    Thanks
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 1, 2011 10:40 AM

    No idea on how to set.
    But in our case, we have a requirement for calculation of GOSI for our Bahrani Employees. Hence did the same using by creating a FUNCTION ZGOSI.
    We have not given any input or output parameters.
    Used a Z program for payroll driver RPCALCX0 -- ZSH_GOSI_CALC and the calculations are taken from this program and output is displayed in the RT table- Wage types.
    For more information, check with functions of infotype like P0014, P0015, you will get some idea on the same.
    Before giving the above, need to mention the parameter list for control.
    Mostly the input parameters are given as Objects like in our Payroll Process, there is WPBP table and output parameters the results to be displayed using object RT.
    Analyze more on the same and you will come to know.
    Good luck.
    Regards
    Team Member.

  • How to write the custom Function Module to trigger the Alert.

    Hi all,
    I have developed a custom alert category in Tx - alrtcatdef. Now i want to trigger it from my custom function module. what should i do or what is the procedure to trigger the alert from my custom function module.
    Arul Jothi

    hi arul,
    try this program.
    RSALERTTEST.
    check out this link...
    <a href="/people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts:///people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
    regs,
    jaga

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • How to bring the custom function module in WE42?

    Hi,
    I have created a custom function module to post a custom idoc.
    Process code has been created thro WE42 and WE57 is done.
    Still I am not able to see the custom function module in the list (WE42) in order to assign it to process code.
    May i know the reason for this?
    Thanks.
    Thiyagu

    What makes you think that it should be visible in WE42? There is no F4-value help for this and you haven't added it manually yet, right.
    In WE42 you can manually add entries, so that's what I would do.

Maybe you are looking for

  • How can i generate simple Entities and View Objects ... automatically ?

    Hello eveybody, I hope this is the right place i'm posting in. My question is ADF/Jdeveloper related. Here is my problem. Where i work, we use xsd files to design our beans and we generate java classes from this xsd file. Then we design these beans a

  • Best Practice for Handling Timeout

    Hi all, What is the best practice for handling timeout in a web container? By the way, we have been using weblogic 10.3 thanks

  • XmlIndex on table not allowing delete or update

    Hi Oracle and slqplus versions: Oracle Database 11g Release 11.2.0.2.0 - 64bit Production PL/SQL Release 11.2.0.2.0 - Production CORE 11.2.0.2.0 Production TNS for Solaris: Version 11.2.0.2.0 - Production NLSRTL Version 11.2.0.2.0 - Production I'm ha

  • Change ip in oracle workflow

    Hello, In OWB 11g I create a schema owf_mgr, and I've migrated the server, and has another IP. In OWB i try to change IP from Locations/Process flow and schedules/Oracle workflow/WORKFLOW_MANAGER , but the fields are disabled for editing. How to chan

  • Run a program with system exec.vi

    hi I've got a problem with system exec. When I launch a simple program like :  c:\windows\notepad.exe it works very well. But when I launch a program with parameters, it doesn't. here is the command line:   c:\bmd.exe a.bmd a.txt ffffffff ffffffff