Direct DB request with go url
Hi Gurus,
I have a parent report and a child report.
The child report is a Direct database request with no reference to any tables in the RPD.
Now I want to use go url to pass the values to the direct database request. Is this feasible?
Thanks,
Deep
Hello Gurus,
Any help on this issue i would appreciate it?
We have a parent request and a child request. The challenge is to pass parameters to child request which is a direct database request. Kindly help.l
thanks,
Deep
Similar Messages
-
Direct Database Request with Dashboard Prompt LOV Source
I have complex Direct Database Request query having Dashboard Prompt. In Dashboard prompt I want to have LOV. But to create the DPrompt having LOV, I must have the table/column in Subject Area. How I can have table in RPD not connected or joined with any table in RPD?
The idea is to do the reporting based on direct query with Prompt/LOV but do not want to include the prompt source table with other my main logical model which is used for other purpose.Hi Kishore
Thanks for the reply but it is little less clear because I already have working Dashboard level prompt where
1. Instead of LOV I type the value, use the Presentation Variable as Set Variable on Dashboard Prompt, say pDepartment
2. Created direct database rqeuest query having where condition .. WHERE Department= '@{pDepartment}'
And the above Dashboard works great. Only problem is that I want to have LOV for Department for which I need to have the respective table/column in RPD
I liked your idea about BI publisher but how do you really deploy the BI Publisher?
Thanks
OBIEEFAN -
OBIEE direct DB request query sql statement cannot be edited after saved
I have created direct DB request with long complex query, validated sql and Results appears ok. After I save this request and go back to edit the SQL statement, the original statement is only partially visible. Basically I can not do edit.
Is there any Query related buffer or other configuration parms I have to set up?I'm not sure what the deal is between Flex/AIR and Visusal Studios, but i descided to publish my webservices and point the wsdl there instead of using the visual studio generated one.
AND BEHOLD
I't worked and worked much much faster than i was anticipating.
So i'll just chalk it up to poor communication between FLEX and VS. But if anybody knows a more complete answer I would still love to hear it. -
Request with URL ending with "/" not routed through default servlet
I have deployed a web application that has a controller servlet. This
servlet is configured (via web.xml) to be the default servlet with a servlet
mapping defined with url-pattern set to "/".
Requests for URLs such as "my.host/my/path" are correctly routed to the
controller servlet, whereas a request to "my.host/my/" is not - it causes a 404
to be returned immediately by the container.
Any help appreciated
PeterThere's not enough data in your post to answer the question directly. Posting an example URL would help a lot.
The chances are that the problem lies in the URL - it might contain some characters that are not directly usable in the shell and are therefore getting munged when you use them in 'do shell script'. There are ways around this, but posting an example URL would go a long way to telling if that's the problem or not.
It is also possible that the web site is configured to block specific user agents such as curl or wget (in a vain attempt to block automated downloads of the content) but, again, it's hard to say without knowing a specific URL.
If this is the case, you could use curl's -A switch to specify a different 'User-Agent' and fake out the server. For example, to pretend you're using Safari, use something like:
do shell script "curl -O -A 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.12+ (KHTML, like Gecko)' " & fullWeb
(note the single quotes around the User-Agent string) -
JSP protected pages are "forbidden" when request passed with access URL
Dear All,
I am encountering a very strange problem. Let me know if you have any solution for this issue:
Setup:
1. Dedicated OpenSSO idp (different domain)
2. Service Provider - contains a portal which in turn uses a webservice.
Both the portal and web services are installed on the Tomcat server.
3. OpenSSO agent for Tomcat is also installed on the SP machine.
Now, when I deploy my client portal and the web service, I am not able to access:
1. wsdl (like, http://localhost:8080/Service?wsdl)
2. Any jsp page to which I pass request parameters through URL. (like, http://localhost:8080/test.jsp?test=1
I get a message indication - resource is forbidden. (Note, I have already done a OpenSSO login prior to this. Also access is granted to the above mentioned URLs for the logged in user).
Let me know if I am missing out something.
Thanks,
tarakHi All,
I got a solution to this problem.
Refer: http://blogs.sun.com/JohnD/entry/opensso_wildcards_and_handling_resources
Extract:
Handling Resources That Contain Query Strings:
Some resources use a query string, which is the part of a URL that contains data to be passed to web applications. The following is a feasible example of a URL that contains a query string: http://AgentHost/path/app?query-string. The question mark (?) is the separator. It is not part of the query string. Many scenarios exist in which query strings might be used. They can be used for personalization of the user's session. Sometimes an application might add some locale information for a page request. The following example demonstrates the use of such locale information:
http://AgentHost.com:8080/sampleapp/main.jsp?language=en&country=US.
Neither the multi-level wildcard (*) nor the one-level wildcard (--) match the question mark. Therefore, to define a policy resource that can handle the question mark, use the multi-level wildcard on both sides of a question mark, as follows: ?* (asterisk-question mark-asterisk). -
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 adwanceHi,
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 -
OBIEE Answers Direct Database Request
The issue is that I want to link two reports created using Direct Database Request. i.e. when I click on a column of Report A I should be directed to Report B with the filter passed from Report A. The issue that we are facing is that we can access the presentation variables in Report A, but are unable to pass them to Report B.
Any Idea ?
Regards,we can access the presentation variables in Report A, but are unable to pass them to Report B.
If you are not using the prompts, How can you refer a Presentation Variable?
GOURL can be implemented to Direct Database Requests...
Go to Column Properties ==> Data Format ==>Check Override Default Data Format and Choose Custom .. Format
Here specify the Go URL..
For GO URL concepts, go through the link given by Christian.. -
Drill down on direct database request
Hi all,
I would like to know if its possible to drill down in a table created with a direct database request. I've created the direct request and run it perfectly, but drilling down is not enabled and I, even thought I've looked for it, I couldnt find any option to enable it. I've also checked privileges just in case it had something to do with this, but didnt see anything neither.
To sum up, could anyone tell me if drilling down is possible in direct database request and, if so, how can I achieve it?
Thank you very much in advanced for any kind of help.NO!!!!!!!!!!
You Direst SQL query should contain the url
ex:
SELECT COL1,COL2,
'<a href=http://obiapps:9704/analytics/saw.dll?Go&Path=/Answers&path=%2Fshared%2FAppslink%20Dashboards%2F_portal%2FAppslink%20Dashboards%2FEmployee%20Department=Navigate&P0='+BUSINESS_GROUP_NAME+' target=_new>'+BUSINESS_GROUP_NAME+'</a>
FROM TABLE
then go for the column format
Note: in MS SQL + is for concat, you might have to change based on your db. -
Hi everyone,
We have XXF000.fmb, XXF001.fmb , XXF002.fmb , XXF003.fmb in 6i.
For migration to 11g , we recompile these forms and move fmx to 11g form server under form_path.
In 6i , we login for validation & responsibilities control in XXF000, So we can use account info to verify if user have priviledge to access XXF001, XXF002 and XXF003.
But in 11g , we can access these forms vial url request , such as : http://<host>:<port>/forms/frmservlet?form=XXF000 ; http://<host>:<port>/forms/frmservlet?form=XXF001 ... etc
These may cause some unexpected access and operations in functions.
Is is possible to block specific forms access when user directly type form name in url ?
Thanks.
HendryYou need to alter your formsweb.cfg file, either directly or through the Fusion web interface. You need to set the following parameters:
#this sets the default form for your application
form=yourmenuform.fmx
#this stops these parameters being entered in the URL, seperate different parameters with commas
restrictedURLparams=form,pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log -
Portal with a URL using a Web browser in java stack
Dear all,
I can access the portal with our URL using a Web browser from your client machines .
i got the following option :
SAP Library
SAP Library contains the complete documentation for SAP Web Application Server.
Web Services Navigator
Web Services Navigator is a tool that gives you a short overview of a specific Web service based on its WSDL, and enables you to test your Web service by creating and sending a client request to the real end point.
System Information
System information provides administrators with an overview of the system configuration and its state. It shows all of the system's instances and processes, their current state and important parameters (such as ports) that may be required for support cases, as well as the versions of the components installed.
UDDI Client
The UDDI client provides query and publishing functions for different Web service entities (tModels, business services) to any UDDI compliant registry.
User Management
The user management administration console provides administrators with the functions they need to manage users, groups, roles, and user-related data in the User Management Engine (UME). Users without administrator permissions can use it to change their user profile.
Web Dynpro
Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.
SAP NetWeaver Administrator
A tool for administration and monitoring, offering a central entry point to the whole SAP NetWeaver system landscape. The SAP NetWeaver Administrator can be used in a central scenario where it is capable of operating an entire system landscape containing ABAP and Java systems as the application platform of SAP NetWeaver.
J2EE Engine Examples
This section contains several J2EE application examples that run on the J2EE Engine. The examples show some of the functions of both Java and the J2EE Engine. They can be easily deployed and tested by simply clicking on a button. The full source code of the examples is also available.
when i click System Information:
it ask user name () J2EE_ADMINand password (Installtion master password) ,after entered , i got below error .
You are not authorized to view the requested resource.
Details: No details available
Kindly suggest .Hello
It means what it sais, your J2EE_ADMIN user doesn't have enough authorization.
Chech if the appropriate authorization is assigned in your abap stack which belongs to the java stack you logon to:
Role SAP_J2EE_ADMIN should be assigned to user J2EE_ADMIN.
Kind regards
Tom
Edited by: Tom Cenens on Dec 17, 2010 2:55 PM -
Unable to Schedule a Direct Database Request in OBIEE 11g.
Hi All,
I am trying to schedule a Report that is generated using a Direct Database Request Query.
Whenever I try to create an Alert for this specific Report it Fails to deliver.
I checked the Job Manager for this Alert. I found out that the Job has completed with an Exit Code = 2 and there was no other error description for the same.
Can we not create an alert for a Direct Database Request.
Please let me know if anyone has dealed with such an issue and if anyone has a solution for this.
Thanks in advance.
Dev.Analyses based on direct database requests and sent out through agents work just like any other analysis in terms of content, delivery etc.
Are you sure that you're not hitting a privilege problem and that the user executing the agents isn't allowed to run direct database requests? -
How to pass session variable value with GO URL to override session value
Hi Gurus,
We have below requirement.Please help us at the earliest.
How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
Please provide step by step solution.No vague answers.
I followed below steps mentioned.
RPD:
****-> Created a session variable called STATUS
-> Create Session Init block called Init_Status with SQL
select 'ACTIVE' from dual;
-> Assigned the session variable STATUS to Init block Init_Status
authenticationschemas.xml:
Added
<RequestVariable source="url" type="informational"
nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
Report
Edit column "Contract Status" and added session variable as
VALUEOF(NQ_SESSION.STATUS)
URL:
http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
Issue:
When I run the URL above with parameter EXPIRED, the report still shows for ACTIVE only. The URL is not making any difference with report.
Report is picking the default value from RPD session variable init query.
could you please let me know if I am missing something.Hi,
Check those links might help you.
Integrating Oracle OBIEE Content using GO URL
How to set session variables using url variables | OBIEE Blog
OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
Thanks,
Satya -
Obiee 11g Executing a Direct Database Request in my Dashboard
Hi Experts,
i want to create in my dashboard Button:
when i presses Button message will appear with question with 2 buttons :
1 Ok : will execute Direct Database procedure.
2 Cancel : return to source dashboard.
what is the way to execute ?
I would appreciate your help.
sinAnalyses based on direct database requests and sent out through agents work just like any other analysis in terms of content, delivery etc.
Are you sure that you're not hitting a privilege problem and that the user executing the agents isn't allowed to run direct database requests? -
Date format in Direct database request
I have a report with direct database request.
I have a date prompt..I am storing the date in a Presentation Variable named pv_date.
In the direct database request, I have a where clause:
WHERE business_date IN ( @{pv_date}{'1/1/2013'} )
when I run open dashboard for the first time, its throwing me an error near TIMESTAMP.
WHERE business_date IN( TIMESTAMP ''2013-01-01 00:00:00'')
AND ALSO When I run this report from dashboard after choosing a date say 2/20/2013, I see the query as:
WHERE business_date IN (2013-02-20 00:00:00)
and hence throwing error.
Its throwing error in both the cases. How do I change the format in WHERE clause..
Ideally, I want the query to be WHERE business_date IN ('2/20/2013') or Business_date IN ('2013-02-20')Thank you both.
I am using Sybase and hence used convert function.
But still I see the word TIMESTAMP in the query which is causing issue.
business_date IN(CONVERT(char(10), TIMESTAMP ''2013-03-27 00:00:00'',101))
and when I run the report by choosing any date, I see this: business_date IN(CONVERT(char(10),2013-03-27 00:00:00,101)) ; throwing error because No single quoted for the date.
How do I remove the word TIMESTAMP?? and how do I impose single quotes.. -
Applying Prompt on Direct Database Request in OBIEE 11g
Hi
I am creating Analysis by using 'Direct Database Request' and i am executing SQL Query to direct Database i am NOT creating Business and Presentation Model in RPD. Now i have to apply Filters on Report. any idea how i can do that?
Example:
Prompt (filter) : Year Employee Department
2011 HR
2012 IT
2013 Finanical
Employee Name | Employee Age | Gender | Leave Status | Leave Type
abc 31 male on leave Sick leave
xyz 39 Female on leave Annual leave
i want to filter by YEAR and Employee Department.
Regards
BaigNO!!!!!!!!!!
You Direst SQL query should contain the url
ex:
SELECT COL1,COL2,
'<a href=http://obiapps:9704/analytics/saw.dll?Go&Path=/Answers&path=%2Fshared%2FAppslink%20Dashboards%2F_portal%2FAppslink%20Dashboards%2FEmployee%20Department=Navigate&P0='+BUSINESS_GROUP_NAME+' target=_new>'+BUSINESS_GROUP_NAME+'</a>
FROM TABLE
then go for the column format
Note: in MS SQL + is for concat, you might have to change based on your db.
Maybe you are looking for
-
When browsing a new library that I created and exported onto an external hard drive, the browser shows dotted lines around grey rectangles, no images. When I double click on a rectangle, the image appears, but all the other rectangles remain empty -
-
How to extract data from a large table!
Hi all, I am working on a survey application using JSP, where users login to the application and fill out survey form. Responses of users are stored in a database table as a numeric value ranging from 1-10. Now I want to create some standard reports
-
Is there any software that i can download from the web to fix my phone? i bought it off the streets and the software and driver must have been deleted cause i can only get the itunes logo and i cant restore it.
-
When I try to submit a web document in the Knowledge directory, if the site I'm submitting requires authentication or re-directs the document upload fails. Is this by design or should I be able to do this?
-
User doesn't have sufficient privaleges to install flash player?
I'm having trouble installing flash player due to "user privileges" HELP!!