System time through session variable

Hi Expert,
Could anyone please give some idea about how to retrieve the values given by the user session state variable ?
thanks.

Hi,
You can get the server date and time using sysdate in SQL or PL/SQL.
Which in turn implies that you will have to retrieve it using either a Computation or Process. If its ajax, then it would be an application process.
In SQL
select sysdate from dualIn PL/SQL
declare
  l_date date;
begin
  l_date = sysdate;
  -- or
  select sysdate into l_date from dual;
end;Regards,

Similar Messages

  • How to change system time through java program

    Hi
    I want to know, how to change system time through java program.
    give me a idia with example.
    Thanks

    There isn't any core Java API for this. Use JNI or call an external process with Runtime.exec().
    ~

  • I want to get and set windows system time through lab view

    Hi
    I want to get and set windows system time with the help of lab view 8.5.
    please help me out.
    ekanth

    You can use the call library function node. Once you drop it on your block diagram double click it and you will be able to select the dllyou want to use. Choose kernel32.dll and you will see methods listed called getsystemtime and setsystemtime. Use those
    CLA, LabVIEW Versions 2010-2013

  • Direct database request and session variable value

    Hi,
    I have a problem by doing the following : idea is to have report with a list of all tables in user schema (which are not all in repository physical layer).
    By clicking on the name of any, should bring answer report which is done as direct database request doing basically select * from table_clicked (this will be basically the same table with sufix _err holding error rows).
    What I'm trying to do is having some kind report for error rows which can be in different tables in my database. So i had in mind to construct name of table i need , and pass it to database request through session variable. Am i doing right by doing direct database request like this :
    select * from 'VALUEOF(NQ_SESSION.TestVar2)'
    Is there another easyer way of doing this? I know this can be done by gourl by passing parameters but not sure how when i can't filter columns in direct database request (this can be different tables with different names of columns). I hope i didn't complicated this too much.
    Thnx in adwance

    Hi,
    I know this is a hack, and would be much more easy to create one table with dimension and measures, but this is intended to be used with code generator, which can produce different error tables with different column names in different time: It is not conviniet for somebody to add them to repository every 5 minutes. For example : i run my workflow and for first run I have errors in table1(let us say customer table with 30 columns) and if click on the table name in some answer report, i want to see all the bad records in the table. Tomorrow after the run, there are bad records in table1 and in table2 (lets say products) so I would have choice to pick table 1 or table2 and see al the bad records in any of these tables. This means that I can not now which tables will I have tomorrow, and as it is generic, I can manually add some tables in my model, and would have to add err table also as a possibility to have error rows?
    I saw post saying that you can pass parameter value by using go url functionality, by modifying configinstance file, but didn't suceed - http://gerardnico.com/wiki/dat/obiee/logical_sql/obiee_session_variable_go_url . Maybe some mistake or any better solution? I created session variable TestVar2, also modified instanceconfig.xml by adding this before </ServerInstance>
    <ParamList>
    <Param name="NQ_SESSION.TestVar2" source="url" nameInSource="SETVAR"/>
    </ParamList>
    and used go url in column formula : ''||"Physical Targets"."Physical Table"||''
    Can I use @1 for using first column value?
    Thnx

  • SESSION VARIABLES : HOW TO TEST FOR MULTIPLE USERS

    I have a username session variable set up on a localhost testing envirnoment.
    This works fine for one user, but when I open another occurence of the browser (or just another tab) to test for multiple users the system overwrites the session variable with the last username input.
    So the question is:
             Why doesn't dreamweaver hold an instance of the session variable for each browser session? and if not what are your suggestions?
    Thanks
    Adam.

    Thanks for that.
    After scouring the internet I found the only way of running 2 instances of firefox  without them sharing the session variables is to create 2 new firefox profiles in windows + set the MOZ_NO_REMOTE environment variable.
    Internet explorer is much easier as it has a 'new session' option in the file menu, but seems to have more trouble displaying tables correctly.
    Hope this helps anyone with a similar problem.

  • Session variable is lost

    I have developed a system and it had been used for 6 month
    already, it started had problem last week, user can log in system ,
    but after they click the each menu tab, the system give message
    "please login system" because the session variable is lost.
    I tried to debug the file and find that the session.userID is
    there in the file where I set it, but it become empty in other
    page.
    The weird thing is that it did not happen to everyone, most
    of user don't have problem, only a few user login and the session
    variable is lost after they move from login page to different page,
    when I did cfdump to output all session varibale, I found that
    seesionid changed from page to page for those user who had problem,
    the user who had problem now did not had problem before and I did
    not change any code, I tried the internet setting which still did
    not fix problem.
    I am wondering whether it is related to cold fusion server
    setting.
    Please give some advice.

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Program to Set System Time in Java

    Is there any way to set the system time through Java. If there is can you help me some information.
    Regards,
    Shivakumar Thota

    Hey Hey,
    You could run Runtime.exec() to execute a command such as VBScipt to do it.
    Other than that you may have to take a look at Java Native Interface(JNI) that will basically take control of doing anything you need.
    Also, You may want to post this in "New To Java" or some other forum other than Java Web Start. You'll get more people to help ya.
    Hope this helped,
    --Ryan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • System session variable ':GROUP'

    Dear Friends,
    I am having an issue with retrieving a value for the reserved system session variable :GROUP IN OBIEE 11.1.1.5
    From what I’ve read in the other posts I should be able to use :GROUP variable after where clause, and if there is more than one group assigned to a user INSTR should take care of this case. However I can’t get this to work.
    I am using row-wise variable, here is the code
    select 'ORGANIZATIONS' , s.ORGANIZATION_ID
    from T_VZA_SECURITY s
    where
    INSTR(':GROUP', trim(s.group_id)) > 0
    --INSTR('MyGroup', trim(s.group_id)) > 0
    I also tried to replace ':GROUP' session variable with 'VALUEOF(NQ_SESSION.GROUP)'
    my security table
    create table T_VZA_SECURITY
    (GROUP_ID VARCHAR(20),
    ORGANIZATION_ID VARCHAR (20),
    OWNING_DEPARTMENT_ID VARCHAR (20),
    ASSIGNED_DEPARTMENT_ID VARCHAR (20)
    Thank you

    I can't test my statement, it comes back with the error if i specify system session variable. If i replace a group variable with the string it works.
    I don't see how i can set the execution order - i only have one init block with row-wise initialization enabled. Basically followed
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-row-level-security/
    guide, and it does work for :USER but doesn't for :GROUP.
    Thank you for spending time to look at the issue!

  • The session variable, NQ_SESSION.OU_ORG, has no value definition.Please have your System Administrator look at the log for more details on this error. (HY000)

    Hi All,
    I have created a user 'Bitest' and group 'Bi_Test_Group'. Assigned the user to the group and the group to BI consumer role.
    I gave access to only procurement and spend catalog folder reports and Dashboards.
    When I login to BI Presentation Services with above created user and open any procurement and spent catalog dashboard i am getting below error in every report.
    Its BI Apps 7.9.6.3 installation.I gave read  access to group to all procurement and spent subject area.
    Error Codes: OAMP2OPY:OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P 
    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: 23006] The session variable, NQ_SESSION.OU_ORG, has no value definition.Please have your System Administrator look at the log for more details on this error. (HY000) 
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT Fact."PO Amount" FROM "Procurement and Spend - Purchase Orders"')}
    SQL Issued: SELECT Fact."PO Amount" FROM "Procurement and Spend - Purchase Orders"
    Please help me in resolving this issue and getting results on Dashboard.
    Thanks in advance
    Thanks,
    Sandeep

    Check your query or connection pool settings etc

  • How to default bind variable using session variable at run time

    Hi All,
    I have a requirement where all VO queries (multiple VOs) produce only records that meet a certain value.
    For example, I have three tables with 3 VOs and each of them has a one-to-many relationship to another table (let's call it ref table and this table has a field called release). One of the 3 VOs is a parent/master table, and the other two are child tables. I created a VO for master table that linked to the ref table and created a view criteria using the release (use bind variable) field from the ref table. The other child tables have their own VO that has view criteria that also linked to ref table using the release field.
    On the UI page, I created a query component and a table from the master table VO. I also dropped the child table VOs in a tabbed panel which partial triggered by the master table. When I ran a query for a 'release' (hint: ref table value), the table for master table was filled the correct records that meet the criteria. Unfortunately, the child tables were not correct due to the query didn't use the bind variable that filter only records for the same 'release' value as the master table.
    The question is how do I 'default' or dynamically set the bind variable on the child tables based on the selection criteria from the query component. I am thinking to set a session variable from the query and use it in the bind variable in the child table, but not sure how to do it.
    Any suggestion how to do it or better solution to achieve the same effect?

    Hi,
    How about creating a custom AMImpl method, that takes parameters as required, and set the bind variables for all the desired VOs and perform executeQuery on them.
    You could expose this as client interface, and then use the method as parameter form.
    Check this thread for ex.
    Re: Setting Attribute in View Object through Managed Bean
    -Arun

  • Mac Sleep Timer (through 'Energy Saver' in System Preferences) won't work

    Hello,
    I have a MacBook (13-inch, Mid 2009) running Mac OS X Snow Leopard 10.6.3,
    and it has been installed with the latest software updates possible.
    (The latest update is the 'Security Update 2010-003')
    Previously I was using Mac OS X Leopard 10.5 on my MacBook,
    and I can vaguely remember the timed computer sleep through Energy Saver would work.
    That is, when the counter's time matches the amount of time I specified (e.g. 10 minutes), the computer enters sleep mode and displays a pulsing power light.
    After upgrading to Snow Leopard I can barely remember the scheduled computer sleep will work as I don't really notice how it sleeps / I will shut down my MacBook before I go to bed.
    ==========
    However, last night I was really tired and slept in front of my MacBook unconsciously.
    When I woke up, I found that my MacBook didn't display a pulsing power light but a continuously-growing power light.
    I tapped the trackpad and the display turned on, so I knew that my MacBook didn't go to sleep a whole night.
    *What that means is that the Sleep Timer (through 'Energy Saver' in System Preferences) won't work.*
    But the timed display sleep DOES work.
    ==========
    After spending a whole day Googling,
    I found that there are plenty of people suffering the same problem as me, although their Macs and OSs vary.
    I also found an official support page from Apple concerning the related issue:
    Mac OS X: Why your Mac might not sleep or stay in sleep mode
    http://support.apple.com/kb/HT1776
    I tried the following methods but still can't resolve the problem:
    _- boot my MacBook in safe mode_
    _- use the 'Disk Utility' to repair Disk Permissions through booting my MacBook from the Mac OS X Snow Leopard Installation DVD_
    _- reset NVRAM (Intel-based) (as PRAM is used by PowerPC-based Macs)_
    _- reset SMC (System Management Controller)_
    NONE of the above-mentioned methods can resolve the problem.
    Althought I am sure that the Spotlight isn't indexing the hard drive, and I just start my computer and do nothing and wait for the scheduled computer sleep, the scheduled computer sleep just won't work.
    In the other Mac forum, I saw someone suggest installing an application called PleaseSleep:
    http://www.dragonone.com/products/macosx/pleasesleep/
    It works.
    But I really want to find out what caused this problem as this is a function shipped with Mac which is expected to work normally.
    What's more, Apple is claiming to be a green Apple, right?
    ==========
    Here's the log taken from 'Console':
    - Sleep by closing the lid of my MacBook:
    Apr 18 13:21:05 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback WILL sleep
    Apr 18 13:21:05 Michael-Leungs-MacBook PleaseSleep[288]: Sleep notification received from the system
    Apr 18 13:21:07 Michael-Leungs-MacBook configd[37]: network configuration changed.
    Apr 18 13:23:21 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback will power on, Currenttime:4/18/2010 1:23:21.028 PM - Waketime:4/18/2010 1:23:19.410 PM = Deltatime:1.618421972
    Apr 18 13:23:21 Michael-Leungs-MacBook loginwindow[25]: handleUnlockResult, Currenttime:4/18/2010 1:23:21.579 PM - Waketime:4/18/2010 1:23:19.410 PM = Deltatime:2.169138968
    Apr 18 13:23:23 Michael-Leungs-MacBook configd[37]: Sleep: Success - AC 98 - Clamshell Sleep
    Apr 18 13:23:23 Michael-Leungs-MacBook configd[37]: Wake: Success - AC 98 - EC LID0
    Apr 18 13:23:23 Michael-Leungs-MacBook configd[37]: Hibernate Statistics
    Apr 18 13:23:23 Michael-Leungs-MacBook PleaseSleep[288]: Wake notification received from the system
    - Sleep by manually clicking the Apple logo in the upper left corner of the screen -> 'Sleep':
    Apr 18 13:31:46 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback WILL sleep
    Apr 18 13:31:46 Michael-Leungs-MacBook PleaseSleep[288]: Sleep notification received from the system
    Apr 18 13:31:49 Michael-Leungs-MacBook configd[37]: network configuration changed.
    Apr 18 13:32:04 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback will power on, Currenttime:4/18/2010 1:32:04.033 PM - Waketime:4/18/2010 1:32:02.720 PM = Deltatime:1.313067079
    Apr 18 13:32:04 Michael-Leungs-MacBook loginwindow[25]: handleUnlockResult, Currenttime:4/18/2010 1:32:04.589 PM - Waketime:4/18/2010 1:32:02.720 PM = Deltatime:1.869303048
    Apr 18 13:32:06 Michael-Leungs-MacBook configd[37]: Sleep: Success - AC 98 - Software Sleep
    Apr 18 13:32:06 Michael-Leungs-MacBook configd[37]: Wake: Success - AC 98 - OHC1
    Apr 18 13:32:06 Michael-Leungs-MacBook configd[37]: Hibernate Statistics
    Apr 18 13:32:06 Michael-Leungs-MacBook PleaseSleep[288]: Wake notification received from the system
    - Sleep by manually pressing control + eject, and the press 'Sleep':
    Apr 18 13:34:17 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback WILL sleep
    Apr 18 13:34:17 Michael-Leungs-MacBook PleaseSleep[288]: Sleep notification received from the system
    Apr 18 13:34:46 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback will power on, Currenttime:4/18/2010 1:34:46.080 PM - Waketime:4/18/2010 1:34:44.720 PM = Deltatime:1.360466003
    Apr 18 13:34:46 Michael-Leungs-MacBook loginwindow[25]: handleUnlockResult, Currenttime:4/18/2010 1:34:46.564 PM - Waketime:4/18/2010 1:34:44.720 PM = Deltatime:1.844347000
    Apr 18 13:34:46 Michael-Leungs-MacBook configd[37]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 566 ms
    Apr 18 13:34:46 Michael-Leungs-MacBook configd[37]: bootpsessiontransmit: bpf_write(en0) failed: Network is down (50)
    Apr 18 13:34:46 Michael-Leungs-MacBook configd[37]: DHCP en0: INIT transmit failed
    Apr 18 13:34:46 Michael-Leungs-MacBook configd[37]: PMConnection IPConfiguration com.apple.powermanagement.applicationresponse.slowresponse 567 ms
    Apr 18 13:34:46 Michael-Leungs-MacBook configd[37]: network configuration changed.
    Apr 18 13:34:48 Michael-Leungs-MacBook configd[37]: Sleep: Success - AC 98 - Software Sleep
    Apr 18 13:34:48 Michael-Leungs-MacBook configd[37]: Wake: Success - AC 98 - OHC1
    Apr 18 13:34:48 Michael-Leungs-MacBook configd[37]: Hibernate Statistics
    Apr 18 13:34:48 Michael-Leungs-MacBook PleaseSleep[288]: Wake notification received from the system
    - Sleep by _turning on the application called 'PleaseSleep' based on the settings from 'Energy Saver'_:
    Apr 18 13:37:22 Michael-Leungs-MacBook PleaseSleep[288]: Application is enabled
    Apr 18 13:37:29 Michael-Leungs-MacBook System Preferences[1136]: * AGCAttach() failed
    Apr 18 13:37:31 Michael-Leungs-MacBook [0x0-0x58058].com.apple.systempreferences[1136]: Couldn't find any matches.
    Apr 18 13:38:23 Michael-Leungs-MacBook PleaseSleep[288]: Checking sleep conditions...
    Apr 18 13:38:23 Michael-Leungs-MacBook PleaseSleep[288]: Going to sleep...
    Apr 18 13:38:23 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback WILL sleep
    Apr 18 13:38:23 Michael-Leungs-MacBook PleaseSleep[288]: Sleep notification received from the system
    Apr 18 13:38:56 Michael-Leungs-MacBook loginwindow[25]: loginwindow SleepWakeCallback will power on, Currenttime:4/18/2010 1:38:56.042 PM - Waketime:4/18/2010 1:38:54.720 PM = Deltatime:1.321902931
    Apr 18 13:38:56 Michael-Leungs-MacBook loginwindow[25]: handleUnlockResult, Currenttime:4/18/2010 1:38:56.571 PM - Waketime:4/18/2010 1:38:54.720 PM = Deltatime:1.850627959
    Apr 18 13:38:56 Michael-Leungs-MacBook configd[37]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 707 ms
    Apr 18 13:38:56 Michael-Leungs-MacBook configd[37]: bootpsessiontransmit: bpf_write(en0) failed: Network is down (50)
    Apr 18 13:38:56 Michael-Leungs-MacBook configd[37]: DHCP en0: INIT transmit failed
    Apr 18 13:38:56 Michael-Leungs-MacBook configd[37]: PMConnection IPConfiguration com.apple.powermanagement.applicationresponse.slowresponse 708 ms
    Apr 18 13:38:56 Michael-Leungs-MacBook configd[37]: network configuration changed.
    Apr 18 13:38:58 Michael-Leungs-MacBook configd[37]: Sleep: Success - AC 98 - Software Sleep
    Apr 18 13:38:58 Michael-Leungs-MacBook configd[37]: Wake: Success - AC 98 - OHC1
    Apr 18 13:38:58 Michael-Leungs-MacBook configd[37]: Hibernate Statistics
    Apr 18 13:38:58 Michael-Leungs-MacBook PleaseSleep[288]: Wake notification received from the system
    - If I disable 'PleaseSleep' and only depend on the non-working 'Energy Saver', nothing happens.
    ==========
    Looking forward to your replies! Thanks in advance!

    Found this discussion by googling "com.apple.systempreferencescouldn't find any matches"...
    One month ago I bought a brand new Macbook Pro 13", and after a couple of weeks I realized it wasn't sleeping on its own when it should, per the system preferences. (I did sleep when I chose "Sleep" in the menus or closed it... It just wouldn't sleep on its own, while open.) What was extra frustrating was that it was intermittent... It would sleep on its own maybe 1/3 of the time, but other times it would NEVER go to sleep. I deleted PowerManagement.plist, reset the SMC, etc... No luck.
    I took it to the "geniuses" at the Apple Store, and the guy took all of five minutes trying to diagnose the problem. When my MBP wouldn't sleep on its own, he promptly replaced it with a new one. That was nice, but I actually would have preferred that he diagnosed and fixed it. (I think the store was so swamped with people coming in for service that day that they were doing anything they could to close cases and get customers out of there ASAP.)
    Now, sitting here with my 48-hour-old MBP, I still have the problem. The other one was so new that I had barely put anything on it yet. The only applications I had put on it were MS Office for Mac 2011, Firefox, Chrome, and Adobe Flash Player. I've put Office and Flash Player on this one, but not yet Firefox or Chrome. That's it. No other customization or fancy business.
    I looked into the Console just now, and I see the "Couldn'tfind any matches" entry popping up again and again. The last three seemed to pop upright around the time when my MBP should have gone to sleep on its own, but not down to the second, so it's hard to definitively point at that and say it's it for sure.
    They need to fix this!!

  • Using row-wise multi-value GROUP system session variable in report filter

    The title says it all except I am using 10g OBIEE.
    What I want to do is filter on the dynamic system session variable GROUP created in a row-wise initialization block.
    The GROUP vriable is being set up correctly and it shows the user dynamically put into the correct groups in Answers.
    (Using the admin tool and looking at the user session, only the initial authentication block variables show up.)
    But if I want to filter using the value of GROUP it doesn't work.
    The obvious way is to choose the filter icon, then choose Add -> Variable -> Session, enter GROUP, and then display results.
    It comes back with no rows.
    Any idea how to do this? I've tried lots of things but none of them work either producing no rows or an error.
    This is the kind of Answers SQL this report is resulting in, which makes sense to me, but produces no rows.
    SELECT "Package Virtual Group (Dim)"."Package Virtual Group" saw_0, "Contact (Fact)"."Contacts All Count" saw_1 FROM "Case/Transaction/ABC" WHERE "Package Virtual Group (Dim)"."Package Virtual Group" = VALUEOF(NQ_SESSION."GROUP") ORDER BY saw_0

    866038 wrote:
    Errors come from trying things that don't work.
    For example, instead of =, using IN VALUEOF(NQ_SESSION.GROUP) or @{session.GROUP} or lots of other things.
    The question is this:
    how can I filter a column in Answers using the GROUP session variable which had been initialized in a row-wise initialization block?
    I can find no way to do it. Mostly it returns no rows.Hi,
    we had a similar requirement, where we have an external name that has project number values. We used row wise initialization to capture all the projects that a user belongs to. Then, we applied the filters at the RPD level, instead of doing it at the report level. From you requirement I see that you are trying to filter the groups based on user login. When a user logs in, he will see the information about the groups that he only belongs to. Correct me if I am wrong here.
    Assuming I am right about your requirement, providing the filter that you need apply in RPD.
    On all the fact tables are joined to the Package Virtual Group dimension, apply the below filter.
    case when 1=1 then (Dim)"."Package Virtual Group" END = VALUEOF(NQ_SESSION."GROUP");
    The reason for use of case statement here is, it converts the logical sql to IN Clause, helping us acheive the exact query that we would want.
    Please Award points if this helps.
    Thanks,
    -Amith.

  • Non-system session variable is not initializing

    Hi,
    I have created a non-system session variable using Row wise initialization, and using it in answers to filter a column. it is displaying below error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.Visible_All_Offices1, has no value definition. (HY000)
    I have tried all possible ways like giving the session variable in SQL result set, giving with quotes and without quotes. In all ways it is throwing the same error.
    I think this variable is not getting initialized when starting the session, is there any way to check it. this variable is also not showing in Manage > Sessions > Variables in OBIEE Admin.
    Please reply, if anyone faced similar issue. I am trying this from last 2 days.
    Thanks,
    Ash.

    When you run this sql query against the database, are you seeing results? and why are you using non-system session variables for this? Session variables are usually used to retrieve data into variables based on the user login.
    Check the following things:
    1) In variable target, make sure the row-wise initialization is checked.
    2) Make sure the cache option is UN-checked
    3) Run the sql against the database and make sure it is retrieving results.
    4) Try this in init block:
    select distinct 'Visible_Regions', NVL(Regions, '0') from SH.Regions_Dim A inner join SH.USER_Table B on A.employee_ID = B.employee_ID;
    -Amith.

  • Override the GROUP system session variable within an initialization block

    Hi,
    We're trying to override the GROUP system session variable and having no luck. We've created an initialization block to return the semicolon-separated list we're looking for but when a user logs in, it seems like it is overridden with the default. When we change the name of the variable to something other than GROUP, it works great and we get the expected value. Is there something we're missing with overriding the particular value?
    Here is the query we're attempting to use for the variable:
    Select 'GROUP',
       ListAgg(OBI_ROLE, ';') Within Group (Order By USER_EMAIL)
    From CSS_OBI_USER_ROLE
    Where USER_EMAIL In (':USER')
    We also tried:
    Select
       ListAgg(OBI_ROLE, ';') Within Group (Order By USER_EMAIL)
    From CSS_OBI_USER_ROLE
    Where USER_EMAIL In (':USER')
    We made sure that the variable name was 'GROUP' as well.
    Not sure if it's important to note or not, but the returned values do correspond to existing applications groups already defined within OBI.
    Any help is greatly appreciated!
    Thanks,
    Jas

    since you have value as OpsReviewViewer;OpsReviewAuthor:BIAdministrator
    my not help row wise setting
    try to handle ; part using sql query so that you get those number of records to use row-wise
    so this
    Select 'GROUP',
       ListAgg(OBI_ROLE, ';') Within Group (Order By USER_EMAIL)
    From CSS_OBI_USER_ROLE
    Where USER_EMAIL In (':USER')
    with row-wise show work

  • System session variable USER

    Hi,
    i have setup-ed the action links and used the USER variable for the EBS secuirty context init block as this
    EBS_RESP_ID
    EBS_RESP_APPL_ID
    EBS_SEC_GROUP_ID
    EBS_RESP_NAME
    EBS_USER_ID
    EBS_EMPLOYEE_ID
    USER
    Now for the sso configuration in the RPD i need to use the USER variable again as per the document (section A.1.1 )http://docs.oracle.com/cd/E14571_01/bi.1111/e10543/legacy.htm#BABFJEJF
    "To set up LDAP authentication:
    Create an LDAP Server as follows:
    Select Manage then Identity in the Oracle BI Administration Tool to launch the Security Manager.
    Select Directory Servers from the left pane in Security Manager.
    Right-click in the right pane in Security Manager and select New LDAP Server. The LDAP Server dialog is displayed.
    Create the LDAP server by completing the fields.
    Create an LDAP initialization block and associate it with an LDAP server. For more information. see "Creating Initialization Blocks" in Oracle Fusion Middleware Metadata Repository Builder's Guide for Oracle Business Intelligence Enterprise Edition.
    Define a system variable named *USER* and map the USER variable to an LDAP attribute (uid or sAMAccountName)."
    So how can i use the same user variable and assign it to LDAP init block as well the EBS security context init block.
    can you provide your valuable inputs here.

    Referencing GROUP session variable in initialization blocks for different types of authentication
    http://108obiee.blogspot.com/2009/10/referencing-group-session-variable-in.html
    Users are assigned to multiple groups from external table with semicolons, see example two and three from the post.
    Regards
    Goran
    http://108obiee.blogspot.com

Maybe you are looking for

  • Create directory on SAP application server with blanks

    Hi, is it possible and if so how to create within ABAP a directory on a Linux based SAP application server that contains blanks. We've tested with SXPG_COMMAND_EXECUTE but didn't succeeded. A working code snippet would be great. Thanks and kind regar

  • How to maintain the resolution of vi in different monitors

    Hi friends,  Using Labview 8.0 i created an exe of the application. every vis i set  the  vi properties just like the attachment below. after installing the exe in a higher resolution monitor, when i open a  sub window - 1st time its comming correctl

  • How do I change the bit rate for dls?? How times can I download one song??

    I'm new to iTunes. I already downloaded 3 songs when I realized that the default bit rate is 128Kbps. I tried changing the bit rate to 192Kbps with a (Variable Bit Rate) checked.....unfortunately when I downloaded the next 2 songs the bit rate turned

  • Anyone know if Illustrator CS5.5 works with four monitors without crashing?

    I just recently replaced my two AMD HD5850 graphic cards with a single HD7970. In my previous system configuration I had a total of four monitors (3 connected to one HD5850, and the fourth monitor to the secondary HD5850 card) This setup worked great

  • Background image repeat, like css repeat_y

    I imagine this is possible, but I haven't figured it out as yet. I simply want to add a background image that does not scale, but functions exactly like a HTML/CSS background:     background-repeat: repeat-y;     background-position: left top; Thanks