Set client info
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.
Similar Messages
-
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.
ThanksHi,
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 -
I have a problem, I'd like to gather client info and present that info as my forms application loads but unfortunatley I can't seem to get it to works. I can create a button and place code behind it and gather information that way so I'm confident that my set-up of webutil is ok.
any ideas?I think its going to be impossible to help you since you make no mention of any symptoms of how this is not working, no error messages, no sample code.
Try the webutil demo and see if that works - that has code for calling the client info webutil code.
Regards
Grant Ronald
Forms Product Management -
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. -
Setting client role in non-production systems
In our QA test systems of R/3 and BW, the client role in SCC4 was set to 'Production'. The reason I was given is that by setting the client role to 'Production', will enable some settings in FI such as period closing,and customizing settings remain open without transportable requests. I totally disagree with this. I worked on numerous projects, but this is first time I am hearing this. I always set client role to Test in non-production systems, without any problems. Do any one have any idea about this?
Thanks
SantoshSAP have a concept of "current settings". These include things like exchange rates and other items which really appear to be configuration settings. In a non-modifiable system these cannot be changed because the transport management system tries to get involved. If the client is set to productive, this restriction is overridden.
I would always suggest that the QA system should be set to productive and non-modifiable to ensure that the behaviour of the transactions affecting such objects can be tested in a production-like environment. If you need to have your QA system open for any sort of changes you are exposed to having changes introduced in QA to leading to the impression that new/modified functionality or config works but when the transport takes the unmodified version to production you'll be in trouble. -
Hi,
When we create info package on 3.x data source, we can find the setting like Separator for Thousands and 'Character Used for Decimal Point' in info package but where can I find these setting in info package when it is created on 7.0 data source?
Thanks in advance.Hi,
You will never get such option in Infopackage level for any datasource be it 3.X or 7.0 except for Extraction tab of Flat File data source.
The option for decimal character and separator comes in the EXTRACTION tab of the Flat File data source IP only and no where else. I think you are getting confused with this
In the flatfile data source you require these settings to be done before hand so that while extraction system can recognize the correct field values and field sequence.
Hope this clarifies your doubts.
Navesh
Edited by: navsamol on Nov 16, 2011 12:10 PM -
User Exit in 10g - To get client info
Hi all
We have a user exit call in forms 4.5 which returns client info (OS version).
As we are going for 10g, the user exits will reside in AS.
Is there any way by which i can use the same user exit to get client info now ?
Thnx and Regards
Sriramin the old days of forms 6i we created tons of java-applets for host-commands and so on.
with the first version of webutil all the applets we created ourself were gone, because all functions were in the webutil-toolset.
You can use it beginning with forms 9i. It's very good and easy to use. Look in OTN where the developer-downloads are
Gerd -
Setting OBDC info on multiple reports (batch)
Hello,
Is there a way to set OBDC info for multiple reports at once. I have users with 100+ reports and we just changed SQL server, so that each report need to be pointed to the new server. Doing it manually by opening each report and manually pointing it to the new server is a real pain.
If there is a way we can do it in a batch that would save us a lot of time.
TIA!since you're changing servers, just editing the existing odbc connection (i.e. in the 32 Bit ODBC Data Source Administrator) to point to the new server should be all that is required as long as the table names and field names / types within those tables remains constant.
otherwise, there are 3rd party tools (usually cost) like 'rpt inspector' where you can do this. -
I have a 1and1 email address but when I complete all the setting up info it says that either the imap user name or password is incorrect. I have attempted it many times since carefully putting in the correct info but still same message appears. Any ideas?
If this is a Gmail account you might need to unlock by going here: https://accounts.google.com/DisplayUnlockCaptcha.
-
Followed Tiscali set up info for Thunderbird and nothing works.
Changed from Outlook Express to Thunderbird on Win XP computer. Followed Tiscali set up info. Tiscali confirm the settings are correct but nothing works.
I followed the Tiscali set up info to the letter. I could not send any messages. I always got the same error message. I then read the Thunderbird technical article re these error messages and found that I needed to complete the "user name" section on the Accounts settings bit, something that Tiscali did not mention at all. Doh!. Problem solved within 30 secs!
Thanks for all the support.
Cheers, Ian. -
I am creating a duplicate account(concatenated with numerics to attributes) in AD and could not figure out what was going wrong?
<ResultItem type='message' status='error'>
<Message id='Unable to set user info: 'SetInfo(): 0X80072035: , 00002016: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
, The server is unwilling to process the request.
'>
</Message>
</ResultItem>
Any suggestions please?Hi
Have you found a solution to this problem?
I am trying to create User accounts in my Windows AD, and I keep getting the error :
*"Unable to set user info. The name provided is not a properly formed account name"* -
Db character set, client character set, OS character set
Hi,
I'm confused about all these character set: DB character set, National character set, Client character set, Operating system character set, NLS_LANGUAGE parameter in init.ora file, NLS_LANG parameter in registry.
Can anyone explain the differences of these to me?
Many thanks.Hi 101514,
The answers to your questions are listed here in the Globalization Support FAQ on OTN.
http://technet.oracle.com/tech/globalization/content.html
Regards
Nat -
Using the Set Session Info to populate Custom Variable
Hey everybody, I'm trying to setup a Set Session Info step so when a caller presses 1 for instance to go to a specific department I can go into the database and see how many callers pressed a certain button.
Here's what I've done so far, I've setup a Session called session_info with the value of null. At the very beginning of the script it shows session_info = Get Contact Info --Triggering Contact--, Session)
Then in the menu field when a caller presses 1 I have the Set Session Info step with the Session being session_info and then in the Context tab I have "_ccdrVar3" for the name and "1" for the value.
The script doesn't fail it's just not populating any Custom Variable with any data.
Also I've tried using the Set Enterprise Call Info and using a value of 1 and then Call.PeripheralVariable3 for the name. Not sure what the proper way to do this is. Anybody have any ideas?Hi
You don't need a session var.
You just need to use 'set enterprise data' to set a call.peripheralvariable to what you like.
The data goes straight into the contactcalldetail table.. You can check it by doing:
run uccx sql db_cra select * from contactcalldetail where customvariableX = 'yoursetting'
Where 'yoursetting' is what you set the ent data to, and customvariableX is the var you use (e.g. customvariable3 if you use call.peripheralvariable3)
Regards
Aaron
Please rate helpful posts.. -
CCX 7 ENH Scripting - Set Contact Info For Closed Hours
When calls come in after hours or on weekends, how should the script be configured so the call is not marked abandoned? I know that after the Closed step I can Set Contact Information to handled and it will be reflected in the Historical Reports, but doesn't this skew the statistics when we are really interested in what is happening during open hours? I have looked at a number of sample scripts and docs but I can't find anything related to what I am trying to figure out.
Hi,
Set Contact Info Step:
Use the Set Contact Info step to modify the context information associated with a contact. You can use
this step at the begining of the script to mark the contact as handled in the following scenarios: redirect,
transfer, terminate, and abandon. The default value for all of these attributes is true.
Set Contact Info Customizer Window -
Set client var using javascript
i have a form where a user enters a line of info, and i want
to save that as a client variable without having to post the form.
is it possible to set a CF client variable using javascript?> cookies can be created/edited/deleted using js, so i just
need
> to know how i would go about editing a cf created
cookie using js.
You've inched away from your original question. It was about
how to use Javascript to save form data in Coldfusion without
having to send the form from the browser. The answer is, you can't.
> i used javascripts document.cookie to make changes to the
correct coldfusion
> client variables..works like a charm
You've not changed any Coldfusion variable at all. What
you've simply done is use Javascript to write a new cookie, which
Coldfusion then reads later. To see that, do this test.
Save and run the following code as the page
testCookieJS.cfm
<html>
<head>
<title>testCookieJS</title>
<script type="text/javascript">
document.cookie="JS test cookie";
</script>
</head>
<body>
Coldfusion cookie struct dump:
<cfdump var="#cookie#">
</body>
</html>
You will find that the "JS cookie" is not dumped. However,
you will find that the cookie is actually present in the browser.
Now, close the browser and delete all cookies. Save and run
the following code as the page
testCookieCF.cfm
<cfcookie name="CFCookieTest" value="CF test cookie">
<cfdump var="#cookie#">
You will find that the "CF cookie" is dumped. The difference
in the result of the two tests shows that one cannot use Javascript
to change the cookie that Coldfusion sets. In fact, generally
speaking, you cannot use Javascript to modify any Coldfusion
variables. If you could, anyone would be able to use an HTML page
to rewrite your Coldfusion site.
Maybe you are looking for
-
Safari Hangs and Can't Sync or backup My iPhone Windows XP on PC
I had this problem where I could not Sync my iPhone because it could not backup and at the same time, my Safri would open but just hange. This happend after doing some Widows updates and Safari and iTuines updates.The CPU usage went up to 50% for Saf
-
ITunes can't find my tracks - please please help, DJ in need to urgent fix!
iTunes cannot find my tracks which have been working fine on my external HDD for a long time. Basically today I have tried to move my library from one external HD to another (due to portability issues) I changed my iTunes media folder location in the
-
Navigate from a chart to another tab page
I have a requirement to navigate from a chart to another tab page. Right now my implementation requires that I select one of the bars on the chart to navigate which also performs filtering. I want to be able to click any area on the request (not just
-
I have an iphone, approx. 11 month old, and would like to use the ipod feature in my LEXUS 2006 model, which has no connection to an ipod. I tried about 6-8 month ago a gismo COSCO sold, went to Radio Shack to help install it, no luck, terrible inter
-
device disabled after entering wrong passcode. Please help me in getting this unlocked without lossing the data as the data is really important for me