Rtrim in OBIEE

how to handle rtrim in OBIEE ? Do we have similar function available in OBIEE ?
Thanks in Advance

Check this Re: How to trim spaces from string in BMM layer?

Similar Messages

  • OBIEE generated SQL differs if it's a Physical Table or Select Table...

    Hi!
    I have some tables defined in the Physical Layer, which some are Physical Tables and others are OBIEE "views" (tables created with a Select clause).
    My problem is that the difference in the generated SQL for the same table, differs (as expected) whether it is a Physical Table or a "Select Table". And this difference originates problems in the returned data. When it a Physical Table, the final report returns the correct data, but when it is a Select Table it returns incorrect/incomplete data. The report joins this table with another table from a different Database (it is a join between Sybase IQ and SQL Server).
    This is the generated SQL in the log:
    -- Physical Table generated SQL
    select T182880."sbl_cust_acct_row_id" as c1,
    T182880."sbl_cust_acct_ext_key" as c2,
    T182880."sbl_cust_source_sys" as c3
    from
    "SGC_X_KEY_ACCOUNT" T182880
    order by c2, c3
    -- "Select Table" generated SQL
    select
         sbl_cust_acct_ext_key,
         ltrim(rtrim(sbl_cust_source_sys)) as sbl_cust_source_sys,
         sbl_cust_acct_row_id,
         sbl_cust_acct_camp_contact_row_id,
         ods_date,
         ods_batch_no,
         ods_timestamp
    from dbo.SGC_X_KEY_ACCOUNT
    As you may notice, the main difference is the use of Aliases (which I think that it has no influence in the report result) and the use of "Order By" (which I start to think that it its the main cause to return the correct data).
    Don't forget that OBIEE server is joining the data from this table, with data from another table from a differente database. Therefore, the join is made in memory (OBIEE Engine). Maybe in the OBIEE Engine the Order by is essential to guarantee a correct join...but then again, I have some other tables in the Physical Layer that are defined as "Select" and the generated SQL uses the aliases and the Order by clause...
    In order to solve my problem, I had to transform the "Select Table" into a "Physical Table". The reason it was defined as a "Select Table" was because it had a restriction in the Where Clause (which I eliminated already, althouth the performance wil be worse).
    I'm confused. Help!
    Thanks.
    FPG

    Hi FPG,
    Not sure if this is a potential issue for you at all, but I know it caused me all kinds of headaches before I figured it out. Had to do with "Features" tab Values in the database object's settings in the Physical Layer:
    Different SQL generated for physical table query vs. view object query?
    Mine had to do with SQL from View objects not being submitted as I would expect, sounds like yours has more to do with "Order By"? I believe I remembered seeing some Order By and Group By settings in the "Features" list. You might make a copy of your RPD and experiement around with setting some of those if they aren't already selected and retesting your queries with the new DB settings.
    Jeremy

  • Use EVALUATE function in obiee

    Hi ALL
    i hv a database query like this;
    select
    deptno,
    rtrim (xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enamesfrom
    emp
    group by
    deptno;
    now, i want to use this using Evaluate function in obiee column formula.
    thn how to do it.
    Please reply.
    THX
    SAP

    Hello SAP,
    I have seen you for sometime and one thing I came to know is you are creating threads and once you got your solution or you dont feel to follow up you are just leaving the thread.
    see few here,
    Sorting month name
    Drill down problem
    Re: Filter in Union Request
    so please better close the threads which are answered and proceed further.

  • Error while running a KPI Watchlist in obiee 11g dashboard

    I am getting the following error while running a KPI Watchlist :
    *" Odbc driver returned an error (SQLExecDirectW) "*
    I added two KPI's (KPI 1 & KPI 2)into that Watchlist , one from the default "Sample Sales Lite" (sub 1) and another from sub 2 which have essbase as data source .
    KPI 1 (created from sub 1) is working fine , but while placing KPI 2 (created from sub 2 ) in the watchlist , its throwing the above error . However , while running KPI 2 individually , its showing meaningful results .
    Let me know if the problem statement is not clear .
    OBIEE version used : 11.1.1.5.0 .

    Could anyone reply this thread. I am also getting the same error . Even server logs are also not helping.

  • OBIEE 11g - without going to Sawbridge first.....

    If you called OBIEE via the default path: http://domain-name/analytics?NQuser=xxx&NQpassword=xxxx
    instead of
    http://domain-name/analytics/saw.dll?NQzuser=xxx&NQpassword=xxxx  
    would your credentials be checked by weblogic before the default login jsp has access to the request parameters or after?
    Or does weblogic/OBIEE  stop you passing parameters to the default URL?
    What I'm trying to say is, if you go via the default domain without calling saw.dll first can you pass an encrypted password to your bespoke login.jsp (default.jsp) within the analytics domain and get this default.jsp
    to convert the password to plain text and then this default.jsp calls (forwards) to saw.dll....

    I have been trying to log in with my YouTube account name and password like usual. I just tried using my gmail log in and it works. Did they merge or something? It was working yesterday just fine without me changing the way I logged in. Either way, thanks for the help! Works great now
    Message was edited by: EvoXFTW

  • Error while creating Bi presentation service in obiee(11.1.1.3)

    Hi,
    Im using Jdeveloper(11.1.1.5) and OBIEE(11.1.1.3)
    I created a ADF application in Jdev and when I try to create a BI presentation services I'm getting the following error message.
    *Connection attempt failed.*
    *java.lang.RuntimeException: Unable to retrieve logon token. This version requires a BI build that implements the version 7 SOAP interface. Please verify that you are using the correct BI version.*
    does the creation of presentation service in jdev(11.1.15) work only with OBIEE(11.1.1.5) and not OBIEE(11.1.1.3).
    please help!
    Thanks,
    Venky
    Edited by: Venky on Jul 26, 2011 2:02 PM
    Edited by: Venky on Jul 27, 2011 6:18 AM

    Venky,
    The SOAP interface released with OBIEE 11.1.1.3 is version 6 (v6) as you can see from its WSDL URL.
    This would leave one only to believe that the SOAP interface released with OBIEE 11.1.1.5 is version 7.

  • OBIEE error while scheduling the report.

    Hi,
    I scheduled one report in OBIEE tool for 8.30 pm but that report get failed.
    I executed the same report many times with the same database configuration, same FTP configuration,
    I never get such exception before.
    In the morning i again execute that report with same configuration and it works.
    I am unable to find the cause of the error.
    bellow is the error description.
    oracle.apps.xdo.servlet.scheduler.ProcessingException: java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress
    could any body please explain what is the exact cause of the issue.

    The oracle Db you are connected is being shut-down.

  • How to embed user credentials in Secured Web Service from OBIEE 11gFMW?

    I am trying to invoke a webservice that I successfully exposed as a WSDL Web Service using EBS Integrated SOA Gateway. I am using OBIEE 11g Action Framework which uses WebLogic.
    Here are the steps I completed:
    - I exposed a WSDL web service in EBS R12 via Integrated SOA Gateway
    - I granted the access to this service in EBS R12 to user SYSADMIN
    - I used OBIEE 11g to make a Action to call the Web service (using Action Framework) by searching for the WSDL
    - When I try to execute the action: I get the error:
    Action could not be invoked.
    ServiceExecutionFailure :
    Error invoking web service HR_PHONE_API_Service at endpoint http://ip-10-87-33-3.ec2.internal:8000/webservices/SOAProvider/plsql/hr_phone_api/ Missing <wsse:Security> in SOAP Header
    PROBLEM: I am unsure how to add the credentials for SYSADMIN user and password to add the SOAP username/pwd to the outgoing call. According to the documentation in the Integrators guide, FMW Security guide, and Web Logic guides..seems we have to configure the SOAP call to have the proper credentials. The documentation is not very clear on exactly how to do this. I tried to set up the credential store and an account in ActionFrameWorkConfig.xml but I am still missing something. I am logged into OBIEE as biadmin and I am trying to call a webservie in EBS that is granted to SYSADMIN/sysadmin user. Pls advise.

    I am trying to invoke a webservice that I successfully exposed as a WSDL Web Service using EBS Integrated SOA Gateway. I am using OBIEE 11g Action Framework which uses WebLogic.
    Here are the steps I completed:
    - I exposed a WSDL web service in EBS R12 via Integrated SOA Gateway
    - I granted the access to this service in EBS R12 to user SYSADMIN
    - I used OBIEE 11g to make a Action to call the Web service (using Action Framework) by searching for the WSDL
    - When I try to execute the action: I get the error:
    Action could not be invoked.
    ServiceExecutionFailure :
    Error invoking web service HR_PHONE_API_Service at endpoint http://ip-10-87-33-3.ec2.internal:8000/webservices/SOAProvider/plsql/hr_phone_api/ Missing <wsse:Security> in SOAP Header
    PROBLEM: I am unsure how to add the credentials for SYSADMIN user and password to add the SOAP username/pwd to the outgoing call. According to the documentation in the Integrators guide, FMW Security guide, and Web Logic guides..seems we have to configure the SOAP call to have the proper credentials. The documentation is not very clear on exactly how to do this. I tried to set up the credential store and an account in ActionFrameWorkConfig.xml but I am still missing something. I am logged into OBIEE as biadmin and I am trying to call a webservie in EBS that is granted to SYSADMIN/sysadmin user. Pls advise.

  • Date Variable in Obiee 11g

    Hi All,
    I have created a dynamic repository variable that gives the current date. The date is given in the following format 'MM/DD/YYYY'. This is format that I want the date to appear in. In the presentation catalog, I have created a presentation variable dashboard promt called StartDate, that defaults to the repository variable CurrentDate. I have also created a report that has a number of measures filtered in different ways. If we take one of the measures in the report, what I have done is edited the formula to filter the measure by reported_date>Date'@{StartDate}'.
    Now when I got and see my dashboard I get an error, 'Datetime value 06/07/2011 from 06/07/2011 does not match the specified format'. However when I click 'Apply' on the prompt, the error does not appear and it just says that there is no data for this report.
    Can someone please help me solve this problem?
    Thanks,
    Nikita

    I solved this issue by using steps listed here http://gerardnico.com/wiki/dat/obiee/cast_as_date.
    Thanks

  • Login issue in OBIEE 11g

    Hi Experts,
    We are using OBIEE 11g
    We are facing the strange issue while accessing the presentation services login page.
    I had uploaded the RPD file using EM,it is working for 1 hour with out any issue.
    After some time the fallowing error is coming. then we are not able to access presentation services,
    I had observed all the services are down in EM>Capasity manage ment tab.
    Longing screen is coming ,but after entering the credentials ,it is showing login into…but not at all opening the window.
    Error connecting to the Oracle BI Server: Could not connect to the Oracle BI Server because it is not running or is inaccessible. Please contact your system administrator.
    Error Codes: WH4KCFW6:OPR4ONWY:U9IM8TAC
    Odbc driver returned an error (SQLDriverConnectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 12002] Socket communication error at call=Connect: (Number=0) Call=NQRpc: An unknown socket communications error has occurred.
    [nQSError: 12010] Communication error connecting to remote end point: address = SERVERNAME.com; port = 9706.
    [nQSError: 12008] Unable to connect to port 9706 on machine SERVER_NAME.com.Please have your System Administrator look at the log for more details on this error. (HY000)
    Thanks in advance.

    Hi ,
    I normally do this to fix this problem
    1>Disable the network , keep the loopback adaptor enabled and then restart the services.
    2> You can enable the network after services are restarted.
    If you want a more practical solution and dont want to disable network again and again, then you would find the blog below useful.
    http://www.rittmanmead.com/2012/08/obiee-fmw-and-networking-on-dhcp-hosts/
    Hope this help.
    Thanks,
    Maqsood

  • Query is allocating too large memory error in OBIEE 11g

    Hi ,
    We have one pivot table(A) in our dashboard displaying , revenue against a Entity Hierarchy (i.e we have 8 levels under the hierarchy) And we have another pivot table (B) displaying revenue against a customer hierarchy (3 levels under it) .
    Both tables running fine under our OBIEE 11.1.1.6 environment (windows) .
    After deploying the same code (RPD&catalog) in a unix OBIEE 11.1.1.6 server , its throwing the below error ,while populating Pivot table A :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)*
    But , pivot table B is running fine . Help please !!!!!
    data source used : essbase 11.1.2.1
    Thanks
    sayak

    Hi Dpka ,
    Yes ! we are hitting a seperate essbase server with Linux OBIEE enviorement .
    I'll execute the query in essbase and get back to you !!
    Thanks
    sayak

  • I cant able to create a new Analysis and Dashboard prompt in OBIEE 11g

    Hi Gurus,
    i try to create a new Analysis in OBIEE 11g in (brower: ie,Google chrome, Mozila), i got the error "*unterminated string literal*" and "*Exception at function updateSelectionsPanel: unterminated string literal*".
    and i try to create a new Dashboard Prompt using column prompt when i select the column i don't get the filter form and not to be add the column prompt in the Dashboard Prompt.
    Thanks,

    Moving this discussion to the Adobe Creative Cloud forum.
    Kriskristferson if you are facing difficulties with your order then please contact our support team directly at Contact Customer Care.

  • Error in Privileges of OracleSystemUser in OBIEE 11g

    Hi,
    We are encountering an error with OracleSystemUser.
    The policy referenced by URI "oracle/wss_username_token_client_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://servername:7001,servername:9704" due to invalid configuration or inactive state.
    *<Warning> <oracle.wsm.resources.policymanager> <WSM-02310> <Failed to retrieve requested documents due to underlying error "java.rmi.AccessException: [EJB:010160]Security Violation: User: 'OracleSystemUser' has insufficient permission to access EJB: type=<ejb>, application=wsm-pm, module=wsm-pmserver-wls.jar, ejb=DocumentManager, method=retrieveDocuments, methodInterface=Remote, signature={java.lang.String,java.util.Map}.". The operation will be retried.>*
    After successfully integrating Active Directory in Weblogic, the error was triggered while implementing privileges to dashboard objects. Currently, we can login to Weblogic and EM but we cannot login to Analytics. All logs in the BI Server and Admin Server logs show the above error.
    Please help, thank you
    Edited by: 878720 on Sep 27, 2011 8:19 PM
    Edited by: 878720 on Sep 27, 2011 8:19 PM
    Edited by: 878720 on Sep 27, 2011 8:19 PM

    Hi,
    Please Change control flag of default authentication provider (in weblogic domain) from REQUIRED to SUFFICIENT . More on control flag in WebLogic Authentication Provider
    Refer :
    http://onlineappsdba.com/index.php/2011/06/21/unable-to-login-to-obiee-anylytics-after-oid-integration-user-was-authenticated-but-could-not-be-located-within-the-identity-store/
    Thanks
    Deva

  • OBIEE 11g: Dashboard Javascript Issue

    Hi Gurus,
    We have upgraded obiee from 10g to 11g and finding issues with javascript in a dashboard.
    Functionality: There are some custom labels showing prompt values in it with large font. When user change prompt value and Apply, it should change the value of those text as well.
    In 10g its running fine, but in 11g its not happening after we change the value of prompts. I found the following Javascript is responsible for this functionality. Even I saw one thread to suggest the exactly same code, but in 10g.
    <script type="text/javascript">
    (function(){
    var tblTag = document.getElementsByTagName('table');
    var tdElem= document.getElementsByTagName('td');
    for(m=0;m<tdElem.length;m++){
    if(tdElem[m].className=='GFPSubmit'){tdElem[m].childNodes[0].tBodies[0].rows[0].cells[0].childNodes[0].childNodes[0].innerHTML='Run Report';
    }//close if statement
    }//close for loop
    }// close function clickVal()
    </script>
    Thread:
    Change Go Button Text on Prompt Only
    I need to understand what its actually doing? and Does it really work in 11g? Whats the alternative code?
    Thanks in advance.

    In 10g these are the html objects, after upgrade you need to know the html objects for that report based on that you need to modify javascript code.
    From given code, activity is doing on these objects; You need to find out the equivalent object name for 'GFPSubmit' in 11g.
    GFPSubmit
    table
    td
    If make sense mark

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

Maybe you are looking for

  • How to Copy BoM from one organization to another Organization

    Hi We are using Oracle EBS 11i, we are having problem that when one of our finished Product moved from one org to another we are not be able to copy and we have to do manually enetr each line of BoM in new Org, Any one can help me to find out the sol

  • Photoshop elements 10 install help

    I recently bought Photoshop elements 10. I have tried installing on my desktop and it won't read it and is treating the disc as if it were blank. I put the cd in my laptop and my laptop ran it fine and was allowing me to install. I have deleted and u

  • Adobe Reader 9.4.x crashes ...

    Download http://www.dat.de/e10liste/e10vertraeglichkeit.pdf and open. It will crash on Windows 2000 with Adobe Reader 9.4.0 or Adobe Reader 9.4.2 Please fix it.

  • Attendance issue

    Hello Experts, I have one Query regarding Attendance : In Detail When i am giveing Infotype 2002 for attendance it shows the errror in green flag that : Only records of less than one day allowed for attendance/absence type TRS1.  in that TRS1 is Attd

  • Difference between SUM values in adjoining rows

    Hi I've written following query: DECLARE @Decision_Group nvarchar(10) = 'All', @Entry_Month INT = 09, @In_Use CHAR(1) = 'Y', @Scheme nvarchar(05) = 'UGS', @Subject_Area nvarchar(10) = 'ART', @Location nvarchar(10) = 'UOB', @Home_Overseas nvarchar(05)