Using Interactive Report Selection In A Procedure
I want someone to be able to select a set of rows using the interactive report filtering capabilities. Then I want to use the data from the selected rows in a procedure. Is there some way to obtain the query being used by the report; or, in some other way obtain the rows that are selected?
Thanks much,
Rick.
Hi Rick,
Information about the IR reports are stored on tables that can be accessed through the following views:
APEX_APPLICATION_PAGE_IR
APEX_APPLICATION_PAGE_IR_CAT
APEX_APPLICATION_PAGE_IR_CGRPS
APEX_APPLICATION_PAGE_IR_COL
APEX_APPLICATION_PAGE_IR_COND
APEX_APPLICATION_PAGE_IR_RPT
The ..._COND one may be most useful but you should check all of them. I haven't tried doing this myself but I think others have - a search on this forum may help there.
Andy
Similar Messages
-
Dynamic Action based on Interactive Report Select List Value
I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
select APEX_ITEM.SELECT_LIST(
p_idx => 3,
--p_value => deptno,
p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
--p_attributes => 'style="color:red;"',
p_show_null => 'YES',
p_null_value => NULL,
p_null_text => '--Select--',
--p_item_id => 'f03_#ROWNUM#',
p_item_id => 'P6_IR_SELECT_LIST',
p_item_label => 'Label for f03_#ROWNUM#',
p_show_extra => 'YES') "Actions"
from dual;
When building the Dynamic Action, I chose the following values from the Advanced wizard
Event: Select
Selection Type: DOM Object
DOM Object: P6_IR_SELECT_LIST
Condition: Equal to
Value: "Delete"
True Action: Execute Javascript Code: Alert('Here');
Doesn't seem to be firing...can anyone help?
Thanks in advance,
JohnHi,
I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
Try using a javascript expression instead, like this:
$v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
Luis
Edited by: Luis Cabral on Feb 29, 2012 4:45 PM -
Problem using Interactive Report in Application Express 3.2.1.00.11
Hi All ,
I am using Interactive Report in Application Express 3.2.1.00.11
I have made report as editable by using following query
Select ROWID,
APEX_ITEM.CHECKBOX(1,IDSKILL,'UNCHECKED') "Mark",
APEX_ITEM.TEXT(2,IDSKILL)"IDSKILL",
APEX_ITEM.TEXT(3,SKILL) "SKILL",
APEX_ITEM.SELECT_LIST_FROM_LOV(4,IDBEARBEITER,'DIR_LOV'),
APEX_ITEM.TEXT(5,ÄNDERUNGSDATUM)"ÄNDERUNGSDATUM"
from SKILLS
Problem :-
When I click FILTER option in Interactive Report , It is taking under Expression "<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />" and displaying in search filter as
Skill = '<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />'
Can I make display like Skill ="ARIS"
Any suggestion is welcom ..
Thanks in advance
Cheers
Sachin SrivastavaHi,
As I know there is no fix/workaround for that.
Disable filtering and other stuff is only. But I think you of course like have filters and other nice thing of interactive report. Other vice you have done classic report.
It is better use classic report and build own custom filers.
Br, Jari -
Oracle Problem using Interactive Report in Application Express 4
Hi All ,
I am using Interactive Report in Application Express 3.2.1.00.11
I have made report as editable by using following query
Select ROWID,
APEX_ITEM.CHECKBOX(1,IDSKILL,'UNCHECKED') "Mark",
APEX_ITEM.TEXT(2,IDSKILL)"IDSKILL",
APEX_ITEM.TEXT(3,SKILL) "SKILL",
APEX_ITEM.SELECT_LIST_FROM_LOV(4,IDBEARBEITER,'DIR_LOV'),
APEX_ITEM.TEXT(5,ÄNDERUNGSDATUM)"ÄNDERUNGSDATUM"
from SKILLS
Problem :-
When I click FILTER option in Interactive Report , It is taking under Expression "<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />" and displaying in search filter as
Skill = '<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />'
Can I make display like Skill ="ARIS"
Any suggestion is welcom ..Try making your column definition as "Remove HTML and escape special characters".
I tried it and it make the column appear as editable as intended and also clicking on the column heading or on the filter in the IR bar behave properly. -
Create data models using interactive reporting
Hey guys,
I was wondering how you create data models using interactive reporting. An simple example would be great? I would really appreciate if I could get an answer.
Also, I wanted to understand a real world situation that you guys might have faced with creating data models, etc...thanks a ton :-)
-- AdiYour question is not that much clear on what you are asking for.
But for reference please have a look at the below doc which explain the Integration with IR and webanalysis what you require.
IR and WebAnalysis with Essbase
Thanks,
~KKT~ -
Using Interactive Report with SQL query accessing tables via db link
Is there a known issue with using the interactive report in version 3.1.2.00.02 with SQL that is accessing tables via a database link? I get the error 'not all variables bound', I do not get this error when using the standard report for the same SQL?
Thanks,
Edited by: [email protected] on May 26, 2009 2:59 PMVarad,
Good question, failed to check that. In fact there are errors. Dump file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s002_3640.trc
Mon Jun 15 08:48:11 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows XP Version V5.1 Service Pack 3
CPU : 2 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1051M/2038M, Ph+PgF:2273M/3934M, VA:1302M/2047M
Instance name: xe
Redo thread mounted by this instance: 1
Oracle process number: 16
Windows thread id: 3640, image: ORACLE.EXE (S002)
*** ACTION NAME:(PAGE 2) 2009-06-15 08:48:11.743
*** MODULE NAME:(APEX:APPLICATION 112) 2009-06-15 08:48:11.743
*** SERVICE NAME:(SYS$USERS) 2009-06-15 08:48:11.743
*** CLIENT ID:(ADMIN:232384011651572) 2009-06-15 08:48:11.743
*** SESSION ID:(24.931) 2009-06-15 08:48:11.743
*** 2009-06-15 08:48:11.743
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_LdiDateFromArray+55] [PC:0x608B04F3] [ADDR:0x0] [UNABLE_TO_WRITE] []
Current SQL statement for this session:
select Stage,Procedure,Stp,FW,Reslt,MSG,date_run
from bi_msg_VW@dwitnm
order by 1
----- PL/SQL Call Stack -----
object line object
handle number name
2FE1EA14 1207 package body SYS.DBMS_SYS_SQL
2FE1F064 328 package body SYS.DBMS_SQL
2ABDC520 5097 package body APEX_030200.WWV_RENDER_REPORT3
2BD5E55C 1538 package body APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS
2BD5E55C 366 package body APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS
335BDA88 11190 package body APEX_030200.WWV_FLOW
2BDBD1C8 255 procedure APEX_030200.F
2AB58D10 30 anonymous block
----- Call Stack Trace -----
I didn't include the call stack, it is too large. Now I'm even more puzzled that the IR would work while a sql report would fail.
Bob -
BUG? Interactive report select other tab results in Page not found
Hello all,
Recently I have updated our Apex install to version 4.0.1 on Oracle 11.2. There I found the following problem, for which I don't know if it is a bug or not:
Steps to reproduce:
1. Select a sample application and open a page that contains an interavtive report
2. Run the page
3. Click on "Actions" and select "Filter"
4. Wait for the filter to show and then select any other tab.
This results in a page not found. The address bar shows the link: http://apex.oracle.com/pls/apex/wwv_flow.accept without any parameters.
I have tried to use another template and finally I turned to the sample applications. There this issue can also be found.
My questions:
1. Is this problem already known
2. Is there a work around? because this can be very annoying for our customer.
Thanks!
Mark.
Edited by: user13295208 on 25-okt-2010 2:54Hi,
Thanks for your reply Patrick.
I have read the post and added the parameter. i am using the EPG. I am able to reproduce using the described steps even using the test applications on the oracle apex environment on the internet from oracle itself.
This is the output I get:
Tue, 26 Oct 2010 06:34:47 GMT
wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
VARIABLES IN FORM NOT IN PROCEDURE: APEXIR_BETWEEN_FROM,APEXIR_BETWEEN_TO
NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
DAD name: apex
PROCEDURE : wwv_flow.accept
URL : http://XDB HTTP Server:8080/apex/wwv_flow.accept
PARAMETERS :
===========
P_FLOW_ID:
300
P_FLOW_STEP_ID:
15
P_INSTANCE:
4195959754273719
P_PAGE_SUBMISSION_ID:
3898486033507817
P_REQUEST:
Status
P_ARG_NAMES:
2229031230287918
2328020293962011
2328412840962015
P_T01:
2
P_T02:
-1
P_T03:
P_IGNORE_01:
COLUMN
P_IGNORE_10:
BIY_ID
=
is null
=
>
minutes
APEXIR_BETWEEN_FROM:
APEXIR_BETWEEN_TO:
P_MD5_CHECKSUM:
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Oracle Embedded PL/SQL Gateway/11.2.0.1.0
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=8080
SERVER_NAME=XDB HTTP Server
REQUEST_METHOD=POST
QUERY_STRING=
PATH_INFO=/wwv_flow.accept
SCRIPT_NAME=/apex
REMOTE_HOST=
REMOTE_ADDR=195.75.194.25
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTP
REMOTE_USER=ANONYMOUS
ORACLE_SSO_USER=
OSSO_IDLE_TIMEOUT_EXCEEDED=
OSSO_USER_GUID=
HTTP_CONTENT_LENGTH=459
HTTP_CONTENT_TYPE=application/x-www-form-urlencoded
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTB5.4)
HTTP_HOST=172.21.3.112:8080
HTTP_ACCEPT=image/gif,image/jpeg,image/pjpeg,image/pjpeg,application/xaml+xml,application/vnd.ms-xpsdocument,application/x-ms-xbap,application/x-ms-application,application/vnd.ms-excel,application/vnd.ms-powerpoint,application/msword,*/*
HTTP_ACCEPT_ENCODING=gzip,deflate
HTTP_ACCEPT_LANGUAGE=nl
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=WWV_CUSTOM-F_1295002828055418_300=10462C0802BCE5E0; ORA_WWV_USER=-1; ORA_WWV_REMEMBER_UN=ADMIN:BAGTRAX BSC; ORA_WWV_R3=%23ALL; ORA_WWV_R2=%23ALL; ORA_WWV_R1=%23ALL; LOGIN_USERNAME_COOKIE=bsc
HTTP_IF_MODIFIED_SINCE=
HTTP_REFERER=http://172.21.3.112:8080/apex/f?p=300:15:4195959754273719::NO
HTTP_SOAPACTION=
HTTP_ORACLE_ECID=
HTTP_ORACLE_CACHE_VERSION=
HTTP_AUTHORIZATION=
WEB_AUTHENT_PREFIX=
DAD_NAME=apex
DOC_ACCESS_PATH=docs
DOCUMENT_TABLE=wwv_flow_file_objects$
PATH_ALIAS=
REQUEST_CHARSET=AL32UTF8
REQUEST_IANA_CHARSET=UTF-8
SCRIPT_PREFIX=
HTTP_IF_MATCH=
HTTP_CACHE_CONTROL=
SOAP_BODY=
HTTP_X_ORACLE_DEVICE_CLASS=
HTTP_X_ORACLE_DEVICE_ORIENTATION=
HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
HTTP_X_ORACLE_DEVICE=
HTTP_X_ORACLE_ORIG_ACCEPT=
HTTP_X_ORACLE_ORIG_USER_AGENT=
HTTP_X_ORACLE_USER_LOCALE=
HTTP_X_ORACLE_USER_NAME=
HTTP_X_ORACLE_USER_DISPLAYNAME=
HTTP_X_ORACLE_USER_USERKIND=
HTTP_X_ORACLE_USER_AUTHKIND=
HTTP_X_ORACLE_USER_DEVICEID=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
HTTP_X_ORACLE_USER_LOCATION_BLOCK=
HTTP_X_ORACLE_USER_LOCATION_CITY=
HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
HTTP_X_ORACLE_USER_LOCATION_COUNTY=
HTTP_X_ORACLE_USER_LOCATION_STATE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
HTTP_X_ORACLE_USER_LOCATION_TYPE=
HTTP_X_ORACLE_USER_LOCATION_X=
HTTP_X_ORACLE_USER_LOCATION_Y=
HTTP_X_ORACLE_SERVICE_HOME_URL=
HTTP_X_ORACLE_SERVICE_PARENT_URL=
HTTP_X_ORACLE_HOME_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
HTTP_X_ORACLE_CACHE_USER=
HTTP_X_ORACLE_CACHE_SUBID=
HTTP_X_ORACLE_CACHE_AUTH=
HTTP_X_ORACLE_CACHE_DEVICE=
HTTP_X_ORACLE_CACHE_LANG=
HTTP_X_ORACLE_CACHE_ENCRYPT=
HTTP_X_ORACLE_ASSERT_USER=
So it looks like something with the interactive report.
Any ideas?
Mark -
Make Interactive report from Oracle Store Procedure returning SQL
I have the following type of Report Region:
Report Region Type:
SQL Query (PL/SQL function body returning SQL query)
Region Source:
DECLARE
q varchar2(4000);
BEGIN
GetMySQLString(:P22715_SID, q);
return q;
END;
function GetMySQLString() return varchar2 is
begin
return 'select * from myTable';
end GetMySQLString;
For some reason though I can't figure out how to get it to work with an Interactive Report.... Basically I want the report to use the SQL returned by the Oracle Stored Function....
Any thoughts?Should have searched better!
Guess this should help: Calling Procedure or Function from Interative Report
Edited by: tward on Sep 3, 2010 8:55 AM -
"Invalid number" error using Interactive Report search on collection
hi -- I have several interactive reports based on collections. In the IR reqion query definition,
I cast the collection values as needed (number, date, etc). Everything's been working great.
In both development and production, I can use the search feature of interactive reports
and it finds rows containing the text I type in (as well as everything else working fine...)
I just imported a new version of an application into our production database. Now, when I use the
interactive report search, I always get "invalid number". This even happens on interactive reports
that still work in the previous version of the production application... and these IRS
have not been modified at all.
If I create a filter and search for "elevation" in a string column, the filter works. If I create a filter
searching for "elevation" in a number column, I get "invalid number". (In the development
environment, I can do the latter -- it just doesn't find any rows.)
Clearly it's choking on the types of the columns in the IR... but why now and not before, and why
in the production database but not the development DB? Both are running 4.0.1.00.03.
This is a pretty major loss of functionality... and it comes at a really bad time... Help?!
Thanks,
Carolhi Andy, Tony -- Completely understand about your email address. I've actually wondered at the fact that any
of you gurus are willing to give them out.
It's not tons of stuff, so here it is.
1) The application process that creates the collection. This process that runs whenever an IR
page is being rendered. The various DB names are application items. This application can affect data
on multiple databases. You'll see see this in the process that builds the query.
IF (apex_collection.collection_exists (
p_collection_name=>'IR_COLLECTION')) then
apex_collection.delete_collection(p_collection_name=>'IR_COLLECTION');
END IF;
apex_collection.create_collection_from_query_b(p_collection_name=>'IR_COLLECTION', p_query=>meta_data_pkg.build_ir_collection_query(:TABLE_NAME, :MASTER_DB_NAME, :CZAR_DB_NAME, :DB_NAME));2) The database function that constructs the query. Called in the above create_collection statement.
FUNCTION build_ir_collection_query (table_name varchar2, master_db_name varchar2, czar_db_name varchar2, ref_db_name varchar2)
return varchar2
IS
query VARCHAR2(3000);
BEGIN
IF /* check for other table names here */ THEN
-- build queries for other tables
-- *** HDB_EXT_DATA_CODE
ELSIF (upper(table_name) in ('HDB_EXT_DATA_CODE', 'HDB_EXT_DATA_CODE_SYN')) THEN
query := 'SELECT /*+DRIVING_SITE(dcs)*/ dc.ext_data_code_sys_id, dcs.ext_data_code_sys_name, dcs.agen_id, a.agen_name, dc.primary_data_code,';
query := query||' dc.secondary_data_code, dc.hdb_datatype_id, d.datatype_name, d.unit_id, u.unit_name, d.physical_quantity_name, to_char(dc.date_time_loaded,''DD-MON-YYYY HH24:MI:SS'')';
query := query||' FROM hdb_ext_data_code_syn@'||master_db_name || ' dc, hdb_ext_data_code_sys_syn@'||master_db_name ||
' dcs, hdb_agen_syn@'||master_db_name||' a, hdb_datatype_syn@'||master_db_name||' d, hdb_unit@'||czar_db_name||' u';
query := query||' WHERE dc.ext_data_code_sys_id = dcs.ext_data_code_sys_id AND dcs.agen_id = a.agen_id(+) AND dc.hdb_datatype_id = d.datatype_id AND d.unit_id = u.unit_id';
/* continue w/ other tables */
END;3) The query that it builds for the table in question:
SELECT /*+DRIVING_SITE(dcs)*/ dc.ext_data_code_sys_id, dcs.ext_data_code_sys_name, dcs.agen_id, a.agen_name,
dc.primary_data_code, dc.secondary_data_code, dc.hdb_datatype_id, d.datatype_name, d.unit_id, u.unit_name,
d.physical_quantity_name, to_char(dc.date_time_loaded,'DD-MON-YYYY HH24:MI:SS')
FROM hdb_ext_data_code_syn@UCHDB2 dc, hdb_ext_data_code_sys_syn@UCHDB2 dcs, hdb_agen_syn@UCHDB2 a,
hdb_datatype_syn@UCHDB2 d, hdb_unit@UCHDB2 u
WHERE dc.ext_data_code_sys_id = dcs.ext_data_code_sys_id AND dcs.agen_id = a.agen_id(+)
AND dc.hdb_datatype_id = d.datatype_id AND d.unit_id = u.unit_id 4) The explain plan results on the development database
PLAN_TABLE_OUTPUT
Plan hash value: 583729845
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
| Inst |
| 0 | SELECT STATEMENT REMOTE | | 97 | 16490 | 19 (16)| 00:00
:01 | |
|* 1 | HASH JOIN | | 97 | 16490 | 19 (16)| 00:00
:01 | |
| 2 | TABLE ACCESS FULL | HDB_UNIT | 177 | 3540 | 3 (0)| 00:00
:01 | UCHDB2 |
|* 3 | HASH JOIN RIGHT OUTER | | 95 | 14250 | 15 (14)| 00:00
:01 | |
| 4 | TABLE ACCESS FULL | HDB_AGEN | 54 | 1944 | 3 (0)| 00:00
:01 | UCHDB2 |
|* 5 | HASH JOIN | | 95 | 10830 | 12 (17)| 00:00
:01 | |
| 6 | MERGE JOIN | | 112 | 5936 | 6 (17)| 00:00
:01 | |
| 7 | TABLE ACCESS BY INDEX ROWID| HDB_EXT_DATA_CODE_SYS | 15 | 405 | 2 (0)| 00:00
:01 | UCHDB2 |
| 8 | INDEX FULL SCAN | HDB_EXT_DATA_CODE_SYS | 15 | | 1 (0)| 00:00
:01 | UCHDB2 |
|* 9 | SORT JOIN | | 112 | 2912 | 4 (25)| 00:00
:01 | |
| 10 | TABLE ACCESS FULL | HDB_EXT_DATA_CODE | 112 | 2912 | 3 (0)| 00:00
:01 | UCHDB2 |
| 11 | TABLE ACCESS FULL | HDB_DATATYPE | 711 | 43371 | 5 (0)| 00:00
:01 | UCHDB2 |
Predicate Information (identified by operation id):
1 - access("A2"."UNIT_ID"="A1"."UNIT_ID")
3 - access("A4"."AGEN_ID"="A3"."AGEN_ID"(+))
5 - access("A5"."HDB_DATATYPE_ID"="A2"."DATATYPE_ID")
9 - access("A5"."EXT_DATA_CODE_SYS_ID"="A4"."EXT_DATA_CODE_SYS_ID")
filter("A5"."EXT_DATA_CODE_SYS_ID"="A4"."EXT_DATA_CODE_SYS_ID")
Note
- fully remote statement 5) The explain plan results on the production database
PLAN_TABLE_OUTPUT
Plan hash value: 583729845
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 97 | 16490 | 19 (16)| 00:00:01 |
|* 1 | HASH JOIN | | 97 | 16490 | 19 (16)| 00:00:01 |
| 2 | TABLE ACCESS FULL | HDB_UNIT | 177 | 3540 | 3 (0)| 00:00:01 |
|* 3 | HASH JOIN RIGHT OUTER | | 95 | 14250 | 15 (14)| 00:00:01 |
| 4 | TABLE ACCESS FULL | HDB_AGEN | 54 | 1944 | 3 (0)| 00:00:01 |
|* 5 | HASH JOIN | | 95 | 10830 | 12 (17)| 00:00:01 |
| 6 | MERGE JOIN | | 112 | 5936 | 6 (17)| 00:00:01 |
| 7 | TABLE ACCESS BY INDEX ROWID| HDB_EXT_DATA_CODE_SYS | 15 | 405 | 2 (0)| 00:00:01 |
| 8 | INDEX FULL SCAN | HDB_EXT_DATA_CODE_SYS | 15 | | 1 (0)| 00:00:01 |
|* 9 | SORT JOIN | | 112 | 2912 | 4 (25)| 00:00:01 |
| 10 | TABLE ACCESS FULL | HDB_EXT_DATA_CODE | 112 | 2912 | 3 (0)| 00:00:01 |
| 11 | TABLE ACCESS FULL | HDB_DATATYPE | 711 | 43371 | 5 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - access("D"."UNIT_ID"="U"."UNIT_ID")
3 - access("DCS"."AGEN_ID"="A"."AGEN_ID"(+))
5 - access("DC"."HDB_DATATYPE_ID"="D"."DATATYPE_ID")
9 - access("DC"."EXT_DATA_CODE_SYS_ID"="DCS"."EXT_DATA_CODE_SYS_ID")
filter("DC"."EXT_DATA_CODE_SYS_ID"="DCS"."EXT_DATA_CODE_SYS_ID") 6) This is the source query for the interactive report in question. The application process that creates the
collection runs before this region is rendered.
Select /*+ NO_QUERY_TRANSFORMATION */
to_number(C001) Ext_Data_Code_Sys_Id,
C002 Ext_Data_Code_Sys_Name,
to_number(C003) Agen_Id,
C004 Agen_Name,
C005 Primary_Data_Code,
C006 Secondary_Data_Code,
to_number(C007) Hdb_Datatype_Id,
C008 Datatype_Name,
to_number(C009) Unit_Id,
C010 Unit_Name,
C011 Physical_Quantity_Name,
C012 Date_Time_Loaded
from apex_collections
where collection_name = 'IR_COLLECTION'
order by 1,5,7Well, maybe it is alot... !
Happy New Year!
Carol -
Cl_gui_docking_container Using Interactive Report?
1.Please explain me about cl_gui_docking_container.
2.My Requirment is using cl_gui_docking_container to develop a interactive report.
3.Tell me the difference between cl_gui_docking_container and cl_gui_custom_container.
Please help me.
Regards,
Thrimu1. cl_gui_docking_container:
There are some standard SAP delivered examples available. Check the reports RSDEMO_DOCKING_CONTROL
RSDEMO_SPLITTER_CONTROL
you can see below sample snippet example code.
**************** - ALV in a docking container
2. cl_gui_custom_container:
Have a look at this SAP ABAP Tutorial - ALV Grid Example with cl_gui_alv_grid and Screen Painter tutorial explanation with sample snippet
difference between cl_gui_docking_container and cl_gui_custom_container.
Read more at Custom Controls (SAP Library - SAP NetWeaver by Key Capability) -
Problems in accessing Essbase cube using Interactive Reporting studio
Hi All,
I have developed a report in Interactive studio for which Essbase is the source. When i try to process my query i am getting the below error
"Request [Report] from user[username] was terminated since it exceeded the time limit"
Any idea as to how the time limit can be increased at essbase side.I still can not resolve the problem. I am pulling up an attribute dimension in my report and that seems to be the root cause of the problem. When i remove this attribute dimension and generate the report with rest of the details the report renders without any issues.
can this be becuase the attribute dimension is "Dynamic Calc and Store" in Essbase cube and IR does not support certain essbase features such as Dynamic attribute dimensions ? This is quiet urgent and hence would need a quick response from ya'll -
Date parameter used in report selection
Post Author: calj
CA Forum: Upgrading and Licensing
In CR XI, is there an option to convert date/time fields to date that was under Report Options in 8.5? In the Select Expert date/time fields display the time, and date parameters are not listed unless their type is also date/time. How do I convert the database fields to date only so that date parameters appear in the list of values?
I recently upgraded from CR 8/8.5 to XI and and it is not an issue for converted reports, only for those created in XI. I've changed the settings under Options (Fields/Date Style = mm/dd/yyyy) but that doesn't make a difference. Since it works for converted reports, I must be overlooking something in the options dialog.
Thank you.Post Author: calj
CA Forum: Upgrading and Licensing
In CR XI, is there an option to convert date/time fields to date that was under Report Options in 8.5? In the Select Expert date/time fields display the time, and date parameters are not listed unless their type is also date/time. How do I convert the database fields to date only so that date parameters appear in the list of values?
I recently upgraded from CR 8/8.5 to XI and and it is not an issue for converted reports, only for those created in XI. I've changed the settings under Options (Fields/Date Style = mm/dd/yyyy) but that doesn't make a difference. Since it works for converted reports, I must be overlooking something in the options dialog.
Thank you. -
Essbase query using Interactive reporting
Hi, I am trying to build a Essbase query using IR tool.. I built the following query, but when I downloaded the results, my accounts are becoming columns.Is there a way to retain the accounts in rows?
Quick Solution is to move the data to a Pivot
Put Accounts into Facts
Right Click in Pivot - Data Labels - Rows -
Interactive Report with union all in the query
I have an interactive report with the following query in the report region:
select property,saddr1,upostdate,sotherdate1,journal_control-1000000000,account,sdesc,uref,
suserdefined1,trans_notes,samount,detail_notes
from journal_entries
union all
select property,saddr1,upostdate,sotherdate1,journal_control-700000000,account,sdesc,uref,
suserdefined1,trans_notes,stotalamount,detail_notes
from charge_entries;
This gets translated as listed below during runtime. I am trying to pass a value to both SELECT statements instead of the just the bottom select statement. Is this possible using interactive reports.
select
PROPERTY,
SADDR1,
UPOSTDATE,
SOTHERDATE1,
ACCOUNT,
SDESC,
UREF,
SUSERDEFINED1,
TRANS_NOTES,
SAMOUNT,
DETAIL_NOTES,
"JOURNAL_CONTROL-1000000000" "JOURNAL_CONTROL-1000000000"
from (
select property,saddr1,upostdate,sotherdate1,journal_control-1000000000,account,sdesc,uref,
suserdefined1,trans_notes,samount,detail_notes
from journal_entries
union all
select property,saddr1,upostdate,sotherdate1,journal_control-700000000,account,sdesc,uref,
suserdefined1,trans_notes,stotalamount,detail_notes
from charge_entries
) r
where ("PROPERTY" = :APXWS_EXPR_1)
0.14: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="prop1"
Thanks for any help,
JimThe bottom query is actually the third query, it encompasses the two that are unioned. It is generated by APEX to allow for the search facility - to achieve what you want ignore the larger query, and get your query working in something like SQL developer. Once it's working then put it into APEX, and the search wrapper will be generated.
select property,saddr1,upostdate,sotherdate1,journal_control-1000000000,account,sdesc,uref,
suserdefined1,trans_notes,samount,detail_notes
from journal_entries
where property = :YOUR_CRITERIA
union all
select property,saddr1,upostdate,sotherdate1,journal_control-700000000,account,sdesc,uref,
suserdefined1,trans_notes,stotalamount,detail_notes
from charge_entries
where property = :YOUR_CRITERIA;
Then you need to think about how you are using the report, if it is linked to from another report, then create a hidden variable and pass it from the parent.
If the report is standalone , then you could create an item , that can be edited and when submitted, re-executes the report based on the criteria entered.
Steve
Hot and bothered in sunny Dubai -
Refresh Interactive Report based on Flash Pie Chart selection
I have an Interactive Report:
select ename "Employee Name",
mgr "Manager
from emp e, dept d
where e.deptno = d.deptno ;
That i'd like to have filtered by MGR when a Flash Pie Chart is clicked:
select null link,
mgr label,
count(emp_id) value
from emp e, dept d
where e.deptno = d.deptno
group by mgr ;
Can someone indicate how i'd do this?
Thanks in advance!
JohnHi,
This post might help
Re: Navigable pie-chart
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Maybe you are looking for
-
Network connection fails with a "self assigned IP" or "no IP" msg displayed
I am having problems staying connected to the wireless network. I have four Macs - 3 MBPros and 1 iMac. They have all been upgraded to Snow Leopard and have had all recent updates from Apple. One of the MBP, and just now the iMac, keeps disconnecting
-
Issues transfering through hdmi to tv
Issues transfering through hdmi to tv. Is there a way to troubleshoot adapter?
-
Performance tuning oracle 10G on Windows 2003
Hi, At present we have 8GB physical RAM on Production server while the parameters sga_max_size = 1 GB and pga_aggregate_target = 629 MB are defined. When I hit transaction ST02 I observed that values for swaps are showing in red color for program, sc
-
Planning reverse engineering strange behaviour
Hi When I try to reverse engineer a Planning application I get some strage behaviour. First time when I do it all my ODI UI's freeze. I have to close them from task manager. When I open the UIs again and go to Operator I see the reverse enigeering pr
-
Hi.. SAP Content Server 6.40 on Solaris 10, Apache 1.3. xx installed successfully. i unable to connect from ECC to SAP Content server gives error in error_logs of app ache [Mon Sep 6 14:46:55 2010] [error] [client 172.16.20.219] File does not exist: