Discoverer Report Registation
Hi
i am working for the discoverer reports for the first time it is good to
working on it but i dont know how to register them to oracle applications
and how to run from the front end?
can any body help me out of these...?
Krishna.V
Hi,
I think, we need not to register the Discoverer reports in Apps.
Once we save the report in the database, we should share it to the proper responsibilities. It can be then accessed thru web-based tools like Discoverer Plus/ Viewer by any user having the proper responsibility.
Do you still need to combine this with Oracle Apps?
Regards,
Yogini
Similar Messages
-
How to register discoverer report
Can some one tell me how to register discoverer report from scratch
thanks in advanceYou'll have to wait for the next release for Discoverer integration.
-
Registering Discoverer Reports to a Portal/Portlet?
Can anybudy give me an idea how to register discoverer reports (workbok/worksheet) to Portal/Portlet?
Hi
Try to save to file with disco desktop and open it in the production environment.
Ott Karesz
http://www.trendo-kft.hu -
Discoverer Report Registration
Hi
i am working for the discoverer reports for the first time it is good to
working on it but i dont know how to register them to oracle applications
and how to run from the front end?
can any body help me out of these...?
Krishna.VActually you can run it directly from Discoverer Viewer or Plus, but in case you want to call from oracle screen, please follow note 278095.1 from metalink.
HTH -
How to link discoverer report to E-Business Suite
Good day
I followed instructions as stipulated in document number doc 278095.1 and doc 433397.1.
However i dont understand the link between the two.Actual im still new in oracle.
If i understand correctly doc 433397.1 is used to register the discoverer workbook to OracleOasis.RunDiscoverer
package and i created the function using this parameter
'workbook=XX_LEAVE_LIABILITY&PARAMFORM=HTML' ....I do not know if is necessary to put the inverted commas.
and assign it to a certain menu .
I have created another function following 278095.1 instructions but i do not know how does the two functions link.
Because for doc 433397.1. the Properties tab TYPE is 'SSWA plsql function opens in new window (Kiosk Mode)
whereas for doc 278095.1 is ''SSWA plsql function'
and the form parameter for doc 278095.1 is ''workbook=XX_LEAVE_LIABILITY&PARAMETERS=sheet~1*' .
The function name is there assigned to a responsibility but i can not access the discoverer report it retuns message "Unable to authenticate session'Hi,
The ICX parameters can be updated by going to the System Profile form on the System Administor menu.
Basically, the way the OracleOasis.RunDiscoverer function works is that it checks the ICX profiles from the user and builds a URL to start up Discoverer. It then adds to the end of the URL the workbook details from the form function so that the URL opens the workbook and supplies the parameters to the workbook.
So if the ICX: Discoverer Use Viewer profile is set to Yes then the function takes the URL in ICX: Discoverer Viewer Launcher. Hence you need to check that this URL (which should look like http://<HTTP Server>:<Port>/discoverer/viewer) actually launches Discoverer. The ?Connect=[APPS_SECURE] needs to be added to this URL so that Discoverer is launched without the need to reenter username/password.
It then concatenates the values in the ICX: Discoverer End User Layer and ICX: Discoverer End User Layer Language Override e.g. EUL_US to create the Discoverer EUL owner. The EUL parameter is then added to the URL so that Discoverer is started using this EUL.
Finally, the value in the parameter field in the form function is used to add the worksheet selection and if necessary worksheet parameter selection parameters onto the URL.
Rod West -
Function not returning value in Discoverer report
Hi All,
I am using a PL/SQL function in a Discoverer Report to return a particular date. The way I am using is that I have created a PL/SQL function and registered the same in Discoverer Administatrator.
My problem is that when i run the report this function returns NULL for one particular unit but when i run the same on toad as
'select max_term_dt_pkg.max_term_dt_fn('703813','OM - AWAITING_SHIPPING - 1179628') from dual'
it returns the date as 26-May-2009
Actually it should return a value in the report also.
Can anyone guide me what could be the problem.
Regards,
ShrutiHi Rod,
There are no session variables to be set. I have myself created that and it is returning values for other units also.
Below is the function :
CREATE OR REPLACE PACKAGE BODY APPS.max_term_dt_pkg
AS
FUNCTION max_term_dt_fn (p_unit_num VARCHAR2, p_order_status VARCHAR2)
RETURN DATE
IS
l_contract_number VARCHAR2 (20);
--okc_k_headers_b.contract_number%TYPE;
l_max_term_date DATE; --okc_k_lines_b.date_terminated%TYPE;
BEGIN
IF p_order_status IN ('RMA on Unit', 'OKS 30 Days Notice Given')
THEN
l_max_term_date := NULL;
ELSE
SELECT contract_number
INTO l_contract_number
FROM (SELECT DISTINCT okhb.sts_code, okhb.date_terminated,
okhb.contract_number,
oklb_ib.attribute15 unit, okhb.start_date,
okhb.end_date, okhb.creation_date
FROM apps.okc_k_headers_b okhb,
apps.okc_k_lines_b oklb_ib --,
WHERE okhb.ID = oklb_ib.dnz_chr_id
AND lse_id = 9
AND oklb_ib.attribute15 = p_unit_num
ORDER BY okhb.start_date DESC,
okhb.creation_date DESC)
--ORDER BY okhb.start_date DESC)
WHERE ROWNUM = 1;
SELECT date_terminated
INTO l_max_term_date
FROM (SELECT oklb.dnz_chr_id, oklb.ID, oklb.date_terminated,
oklb.sts_code, mic.category_concat_segs,
mic.category_set_name
FROM apps.okc_k_headers_b okhb,
apps.okc_k_lines_b oklb,
apps.okc_k_items oki,
--apps.mtl_system_items_b msib,
mtl_item_categories_v mic
WHERE oklb.dnz_chr_id = okhb.ID
AND okhb.contract_number = l_contract_number
AND oklb.lse_id = 1
AND oki.cle_id = oklb.ID
-- AND msib.inventory_item_id = oki.object1_id1
-- AND msib.organization_id = oki.object1_id2
--AND segment1 = 'OKS-RNTL-MAINT-WH'
--AND oklb.sts_code = 'TERMINATED'
AND oklb.date_terminated IS NOT NULL
AND mic.inventory_item_id = oki.object1_id1
--msib.inventory_item_id
AND mic.organization_id = oki.object1_id2
--msib.organization_id
AND mic.category_set_name = 'Product'
AND mic.category_concat_segs = 'OKS-Base'
ORDER BY oklb.date_terminated DESC)
WHERE ROWNUM = 1;
END IF;
RETURN l_max_term_date;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
RETURN NULL;
WHEN OTHERS
THEN
RETURN NULL;
END;
END;
Regards,
Shruti -
Lov Values are not showing for Discoverer Reports in Application
Hi,
I developed some discoverer reports, those reports having parameters with LOV. Those LOV values are showing in Discoverer Desktop, but after registering those reports in Oracle applications those LOV values are not showing. Pls let me know how resolve this issue.
Regards,
Hanimi.Hi,
Also it is necessary to know how the LOVs are defined. Are they based on Application flexvalues for example? In which case it may be that you have not got your NLS language parameters set correctly when connecting from Applications.
Rod West -
How to order the Discoverer reports through MENU function sequence
I created 20 Discoverer reports functions in the MENU form, there is a sequence column,
but when the 20 Discoverer reports displayed on OSO, they are not ordered by the sequence number, looks like just randomly listed. How can I make the 20 Discoverer Reports ordered by the sequence number when displayed on OSO?Hi ram,
There are steps to register in oracle applications so there wont be any login poped up.Below is the link in that viewer and plus acces with e-business suite
http://ascbi.com/thirdparty_documents.htm_
hope it helps you,award points.
By,
KK -
Open Pages from Discoverer Report
Hi,
Is there a way to invoke a webpage or even better, an oracle function (that links to forms or self-service) from a discoverer report row ?
for example, I want a report for employees where the person looking at the report will click on the employee name and is taken straight to the person details page for that employee.
Regards.Hi,
You can create a link to a form function using fnd_run_function.get_run_function_url. You can create a calculation either in a view or using a calculated item in the EUL (you will have to map the get_run_function_url in the EUL to do this). You then set the content type property of the EUL item to FILE so that when the item is selected in the workbook it appears as a hyperlink.
Most forms in apps except parameters so that you can pass the employee id to the form and the form will open up with the employee record. For example, if you are using a seed HR person form you create a calculation,
fnd_run_function.get_run_function_url(3494 -- PERWSHRG-404
,800 -- HR
,fnd_global.RESP_ID -- caller's responsibility
,0 -- Business Group
, -- Parameters
'P_PERSON_ID='||TO_CHAR(person_id, 'fm9999999999999')||
' P_EFFECTIVE_DATE='||TO_CHAR(SYSDATE, 'YYYY/MM/DD'))Rod West -
Discoverer report not working on R12 !
We have just migrated to R12 from 11i and some of the discoverer query is not working, but the same is working fine when we ran thru SQL Developer or TOAD.
Is there any context (mo_global.set_policy_context) needs to be set in Discoverer report to get the data?
ThanksThanks Srini,
There is no any specific error message, the strange thing is if I run the Discoverer report is not returning any data, but if I set the mo_global.set_policy_context ('S',111) in SQL Developer or TOAD and then run the discoverer report it return data...
Any pointers? -
Discoverer Report parameter based on subquery
Hi Guys,
I have following query which i need to convert into discoverer report
select hpah.EMPLOYEE_NUMBER,hpah.FIRST_NAME,hpah.LAST_NAME,hpah.PERSON_NAME,
--hpah.JOB_NAME,hpah.ASSIGNMENT_ORGANIZATION_NAME,
hpah.ASSIGNMENT_TYPE,hpah.USER_ASSIGNMENT_STATUS,
SUBSTR(pj.name, 1, instr(pj.name, '.', 1, 2) -1) job_code,
SUBSTR(pj.name, instr(pj.name, '.', 1, 2) + 1) job_title,
(select haou.ATTRIBUTE1 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) Function,
(select haou.ATTRIBUTE2 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) org_desc,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 1, 6) dept_code,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 7, LENGTH(hpah.ASSIGNMENT_ORGANIZATION_NAME)) dept_title,
hpah.GRADE_NAME,hpah.LOCATION_NAME,hpah.SUPERVISOR_NAME,
hpah.PERSON_START_DATE,hpah.ORIGINAL_DATE_OF_HIRE ,
hpah.SALARY_BASIS,hpah.BUSINESS_GROUP_ID,hpah.ASSIGNMENT_ID,
decode( hpah.SALARY_BASIS, 'ANNUAL', ppp.proposed_salary_n,
'HOURLY', (ppp.proposed_salary_n *2080),
ppp.proposed_salary_n
) salary,
sysdate run_date
from
hrfg_person_assignment_history hpah ,
per_pay_proposals ppp,
per_pay_bases ppb,
per_grades pg,
per_jobs pj
where hpah.ASSIGNMENT_ID = ppp.ASSIGNMENT_ID
and hpah.SALARY_BASIS = ppb.PAY_BASIS
and hpah.BUSINESS_GROUP_ID = ppb.BUSINESS_GROUP_ID
and hpah.GRADE_ID = pg.GRADE_ID(+)
and hpah.JOB_ID = pj.JOB_ID (+)
--and hpah.EMPLOYEE_NUMBER = 100779
and hpah.PERSON_START_DATE IN
(SELECT MAX(hpah2.PERSON_START_DATE)
FROM hrfg_person_assignment_history hpah2
WHERE hpah2.EMPLOYEE_NUMBER = hpah.EMPLOYEE_NUMBER
AND hpah2.PERSON_START_DATE <= sysdate )
order by hpah.EMPLOYEE_NUMBER
i need to have sysdate as parameter in my report. I want data based on the date i provide.
how can i make this as an parameter?Hi Prashant,
Subqueries are not Supported in Conditions..As of Disco Plus Rel 10.1.2.54.25
A plausible workaround can be:
1. Create a View with foll. Query
create or replace view TEST_VIEW as
select hpah.EMPLOYEE_NUMBER emp_no,hpah.FIRST_NAME,hpah.LAST_NAME,hpah.PERSON_NAME,
--hpah.JOB_NAME,hpah.ASSIGNMENT_ORGANIZATION_NAME,
hpah.ASSIGNMENT_TYPE,hpah.USER_ASSIGNMENT_STATUS,
SUBSTR(pj.name, 1, instr(pj.name, '.', 1, 2) -1) job_code,
SUBSTR(pj.name, instr(pj.name, '.', 1, 2) + 1) job_title,
(select haou.ATTRIBUTE1 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) Function,
(select haou.ATTRIBUTE2 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) org_desc,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 1, 6) dept_code,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 7, LENGTH(hpah.ASSIGNMENT_ORGANIZATION_NAME)) dept_title,
hpah.GRADE_NAME,hpah.LOCATION_NAME,hpah.SUPERVISOR_NAME,
hpah.PERSON_START_DATE,hpah.ORIGINAL_DATE_OF_HIRE ,
hpah.SALARY_BASIS,hpah.BUSINESS_GROUP_ID,hpah.ASSIGNMENT_ID,
decode( hpah.SALARY_BASIS, 'ANNUAL', ppp.proposed_salary_n,
'HOURLY', (ppp.proposed_salary_n *2080),
ppp.proposed_salary_n
) salary,
sysdate run_date
from
hrfg_person_assignment_history hpah ,
per_pay_proposals ppp,
per_pay_bases ppb,
per_grades pg,
per_jobs pj
where hpah.ASSIGNMENT_ID = ppp.ASSIGNMENT_ID
and hpah.SALARY_BASIS = ppb.PAY_BASIS
and hpah.BUSINESS_GROUP_ID = ppb.BUSINESS_GROUP_ID
and hpah.GRADE_ID = pg.GRADE_ID(+)
and hpah.JOB_ID = pj.JOB_ID (+)
--and hpah.EMPLOYEE_NUMBER = 100779
order by hpah.EMPLOYEE_NUMBER
2. Create another table say TEST_TAB
create table TEST_TAB (emp_no, start_dt) as
SELECT hpah2.EMPLOYEE_NUMBER , MAX(hpah2.PERSON_START_DATE) PERSON_START_DATE
FROM hrfg_person_assignment_history hpah2
GROUP BY hpah2.EMPLOYEE_NUMBER
3. Add both of them in Disco Admin and create a join between TEST_VIEW.emp_no and TEST_TAB.emp_no
4. Bring both these Objects in a new report in Disco Plus
5. Create a New Parameter (Base it on PERSON_START_DATE Col of TEST_TAB)
6. Choose Option Create Condition with operator <=
7. Checkmark "Require User to Enter a Value
8. Execute Report
I believe this should work. Either ways let me know if it helps or u get another workaround. (This scenario looks quite interesting)
Thanks,
Chinmay -
Hi All,
I have a problem wherein some specific users are saying that the report is slow at their end.
The exact issue is...we have Discoverer Report present at the US server. Now we have 2 sites CANADA and US from where this report is run. Both sites refer the same server i.e. the US server.
Canadian users are reporting performance problems with this report, but when I run the report at my end there is no such problem.
Please advice what can be the probable reason for this.
Regards,
AnkurHi Ankur
Further to what has been said, if you are running Discoverer Plus across a long time it will take longer to run. Typically the query runs within the database but everything else, formatting, layout, page items and so on is done locally by the Java applet in your local cache. What happens if you run a CANADA report from the US site? Does it run ok? If so, then therein lies the answer. The machines in Canada need to therefore be as powerful as you can make them plus your network needs to be as fast as you can too.
Another way way I have seen this solved is by providing something like a Citrix server in the US for the Canadian customers to log into.
Best wishes
Michael -
Hi guys,
I have created a link to Discoverer report in applications that works beautifully but there is one downside in it. When we invoike the report to launch in Discoverer Viewer it opens in the same browser window. Does anyone know how to make it open in a new browser window? I have looked into ICX: Discoverer parameters and other profile options but could not find anything pertaining to that. Also looked into Function parameters but seems to be missing it. Help, anybody!
Thanks in advance.hey, follow this Note for 11i: Note:278095.1 or this one for r12: Note:471303.1
-
Discoverer Report returning ' no data found '
Hi ...
i have an issue with one discoverer report .
Discoverer report name : EDI Price Exception Report.
when i ran the report in Discoverer Desktop edition It is returning 'No Data Found ' But i am taken the Query from admin edition and tried to ran in PL/SQL Developer/TOAD by setting Org_id condition
it's returning Data . the Desktop Edition of Discoverer for some specific date Range it's giving Data But from last month on wards it's not returning any Data.
in Discoverer Report Desktop it's not retuning the Data from November to till date
Oracle Applications 11i
Discoverer 4i
Oracle Data base :9i
OS : Windows.
Attached the Sql which i used to generate the Report :
I HAVE USED THE FOLLOWING :-for initialize the profile options
EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
SELECT A.CUST_PO_NUMBER,
A.ORDER_NUMBER,
A.ORDERED_DATE,
A.ORDER_TYPE,
-- C.CUSTOMER_ID,
C.CUSTOMER_NUMBER,
C.CUSTOMER_NAME,
B.LINE_NUMBER,
B.ORDERED_ITEM,
MSI.SEGMENT1 ACCO_ITEM, -- GRW 20060407
MSI.DESCRIPTION,
-- MSI.INVENTORY_ITEM_ID,
(SELECT MCI.CUSTOMER_ITEM_NUMBER
FROM MTL_CUSTOMER_ITEMS MCI,
MTL_CUSTOMER_ITEM_XREFS MCIX,
MTL_SYSTEM_ITEMS_B MSIB
-- MTL_PARAMETERS MP
WHERE MCI.CUSTOMER_ID = C.CUSTOMER_ID --1814924
AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID --869899
AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
AND MTP.ORGANIZATION_CODE = 'BRM'
AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
AND NVL (mci.inactive_flag, 'N') <> 'Y'
AND NVL (mcix.inactive_flag, 'N') <> 'Y')
CUSTOMER_ITEM,
XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
B.ORDERED_QUANTITY,
B.PRICE_LIST,
B.UNIT_SELLING_PRICE,
B.UNIT_LIST_PRICE,
TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)
CUST_SENT_PRICE_CONVERTED,
ABS ( (B.UNIT_SELLING_PRICE
- apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)))
DIFFERENCE,
MTP.ORGANIZATION_CODE,
B.SHIP_TO_LOCATION
FROM OE_ORDER_HEADERS_V A,
OE_ORDER_LINES_V B,
RA_CUSTOMERS C,
MTL_PARAMETERS MTP,
MTL_SYSTEM_ITEMS_B MSI
WHERE A.HEADER_ID = B.HEADER_ID
AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
-- Added by Gati on 19-Oct-2012, tkt - INC000000118962
AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)),
2) <> B.UNIT_SELLING_PRICE
--AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
--AND a.ship_from_org_id = mtp.organization_id
AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID -- GRW 20060413
--AND a.ship_from_org_id = msi.organization_id
AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID -- GRW 20060413
AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID -- GRW 20060407
AND A.ORDER_SOURCE_ID = 6
AND A.ORG_ID = B.ORG_ID
AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between '01-NOV-2013' and '03-NOV-2013'
and mtP.organization_code='BRM'
AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
FROM HR_OPERATING_UNITS HOU
WHERE HOU.NAME = '50 ACCO Canada')
AND B.cancelled_flag <> 'Y'
AND B.flow_status_code <> 'CANCELLED'
AND B.ORDERED_ITEM <> 'INVALID_ITEM'
ORDER BY a.order_numberHi,
Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
You may find another condition or join that limits your data.
Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
begin
fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
end -
Discoverer report with PO_RELEASES in R12
Hi all,
I'm migrating a Discoverer report from 11i to R12. The query of the folder uses the po_releases and this join condition "and rcv_transactions.po_release_id = po_releases.po_release_id(+)". When I run the report I get the error "invalid number" but when I tried the same query but using the po_releases_all it seems to work. Is this ok? I saw that in R12 po_releases is just a synonym, is this correct? I would appreciate your comments.
Thanks in advance.
GabrielaThanks Hussein. Yes, I've checked the document you recomend, but the problem seems to be when I try to use po_releases, the synomy) and I don't know why it work with the _all table but not work with the synonym.
Maybe you are looking for
-
Offset printing settings for PDF/X-3:2002
Can anybody advice me the best settings of PDF/X for offset printing? Thanks in advance
-
How to preview individual artboards?
Hi. Can somebody tell me how to configure the Adobe Bridge CS4 so that it shows/views/displays individual art boards (that I can scroll thru) and NOT the whole *.ai file (which contains ALL the art boards)? I want to preview the individual art boards
-
hi folks, I'm dragging some NEF files into a photoshop cs5 document. They have high resolution (around 2000 pixels on a side or so). I'm making a collage, so I drag the NEF's into the photoshop document, resize and rotate, and then hit "enter" to p
-
Hi, We are planning to migrate Oracle 8i database to Oracle 10g Database. Approach that we have decided is export/Import. Can anyone tell me what all steps we have to perform before importing dmp to new database? We are planning to go for schema leve
-
Opening multiple .webloc files under Yosemite
If I try and open more than one .webloc file with Safari Version 8.0 (10600.1.25) under 10.10 (14A389), only one of the links load, and Safari throws a dialog that says: You can't open the application "Safari.app" because it is not responding. For ex