How to Set Client Info in OBIEE
Hi All,
Im accessing Oracle Applications table from OBIEE through database. How can I set the client info so that I can see the data.
Thanks
Hi,
You can execute a script at logon. Check the 'Connection Scripts'-tab on your connection pool. Her you can define a 'Execute on Connect'-script.
This way you can set your client_info en view the Oracle eBS table data.
Good Luck,
Daan Bakboord
Similar Messages
-
How to set client within SQL statement without using another pl/sql stmt.
I have a following select statement
SELECT SUM (w.prior_forecasted_costs + w.prior_committed_costs)
FROM xxsuf.job_cost_summary_table w,
apps.pa_periods p,
pa.pa_resources bz,
pa.pa_resource_list_members cz,
pa.pa_tasks dz
WHERE w.project_id = z.project_id
AND w.task_id = dz.task_id
AND dz.task_number '98000'
AND w.resource_list_member_id = cz.resource_list_member_id
AND cz.resource_id = bz.resource_id
AND NOT EXISTS (SELECT NULL
FROM pa.pa_tasks zz
WHERE zz.parent_task_id = dz.task_id)
AND w.resource_list_member_id != 1000
AND p.period_name = w.pa_period
AND p.current_pa_period_flag = 'Y'
Above select statement uses pa_periods view which only works when I set my client using "exec DBMS_Application_Info.set_client_info(83);" in Toad or SQL*Plus session.
I was wondering how can I achieve it within select statement. so that I don't have to use another PL/SQL statement to set my client. Is there anyway to set client with my org id within above select statement ?
Please advise.
--RakeshYou can simply create a function which calls dbms_application_info and use that in your sql statement as in
SQL> create or replace function set_client_info (i_info varchar2)
return varchar2
as
begin
dbms_application_info.set_client_info (i_info);
return i_info;
end set_client_info;
Function created.
SQL> create or replace view v_emp
as
select * from emp where empno = to_number(sys_context('userenv','client_info'))
View created.
SQL> select ename from v_emp where set_client_info(7788) is not null
ENAME
SCOTT
1 row selected.
SQL> select ename from v_emp where set_client_info(7900) is not null
ENAME
JAMES
1 row selected. -
Today we tried to migrate our Xserve from 10.3.9 to 10.4
We've chosen to start the update from a PowerBook and attached our Xserve in FireWire Target Mode.
Update/Install ran smoothly, BUT ON RESTART WE LOST CONTACT TO OUR XSERVE
In system.log it says
HeadlessStartup: Enabling root account so we can remotely administrate.
Apr 5 14:03:18 everlearn /System/Library/ServerSetup/serversetup: defaults info /usr/bin/defaults write -g AppleLanguages '(de, English, ja, fr)'
Apr 5 14:03:20 everlearn /System/Library/ServerSetup/serversetup: CFUserTextEncoding info 0:3
Apr 5 14:03:22 everlearn /System/Library/ServerSetup/serversetup: user library preferences ByHost folder is existed.
Apr 5 14:03:22 everlearn /System/Library/ServerSetup/serversetup: copyPath from rootByHost to userByHost failed.
Apr 5 14:03:22 everlearn /System/Library/ServerSetup/serversetup: create file userByHost is OK.
Apr 5 14:03:25 everlearn mDNSResponder: Service "everlearn.ssh.tcp.local." renamed to "wipaed-dev"
Apr 5 14:03:25 everlearn mDNSResponder: Service "everlearn.sftp-ssh.tcp.local." renamed to "wipaed-dev"
Apr 5 14:03:47 everlearn sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/tools/mkimap
Apr 5 14:03:55 everlearn root: Setting SquirrelMail language to 'de_DE'
Apr 5 14:03:57 everlearn sudo: root : TTY=unknown ; PWD=/private/var/imap/db.backup2 ; USER=cyrusimap ; COMMAND=/usr/bin/touch /var/imap/db/skipstamp
Apr 5 14:03:57 everlearn sudo: root : TTY=unknown ; PWD=/private/var/imap/db.backup2 ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/ctl_mboxlist.old -d
Apr 5 14:04:00 everlearn sudo: root : TTY=unknown ; PWD=/private/var/imap/db.backup2 ; USER=cyrusimap ; COMMAND=/bin/mv /var/imap/mailboxes.db /var/imap/mailboxes.db.old
Apr 5 14:04:00 everlearn sudo: root : TTY=unknown ; PWD=/private/var/imap/db ; USER=cyrusimap ; COMMAND=/usr/bin/touch /var/imap/db/skipstamp
Apr 5 14:04:01 everlearn sudo: root : TTY=unknown ; PWD=/private/var/imap/db ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/ctl_mboxlist -u
Apr 5 14:04:01 everlearn ctl_mboxlist[942]: skiplist: recovered /var/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds
Apr 5 14:04:05 everlearn /System/Library/ServerSetup/MigrationExtras/49_webconfigmigrator: Existing /private/etc/httpd/httpd_macosxserver.conf file couldn't be read! Nothing to migrate.
Apr 5 14:04:05 everlearn /System/Library/ServerSetup/MigrationExtras/50_ipfwconfigmigrator: No Jaguar firewall settings to migrate from NetInfo directory dsRecTypeNative:/config/IPFilters.
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:Migrating old IP address group. New name:'Migrated: 10-net' New id:'Migrated: 10-net'
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'SSH - Secure Shell' enabled because 'ssh' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'Server Admin SSL, also Web-ASIP' enabled because 'asip-webadmin' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'Remote Directory Access' enabled because 'remoteda' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'Server administration using Server Admin' enabled because 'serveradmin_pseudoservice' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'ICMP - echo reply messages (replies to outgoing pings)' enabled because 'icmppingpseudoservice' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'IGMP - Internet Group Management Protocol' enabled because 'igmp_pseudoservice' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'RTSP - QTSS streaming' enabled because 'rtsp' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'WebObjects' enabled because 'webobjects' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'QTSS web administration' enabled because 'qtssweb_pseudoservice' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'QTSS MP3 streaming' enabled because 'qtssmp3_pseudoservice' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'HTTP - web service alternate (Apache 2 default)' enabled because 'http-alt' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:IP address group 'any' has 'HTTP - web service' enabled because 'http' was enabled in old rules
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:Migration applying old customized enable status to rule '65000'
Apr 5 14:04:09 everlearn /System/Library/ServerSetup/MigrationExtras/60_ipfwconfigmigrator: ipfw config migration:Notice:Migration applying old customized enable status to rule '63300'
Apr 5 14:04:09 everlearn root: The previous /etc/httpd/workers.properties file has been saved as /etc/httpd/workers.properties.applesaved. The current /etc/httpd/workers.properties file now includes a blojsom worker.
Apr 5 14:04:31 everlearn servermgrd: cupsd mach_msg error (ipc/rcv) timed out
Since then we cannot find the Xserve via ping or even with a PowerBook in the same subnet.
How can we restore TCP/IP information, subnet info etc.
Right now we CANNOT ACCESS PER SSH but ONLY VIA FIREWIRE ACCESS, therefore we cannot use changeip and serversetup.
How can we set DHCP information without ssh access only access to the files?
What to set?`
Where to set?
Any information is greatly appreciated.
karstenThe main ethernet port had been disabled by the installer!
We connected a powerbook (just plain ethernet cable) to the other port which was running with some old ip number and send
ping 224.0.0.1
This gives you the ip number
then we logged in via ssh
then
networksetup -setnetworkserviceenabled "Ethernet…" on
Now we can work through the messed up install… -
How to set column width in OBIEE
hi ,
I want to set the coumn width in table, my version is obiee 10.
any one know how adjust the width of column?
thanks.Use column properties->Additional Formatting Options
and set width 10px or as per your req.
Pls mark correct/helpful if helps -
Hi guys,
I am building a client server JSF web application.
How to retrieve details of client machine (e.g Lan ID) on the server side when client send a request to open a web page.
Thanks.Hi Raymond,
Thanks for the reply.
I've tried in a simple servlet as following.
req.getRemoteUser() returns null
req.getRemoteAddr() returns proxy ip address.
I still can't get the LAN ID of the client who send the request.
Please help.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Remote extends HttpServlet{
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException{
res.setContentType("text/html");
PrintWriter out = res.getWriter();
String rmtName = req.getRemoteUser();
String rmtAddr = req.getRemoteAddr();
out.println("<html>");
out.println("<head></head>");
out.println("<body>"+ rmtName + " ," + rmtAddr + "</body>");
out.println("</html>");
public void doPost (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException{
doGet(req,res);
} -
Hi all
when i run my query in APPs its not giving any result.
but when i call this below command and run the query it shows the result.
call DBMS_APPLICATION_INFO.set_client_info('100');
why so?Hi,
Dbms_application_info. set_client_info allows you to store some data in the v$session view, where later queries can reference it.
Apparantly, your query is doing something like:
WHERE department_id IN ( SELECT client_info
FROM v$session
)If you never call set_client_info, the condition above will never be TRUE.
Sometimes this is used to make sure steps are done in a certain order: one step in the process sets client_info, and a later step checks that an appropriate value was stored there, and does nothing if it is not.
This can also be a way to pass parameters to a view. -
How to set client side validations in ADF Forms
check for client side validations on submission of a form and display custom error messages.
Hi,
you really should take more time in phrasing out a question. I have no clue of what you are actually asking for. Note that ADF Faces performs client side validation e.g. for required fields. Just in case this was the question
Frank -
I am having email problems with the new Mountain Lion. stmp, imap, etc. I have looked up google info and It is confusing when it comes to TS, SSL also, please explain how to set it up so my email goes out and comes in securely. Help
Incoming Mail (IMAP) Server - requires SSL:
imap.gmail.com
Use SSL: Yes
Port: 993
Outgoing Mail (SMTP) Server - requires TLS:
smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
Account Name:
your full email address (including @gmail.com) Google Apps users, please enter username@your_domain.com
Email Address:
your full Gmail email address ([email protected]) Google Apps users, please enter username@your_domain.com
Password:
your Gmail password
The Quick Answer
Follow the instructions below to set up IMAP1 access in most email clients.
Google Apps users, please follow the default instructions unless otherwise noted, replacing 'your_domain.com' with your actual domain2 name.
this is all greek to me. WHAT IS STARTTLS? On the first page of Apple set up there is a TLS certificate and it is marked NONE- should I change it to the long APPLE CERT option? The next page under ADVANCED: THERE IS A BOX SSL MARKED. Then IMAP Path Prefix - I put stmp.gmail.com.. is that right? Port 993 can use this one? as 456 doesn't work and 587 said it wasn't safe. Under AUTHENTICATION I used PASSWORD. Should I have used external client cert TLS?
Please help me set this up securely. ThanksApple - Support - Mail Setup Assistant
-
NEED info on How to Set Router to access just one website???
Ok here we go again, Finally found out it's my Linksys not letting me onto one website..I had a 310N and thought that was the problem so went out and bought a 610N ..same darn thing just won't let me access one website I need to sell my goods for income. I remove linksys from my modem and plug it directly into one of my computers and I got the website..Yes it's a Linksys problem !!!
I need some info on how to set up a access point in my router's setting to let me log on to this website www.denofangels or http://74.86.166.210/
Is it time for me to call the support team??????????????
I'm running XP on my computers, have 3 of the 4 computers using wirelessN adapters and on the main computer is the WRT 610
Help Please ....linksysDoll
Gone Nutz trying to figure out Linksys again!!MY Internet provider is Time Warner / Roadrunner cable..Does this help you to solve my problem. Nothing wrong with the modem..just my wrt 610N settings, I'm guessing it carried over from my wrt 310N..this was working fine until a couple of months ago and then nothing for this one website.
I'm running XP
Thank you in advance for any help or info
Gone Nutz trying to figure out Linksys again!! -
How to set time zone for a session in Client Only installation
Environment:
OS : Unix (HP-UX 11.0)
Oracle DB : Ver 8.0.5
Developer : Ver 1.6 ( Client only Installation)
Developer also on Unix.
RDBMS and Developer Installed on different
home directories.
Our development is Forms 4.5 on X windows.
Runtime is forms character mode.
Probelm Description:
To run the application I am using TWO_TASK to connect to the database. In our application we have to take care of time zones. For that in previous versions(NO TWO_TASK used) I used TZ unix environment variable, to get time zone dependent time wherever sysdate is used.
Now because I am using TWO_TASK, oracle is no more using users TZ settings.
Question : Is there any way I can make oracle to use the TZ environment settingThanks for replying Johnny!
What you are referring to is adding a city. I need to know how to set the time zone in settings -> Date & Time -> Timezone. Unless & untill this is set properly the iPod will never show me the right time. Please help me with it.
I will definately use your advice on the second query.
Thanks once again!
Windows XP Pro -
How to set the Default values for Info Objects in Data Selection of InfoPac
Hi All,
Flat file Extracion:
How to set the Default values for Info Objects in Data Selection Tab for Info Package
ex: Fiscal Year Variant Info Object having values 'K4' 'Y2' etc in Flat file
Initially default value(not constant) for this info Object value should be 'K4' in Info Package
If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
Rgds,
CVHi,
suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
haritha -
How to set JMS clients to use JVM Invocation layer
Hi,
I'm not sure if this JBoss specific (but I'm assuming it's not) so I'll be asking it here. How can I set my JMS clients and Message-Driven Beans to use JVM Invocation layer since the clients and queues will reside in the same JVM.
Thanks in advance.May be that explains why I couldn't successfully integrate ActiveMQ with JBoss. I was using the 3.0 version. I'll try again once I find the time.
Anyway, do you know how to set JBoss JMS clients and MDBs to use JVM invocation or transport layer instead of UIL2?
I'm not sure if what I've done is correct But here's what I've done.
For jvm-il-service.xml, I changed the JNDI reference from "ConnectionFactory" to "JVMILConnectionFactory" since the default service uses "ConnectionFactory". Then I used that reference as my JNDI look up in my JMS client. I'm just not sure how to do this with MDBs. I think I should add an entry in the ejb descriptor file but I need someone to confirm.
Thanks. -
How to set user preferred timezone in OBIEE for all objects.
How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences
Check
Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go -
JAX-WS: How to set headers on generated client?
Hello
Im trying to build a client to consume the web service defined here: http://my.hot-sos.net/HTNGListener/HTNGListener.asmx?WSDL
I've use the wsimport tool to generate the classes and one of the services (ping) works fine.
The other servcies, however, are giving me this error:
javax.xml.ws.soap.SOAPFaultException: Server was unable to process request. ---> No HTNG Header found in Soap Header
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy30.receiveMessageSync(Unknown Source)
at com.pogo.test.HelloWorldClient.main(HelloWorldClient.java:29)I think the problem is that the service expects a header. The generated code has a HTNGHeader factory but I cant find a method where to add this header to the request.
<wsdl:operation name="ReceiveMessageSync">
<soap12:operation soapAction="http://htng.org/1.1/Listener.Wsdl#ReceiveMessageSync" style="document" soapActionRequired="true" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:ReceiveMessageSyncHTNGHeader" part="HTNGHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
<soap12:header message="tns:ReceiveMessageSyncHTNGHeader" part="HTNGHeader" use="literal" />
</wsdl:output>
</wsdl:operation>This is how Im trying to invoke:
HTNGListener listener = new HTNGListener();
HTNGListenerSoap stub = listener.getHTNGListenerSoap();
stub.ping();
org.htng._1_1.header.ObjectFactory headerOF = new org.htng._1_1.header.ObjectFactory();
HTNGHeader header = headerOF.createHTNGHeader();
header.setTimeStamp(DatatypeFactory.newInstance().newXMLGregorianCalendar() );
//I've created the header, but dont know how to set it.
String request = "<GetMessages/>";
System.out.println(stub.receiveMessageSync(request));Any advise is more than welcome.
Thanks
GonsoHow are you even getting the WSDL to parse? I get:
parsing WSDL...
[ERROR] Non unique body parts! In a port, operations must have unique operation signaure on the wire for successful dispatch. In port HTNGListenerSoap, Operations "ReceiveMessageAsync" and "ReceiveMessageSync" have the same request body block {http://htng.org/1.1/Listener.Wsdl}Request
line 150 of http://my.hot-sos.net/HTNGListener/HTNGListener.asmx?WSDL -
How to set password in obiee delivery content reports (pdf format)
Hi
Dear All
i Need your help on the Obiee !
i hvae one Requirement how to set password in obiee delivery content (pdf format) its possible. what are the things i to do
Kindly Advice me
Advance Thanks
satya933154 wrote: My profile says PDF, config, report, settings says PDF and I get an Excel when I run screening reports. Very odd.You may want to make sure that the file where the system setting gets stored can be updated. In your <Intradoc_Dir>\urm\data\reportpublisher\config\config.hda file, there is a result set named "RPAdminConfigInfo". The third column of that result set should match the value being shown on the configuration settings page. I've changed the format value in the UI, and this file gets updated (and thus I'm getting my screening reports in the format specified in this config file.)
933154 wrote: Also, I wasn't clear on the second part of the question. The Screening Reports appear to use the template INTERNALITEMDETAILRPTTEMPLATE. Is that configuration set somewhere? Is there any way to have the screening reports use a different template or is changing that template the only way to change the screening report layout?Templates are not configurable in that respect - the template name values being called for a service are hardwired in the code (you'd need to override in a component - just not worth the hassle). I'd either edit the existing rtf file, or just check in a new revision to the existing one if the differences are that profound. You'd still need to conform to the BI Publisher standards/methodology in either case.
Maybe you are looking for
-
Can't update to iOS 4.2.1. Please help
Hello everyone, I have got a Second Generation iPod touch, which is running on iOS 4.0.2, and I thought it should be updated. Now I've downloaded iOS 4.2.1 directly from iTunes, this is the last firmware the 2G iPod touch can handle, but anytime I wa
-
Procedure not checking each sql statement.
Hi All, I have created 2 tables names are A1 and B1. A1 table has some fields. Fields are no,sal,comm.,load_date. In A1 table NO (column) is the primary key. Second table is B1. this table has id,phone_no and load_date. In this table constraint ID co
-
How to capture selection-screen values
Hi, How to capture selection-screen values when user pressing F3 or Back button after the display of report. Regards, Bujji.
-
Cogi Errors due to Material Substitution
Hello, In plant 0162 we have cogi errors that I can not explain. It is related to material substition and BOM changes.the COGI error comes from the component material 10085940 in order 100239889. this material 10085940 was set for material substituti
-
Netflow on 6509 in Native Mode from Vlan Interface
I'm trying to get a 6509-E, running Cisco IOS Software, s72033_rp Software (s72033_rp-IPSERVICES_WAN-M), Version 12. 2(33)SXI9, RELEASE SOFTWARE (fc2), to send netflow traffic from a vlan interface to a Solarwinds server. The server is not seeing all