DB Functions Supported in UNX

Are DB Functions supported in UNX universes? We are on BI4.1 SP3 and trying to use an Oracle DB function that will return a numeric field based on the user who is logged into Business Objects:
OWOD_DW.GET_BUDGET(@Variable('BOUSER'))
The GET_BUDGET is an Oracle DB function that expects the user id, checks the budget amount field in db table, and returns budget amount and sets it to Budget object in universe.
We have UNV universes that call Oracle DB functions, for example calculating number of working days. The processing is done on DB side and returns number of days and continue to work fine...
Thank you for your time.
~Molly

Thank you both for your answers!
@Odie_63: Your sample worked for me, as well. I was able to find the root cause of why my statement had not worked: I was using a wrong path. Interestingly enough though, the correct result was returned if I did not use a function in the path, so it masked the root problem.
sample XML document (shortened) : <ObjectEvent>
  <action>ADD</action>
</ObjectEvent>correct path:SQL> SELECT EVENT_ID, ACTION   FROM EVENTSCHEMA.event x,     XMLTABLE ('/*' passing EVENTXMLTEXT
                 COLUMNS                
                        ACTION  VARCHAR(10)  PATH  'action'
  EVENT_ID ACTION
      1004 ADDwrong path, but still works:SQL> SELECT EVENT_ID, ACTION   FROM EVENTSCHEMA.event x,    XMLTABLE ('/*' passing EVENTXMLTEXT
                 COLUMNS                
                        ACTION  VARCHAR(10)  PATH  '/*/action'
  EVENT_ID ACTION
      1004 ADDfunction applied to the correct path works: SQL> SELECT EVENT_ID, ACTION    FROM EVENTSCHEMA.event x,   XMLTABLE ('/*' passing EVENTXMLTEXT
                 COLUMNS                
                        ACTION  VARCHAR(10)  PATH  'fn:lower-case(action)'
  EVENT_ID ACTION
      1004 addfunction applied to the wrong path does not work: SQL> SELECT EVENT_ID, ACTION  FROM EVENTSCHEMA.event x,    XMLTABLE ('/*' passing EVENTXMLTEXT
                 COLUMNS                
                        ACTION  VARCHAR(10)  PATH  'fn:lower-case(/*/action)'
  EVENT_ID ACTION
      1004Thanks again! I'm glad I can use the XQuery functions and don't have to find a workaround.
-- Daniela

Similar Messages

  • How to find out what are the functions supported by string class

    Hi,
    Can any one let me know how to find what are all the functions supported by the string class in standard(STL) library on solaris.
    Regards,
    Vignesh

    1. Any C++ textbook that covers the Standard Library will tell you about the standard string class. A good tutorial and reference for the entire Standard Library is "The C++ Standard Library" by Nicolai Josuttis, published by Addison Wesley.
    2. WIth Sun C++, the command
    man -s3C++ basic_string
    provides documentation for the default libCstd version of the Standard Library.
    3. You could look at the <string> header itself. I don't recommend that approach.

  • SQL Functions Supported by RDBMS Adapter

    Hi,
    Where can I find the list of SQL Functions supported by RDBMS Adapter?
    I am retrieving date from Oracle 9i using RDBMS Adapter 8.1 SP2.However when I use any SQL Function (like to_char, to_date) in select query the service creation fails with a parsing exception.
    Please help me resolving this.I want a date to be selected as a string in a particular format.
    Thanks,
    Vishvjit

    Sorry,just got the resolution in Known Limitations of the adapter Release Notes. Actually we have to create a service of arbitory sql for using SQL Functions in the query.

  • Does the Timer() function support multithread?

    Hello,
    In my application, there would be more than 1000 conversations to be monitored. I am going to design a woker thread for each conversation to determine the timeout of the communication, so I must using the timer mechanism. Due to just can create (max )16 async timers, so I want to use Timer() in the worker thread. I'd like to know if the function support multithread and if it will not be disturbed in a thread?
    David

    Hi David,
    The 'timer' used by the Timer() function is global and not thread specific. Note that Timer() returns the number of seconds elapsed since the FIRST call to the Timer() function. This is independent of the thread where the FIRST and current calls take place. So, the values returned are kind of a global 'time' since the first Timer() call in your program. I would recommend that you FIRST call Timer() in your main thread before running your other threads and then the other values returned in any thread are the 'seconds' since this call.

  • Where can I find a list of NI-DAQ functions supported over the RDA server?

    Hello,
    I am developing an application in Microsoft VisualC++ for PXI6071E MIO card remotely using RDA server.
    What I found out is that not all the functions described in the "Traditional NI-DAQ Function Reference Help" shipped with NI-DAQ version 7.0 are supported over the RDA server (e.g. Init_DA_Boards, or AO_Configure).
    Is there any document available where the functions supported by the RDA server are listed? It will help me a lot instead of manually executing all the needed functions and building this list by myself.
    Thank you in advance,
    Silvius
    Silvius Iancu

    Hello Sarah,
    Thank you very much for the link.
    Based on this article I included the easyio.h and easyio.lib from LabWindows/CVI into my VC++ project and I managed to perform the needed operations using Easy IO function calls.
    As a result of my own tests, the Analog Input functions provided by nidaq are not supported by the RDA server, but the General Purpose Timer/Counter functions are well supported.
    Hopefully the future versions of NI-DAQ will be fully supported by the RDA server.
    Thank you for your help,
    Silvius
    Silvius Iancu

  • Does Information Designer Tools's aggregate awareness function support OLAP

    Hi...
    Does Information Designer Tools's aggregate awareness function support OLAP ??
    Thanks

    To see which ODBC function DG4ODBC is looking for and unixODBC isn't supporting it would be best to get an ODBC trace file. But as your unixODBC driver (unixODBC-2.2.11-10.el5) is outdated and these old drivers had a lot of issues when being used on 64bit operating systems (for example wrong sizeofint etc). So best would be to update the unixODBC Driver manager to release 2.3.x. More details can be found on the web site: www.unicodbc.org
    - Klaus

  • Generics for Higher Order Function Support

    Perhaps I'm not looking hard enough, but it seems that all arguments for generics relate to containers. Has anyone considered the impact of generics and at least rudimentary type inference on higher order function support.
    Consider the case in which you want to execute a particular operation under time constraints, or with specified cleanup operations to occur afterwards, for example:
    interface DBOperation
      void doOperation(Connection con);
    void DoDBOperation(DBOperation op)
      Connection c = acquireConnection()
      try
        op.doOperation(con);
      finally
        c.release();
    }One would then call:
    DoDBOperation(new DBOperation() ...);Now what happens if I want to make a DBOperation that returns an integer and throws a specific checked exception. I would need to define an alternative DBOperation2 class, and rewrite DoDBOperation for each possible permutation of checked exceptions, and for each return type.
    Or one would just have:
    interface DBOperation
      Object doOperation(Connection inCon) throws Exception
    }But now when I call it, I need to catch Exception, not just the ones I specifically throw, and I have to cast the return type.
    Clearly, a generics mechanism with type inference could infer the appropriate throws and return type for the DoDBOperation call, given the compile-time type of the parameter.

    Ahh, i think I'm starting to see. My guess is that to achieve that in the current generic Java proposal, it would need to look something like:
    public interface OperationInterface<T extends Object, X extends Exception>
       <T> doOperation() throws <X>
    public class LoggedOperation<T extends Object, X extends Exception> implements OperationInterface<T, X>
      OperationInterface<T, X> delegatee;
      public LoggedOperation<T extends Object, X extends Exception>(OperationInterface<T, X> d)
        delegatee = d;
      <T> doOperation() throws <X>
        logStart();
        try {
          return delegatee.doOperation();
        finally {
          logEnd();
    Or somesuch.  The important thing to note is that the genericity is on the objects, not on their methods. So it can behave a little like you suggest, provided the class is created properly in the first place.
    Note: I haven't tried the demo version of the generic compiler, so I'm sure every line of that code is wrong.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Does SAP.Functions support unicode?

    Hi,
    I have an ASP page using Server.CreateObject("SAP.Functions") to connect to SAP ecc 6.0. Does anyone know whether the wdtfuncs.ocx supports unicode? The result i got back from SAP shows English contents correctly but not Cyrillic character. Source code is something like this
    Set oSAP = Server.CreateObject("SAP.Functions")
    Set oConn = oSAP.Connection
    oConn.User = sUID
    oConn.Password = sPWD
    oConn.Language = "EN"
    oConn.Destination = sServer
    oConn.Client = iClient
    oConn.GroupName = sServer
    oConn.MessageServer = sMessageServer
    oConn.codepage = "4110"
    oConn.Logon 0, True
    Set oRFC = oSAP.Add(SAPFunctionModueName)
    Set oParam = oRFC.Exports(ParameterName)
    oParam.Value = ParameterValue
    Set oOut = oRFC.Tables(SAPoutputTableName)
    oRFC.Call
    The SAP .net connector works well, but in this case i have to use the .ocx file trying to avoid rewriting existing application with .net.

    Sorry, the SAP version is 710

  • Is the XSLT format-number function supported by XMLType.transform()

    I am trying to use the XSLT format-number function in a stylesheet via myXMLType.transform(myXSL) without any luck. For example, <xsl:value-of select="format-number($myNum,'#,###.00')/>. This works ok under the java based XSLT engine.
    Is format-number supported by XML DB?
    I am running 9.2.0.5.
    Cheers
    Anthony

    I have upgraded to 10g and found that this now works.
    Cheers
    Anthony

  • AT10-A-103 - phone function supported?

    Do you know, is possible to make calls (GSM phone function) using this product?
    How to activate this function?
    It has Android 4.2.1 and G3 modem.

    This is a tablet and phone function isnt supported.
    The tablet supports the Mobile Broadband 3G (Huawei MU736) and it supports the HSPA+, GSM/GPRS/EDGE Wi-Fi technology.
    So you can use the mobile broadband.

  • Is SubmitForm java function support in iOS Reader?

    We have a form that uses the SubmitForm command in iOS.  We are using the submit to upload the form to a website.  This works well using the Reader on Windows platform, but not on the iOS device.  No action occurs when the Submit button is clicked.  I am running version 10.4.4 on the iOS device.  Is this feature supported or is it planned to be supported on the iOS device?
    Thank you.
    Robert

    We are submitting the whole file. Our JavaScript function will use a hidden field where a dynamic URL was stored for sending the complete pdf to the server where further actions are made with the file. This is the function:
    this.submitForm({
                    cURL: getField("strURL").value,
                    cSubmitAs: 'PDF'

  • Does the makeRequest() function support oauth?

    Hey there,
    I want to use the makeRequest() function with oauth as authorization type. But unfortunately there are no information about the supported authorization types.
    I found a documentation of an open source projekt, which implements a makeRequest() function too. It has the same signature and they use the same structure of parameters including oauth support. So I tried to use this with Streamwork, but it didn't work (at least there is no constant "com.streamwork.io.AuthorizationType.OAUTH").
    Therefore my question ist does Streamwork support oauth for the makeRequest()-function?
    Thanks
    Hendrik

    Its correct to say that we don't have native OAuth support currently. Its on our roadmap.
    I have successfully connected to a 3Legged OAuth type service once when I was doing some POC to connect to Box.net's web service.
    I think what you are looking for is the equivelant of the OpenSocial makeRequest which we don't currently have.
    Can you share your usecase so I can properly prioritize your request?

  • No JSTL FUNCTION support

    Does Jdev support JSTL FUNCTION taglib?
    such sd EL ${fn:substringAfter("...") }
    I did not find it on the component palette.
    thanks

    Refer to
    http://www.oracle.com/technology/products/jdev/tips/schalk/jstl_sql/jstl_sql.html

  • Design Studio 1.3 SDK - Are script contributions for SAPUI5 method functions supported?

    All of the SAPUI5 SDK component examples provided with the Design Studio Samples demonstrate how to expose property getter/setter functions as script contributions.  Indeed, the SDK Developer Guide also just focuses on this.  However, UI5 controls may also include method functions that allow certain actions to be performed on the control.  In this context, I have the following questions:
    1)  Is it possible to expose method functions via script contributions in the contribution.ztl file?  If yes, what is the correct syntax for doing so?  Based on my experimentation so far, it seems like method functions cannot be exposed directly via script contributions;
    2)  If method functions are not supported for script contributions, are there any recommended approaches as a workaround?  One possible approach that comes to mind is as follows:
    i)  Define an invisible "dummy" property of type boolean to correspond with each method function that we want to expose as a script contribution;
    ii)  Define invisible properties to correspond to the parameters required by the method functions;
    iii) In the contributon.ztl code, perform the following tasks:
    (a) Set the invisible parameter property values that correspond to the desired method function;
    (b) Invoke the dummy property getter or setter function by getting or setting the boolean value of the dummy property in the contribution.ztl code;
    iii).  Override the corresponding dummy property getter or setter function in the component.js code with additional logic to read the invisible parameter property values and then call the method function.
    Any feedback would be appreciated.
    Thanks,
    Mustafa.

    Hi Mike,
    Thanks very much for your suggestion.  Your mind-bogglingly creative solutions never cease to amaze me .
    Reviewing the code, yes I did wonder about the use of the Math.random() function.  Then when I subsequently read your explanation about the state saving, the penny dropped as to the issue I was experiencing with the approach I had previously tried (as described in point form in my question), whereby I could not invoke the setter function multiple times from the BIAL script.  So I added a call to the fireDesignStudioPropertiesChanged() function, which has partially solved my issue but the parameter properties are out of sync.
    I'll describe what I've implemented and hopefully you can shed some more light on how to resolve the issue:
    In the contribution.xml file I've defined invisible properties for the method function and it's parameters as follows:
    <component id="ActionLabel"
           title="Action Label"
           icon="res/com.infovizi.prototypes.actionlabel/icon.png"
           handlerType="sapui5">
          <jsInclude>res/com.infovizi.prototypes.actionlabel/js/component.js</jsInclude>
           <cssInclude>res/com.infovizi.prototypes.actionlabel/css/component.css</cssInclude>
           <property id="text" type="String" title="Text" visible="true" />
           <property id="showAlert" type="boolean" title="Show Alert" visible="false" />
           <property id="alertText1" type="String" title="Alert Text 1" visible="false" />
           <property id="alertText2" type="String" title="Alert Text 2" visible="false" />
           <initialization>
                <defaultValue property="SHOWALERT">false</defaultValue>
                <defaultValue property="TEXT">"Hello"</defaultValue>
           </initialization>
      </component>
    In the contribution.ztl file I've defined a script method to invoke a method function for displaying an alert as follows:
    class com.infovizi.prototypes.ActionLabel extends Component {
      /* Displays an alertbox */
      void showAlertBox(/* Text 1 */ String alertMsg1, /* Text 2 */ String alertMsg2) {*
      this.alertText1 = alertMsg1;
      this.alertText2 = alertMsg2;
      this.showAlert = true;
    In the component.js file, to keep things simple I've chosen the UI5 Label control to extend with a custom method function that I want to invoke via the script contribution as follows:
    sap.ui.commons.Label.extend("com.infovizi.prototypes.ActionLabel",{
      metadata : {
         properties : {
          "showAlert" : "boolean",
            "alertText1" : "string",
            "alertText2" : "string"
      initDesignStudio: function(){
      renderer:{},
      // Override ShowAlert setter to perform action
      setShowAlert: function(alertState){
      if(alertState == true) {
      this.displayAlert(this.getAlertText1(),this.getAlertText2());
      // Reset showAlert property value to "false" and call fireDesignStudioPropertiesChanged()
      // to allow setShowAlert function to be invoked multiple times via BIAL script
      this.showAlert = false;
      this.fireDesignStudioPropertiesChanged(["showAlert"]);
      return this;
    // Alert method
      displayAlert: function(alertMsg1, alertMsg2){
      alert("Message: " + alertMsg1 + " " + alertMsg2);
    I then created a DS app with the following script in the click event of a button to invoke the method function in the custom Label control:
    ACTIONLABEL_1.showAlertBox("Hello", "World!");
    After launching the application and clicking the button for the first time, the alert display function is displayed as expected but the parameters have not been updated, even though they are updated in the script contribution function, so the parameters are not displayed, as follows:
    After the alert is dismissed and the DS button is clicked again, this time the parameters are passed correctly as follows:
    So the parameter updates for alertText1 and alertText2 seem to be out of sync for some reason.  I'm sure I'm missing a nuance here.  Any ideas?
    Conceptually, I'm just trying to achieve what Leandro Cardoso has done with the script contribution action function calls in his Notify component.  The only difference is that I'm implementing HandlerType "sapui5" instead of "div".
    Any thoughts about the parameter syncing issue would be appreciated.

  • Functionality supported in GL module of Oracle Financials 11i?

    I need your help to find out if the following functionality is supported in GL module of Oracle Financials-
    1) The system should provide the ability to have ledgers and sub-ledgers, parent-child-grandchild-great grandchild account relationships with a roll up facility
    2) System should provide the ability to have off-balance sheet accounts
    3) The system should provide the ability to modify the Chart of Accounts and still maintain the integrity of historical information
    4) System should handle the provisioning
    Thanks in Advance

    I would recommended talk to Oracle Support Rep for this, or post it under Application Modules Section for Functional Questions.

Maybe you are looking for

  • Mail - url link color changes in mail signature

    Hello all, I've just tested a new signature, created in mail.  In it, I use a couple of custom colors to match our company colors.  Looks great.   However, when I send it out to myself to test, my email info in the signature [email protected] and our

  • Error in import jxl.Sheet in Web dynpro

    Hello everyone, I am facing a issue , teher was a DC which was craeted by my earlier peers and I need to modify the DC but when I load the DC in my NWDS i get errors i.e. error in imports of the following import jxl.Sheet; import jxl.Workbook; import

  • Putting pictures into iTunes

    I need some help with this. I am trying to put a couple pictures of mine into itunes and then transfer it to my ipod. When I try and drag the photo into iTunes nothing appears. It doesn't work. I get a red circle with a cross in the middle indicating

  • Installing Zen Micro on an Apple iB

    I am trying to install a Creative Zen Micro onto an Apple iBook. Is this possible? and if so can someone help with instructions on how to do so. I just bought the refurbished iBook and an clueless on how to install this MP3 player. I have tried e-mai

  • ITunes won't start & messes with computer.

    Whenever I click the shortcut to run iTunes, the program never actually shows up. Looking in the Task Manager shows that the process is running, but the program itself is not accessible. I am also unable to end the process. It just doesn't respond. I