Report with top 10 tables ...
Hello !
I need to create an report with the top 10 tables :
1 - The most bigger tables
2 - The most access tables
3 - The bigger number of sorts
4 - The physical access
5 - The bigger shared memory use
The first one i can get from dba_segments, but the others i have no clue where i can find this informatation on the database.
Any help is good .
thanks
Fernando
Hi
Answer of your first point is hidden in dba_segments view. this view contain colum bytes. it is size of any objects in bytes
like select segment_name,segment_type,owner,bytes/1024/1024 as size_in_mb
from dba_segments
where owner='SCOTT'
order by bytes desc.
Answer Point No. 2
there is dynamic view v$sql
this view contain a colums sql_text,first_load_time, last_load_time
select colums sql_text,first_load_time, last_load_time
from v$sql
order by sql_text
copy colum sql_text in excel sheet and you can count table name how many time it has been accessed. or by apply a group funcation
select select count(*) from v$sql
from v$sql
group by sql_text
Answer of point No. 3,4,5 lies in a statspack report. in oracle 9 and 10g contain following information in automaitc work load repository reprot.
Best Regard
Abdul Hameed
Islamabad Pakistan
[email protected]
cell 92 333 5587 318
Similar Messages
-
Problem with SUBMIT report [ WITH SELECTION-TABLE ] or [ IN range ]
Hello Everybody,
I am trying to call transaction F.80 for mass reversal of FI documents by using SUBMIT sentence and its parameters like this:
LOOP AT i_zfi013 INTO wa_zfi013.
PERFORM llena_params USING 'BR_BELNR' 'S' 'I' 'EQ' wa_zfi013-num_doc ''.
range_line-sign = 'I'.
range_line-option = 'EQ'.
range_line-low = wa_zfi013-num_doc.
APPEND range_line TO range_tab.
endloop.
Line: -
SUBMIT sapf080
WITH br_bukrs-low = p_bukrs
WITH SELECTION-TABLE it_params [ same problem with - WITH BR_BELNR IN range_tab]
WITH br_gjahr-low = p_an1
WITH stogrd = '05'
WITH testlauf = ''
AND RETURN.
My problem is that when the report is executed the BR_BELNR only delete one document of the all the inputs in the selection criteria from the loop. if I add the statement [ VIA SELECTION-SCREEN] in the SUBMIT if open the multiple selection criteria in the screen I can check that all the documents are set in it from the ABAP code in the loop from it I just need to push F8 to copy them and run the program processing all the documents normally .
Can some one help me with this? is there a way to execute the transaction BY the SUBMIT with the multiple selection criteria for the Document Number working well?
Thank for you time and help.This is my code:
TYPES: BEGIN OF T_ZFI013,
BUKRS TYPE BUKRS,
GJAHR TYPE GJAHR,
MONAT TYPE MONAT,
ANLN1 TYPE ANLN1,
ANLN2 TYPE ANLN2,
NUM_DOC TYPE BELNR_D,
DATE TYPE DATUM,
TIME TYPE UZEIT,
USER TYPE SYUNAME,
END OF T_ZFI013.
DATA: I_ZFI013 TYPE STANDARD TABLE OF T_ZFI013,
WA_ZFI013 TYPE T_ZFI013,
DATA: br_belnr TYPE BELNR_D,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF br_belnr,
range_line LIKE LINE OF range_tab."range_tab.
LOOP AT i_zfi013 INTO wa_zfi013.
range_line-sign = 'I'.
range_line-option = 'EQ'.
range_line-low = wa_zfi013-num_doc.
APPEND range_line TO range_tab.
ENDLOOP.
SUBMIT sapf080
WITH br_bukrs-low = p_bukrs
WITH br_belnr IN range_tab
WITH br_gjahr-low = p_an1
WITH stogrd = '05'
WITH testlauf = ''.
This is the RANGE_TAB table before submit:
1 I EQ 1001xxxxxx
2 I EQ 1002xxxxxx
3 I EQ 1003xxxxxx
4 I EQ 1004xxxxxx
5 I EQ 1005xxxxxx
6 I EQ 1006xxxxxx
7 I EQ 1007xxxxxx
8 I EQ 1008xxxxxx
I think this wont work for some reason so I will start to do this by a BDC.
Many thanks for your help. -
CRVS2010 Beta - Report with many tables
Hi,
I was developing my application first with a test Database with few tables. Now that I am changing to the actual database (with about 200 tables) I noticed that the ReportDocument takes a really long time to load when I tried to access the DataDefinition for the first time.
Is there one way to avoid this?? The tables are all there because I need to have the option the select the table that I wanna use in the application, but after this I just use the table chosen and the linked tables in the Report.
thanksOK where to start...
First the act of adding 200 tables, and I assume none of them are linked is the first problem you are going to have. CR is a relational database reporting tool. Not linking tables generates multiple SELECT statements.
If you only need one or two then use RAS to add the tables and then the fields, Bascially you are creating the report designer for your users. All of the user interface needs to be created by you.
There may be one option that could help but what you are doing is likely never going to be fast....
Open regedit32.exe and go to:
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports Designer Component\DatabaseOptions
In there you'll find a key called - DoAutoSmartLinking
Set the value to No
What that key does is when a report is open CR tries to link all tables and all fields.
Good luck
Don -
Need to create form on a table with report with a table has NO primary key
Hi, I tried to created some insert/update/delete form+report in an application, it works fine only if the table has primary key. Does anyone know how to create the same functionality with a table with no primary key? I saw an application is built on older version of htmldb that is using tables with no primary keys at all.
Here are the specific issues that I am facing:
- I am building some Form on a table with Report, it requires the table with primary key for form to update. Is there a workaround that I can use tables that has no primary keys at all?
- Say if primary key is necessary in the previous report+form, but the maximum number of columns that I can use to composed a primary is only 2 for that Form-Report, I cannot find anything handling > 2 primary key. Do you know if there are some ways to composite a primary key from many columns together?
Your help is really appreciated.
Thanks,
AngelaSorry to ask response so late. I had no time to get back to that issue before.
Regarding the triggers, I can make it work for the update, but not the insert.
Here is my trigger:
create or replace trigger STATUS_T1
instead of insert on STATUS
begin
insert into STATUS ("LABEL", "AREA", "OWNER", "TEST_NAME", "STATUS", "REMARKS", "BUGS", "DEV_MGR", "TEST_BY_DATE")
values(:new.LABEL, :new.AREA, :new.OWNER, :new.TEST_NAME, :new.STATUS, :new.REMARKS, :new.BUGS, :new.DEV_MGR, :new.TEST_BY_DATE);
end;
by any chance, you can notify what is wrong?
I already skip the ROWID when inserting to the view STATUS, but I cannot figure out what is wrong when inserting a new record to that view.
It gave me the following errors:
ORA-06550: line 1, column 38: PL/SQL: ORA-00904: "ID": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
Error Unable to process row of table STATUS
Then, I turned to debug mode, I am thinking that maybe because I use a HIDDEN item to hold the value of ROW_ID as I use the rowid (called ID in the view) to retrieve the record as a column link from previous page. What do you think?
Thanks again,
Angela -
Submit report with internal table
Hi Experts !
I have a requirement where report is showing output in ALV1. Based user action I need to process further in background mode.
I have developed a report which I am submitting for this background mode.
I am opening a Job sumbitting created report with return. Job close.
This created report is in scheduled status in SM37. I have to go there and release it.
To pass parameters to newly created report I have used WITH field names with developed report name. But I am not getting parameters at new report. Similarly used import/export --- set/get but still not getting parameters at submitted report.
Is it because it is in background mode? If so how can I achieve this functionality. Can anybody suggest me something ?Hi,
IMPORT and EXPORT from memory doesn't work here.
Have a look into the SAP documentation:
When the program is scheduled in the background task, the selections specified by the user or in the additions for filling the selection screen are stored in an internal variant. When the program is executed in the background request, it is processed fully but the selection screen is processed in the background. The system triggers all events, including that for selection screen processing. The variant stored internally is transferred to the selection screen between the INITIALIZATION and AT SELECTION SCREEN OUTPUT events.
The transfer of the parameters should work, if you don't have any statements that clear those parameters. Maybe parameters with SET/GET parameters also will cause a problem. But it should work with this internal variants. Before you start the jov, please have a look in those generated variants, whether the parameters have the right values.
Regards,
Klaus
Edited by: Klaus Babl on Feb 8, 2011 6:58 AM -
How to generate a customized report with a table
I have a table with two columns: month, count. The values are like the following:
Jan-2007 50
Feb-2007 46
Mar-2007 55
Apr-2007 76
Jan-2009 67
Feb-2009 86
Mar-2009 55
I want to generate a report like this:
Month 2007 2008 2009
January 50 76 67
Febuary 46 45 86
How to do that?
Thanks.
JenJen,
This is the best way I could come up with. It is a little clunky but it gets the job done. Basically it buckets each group by month and then unions each month together. I used the column names and formats you specified so you should only have to change the table name.
EDIT
You may want to do a nvl on each decode that way the sums will work correctly for nulls. Also, you could generate this sql statement procedurally and save yourself some maintenance time. This was just to show you how it could be approached.
SELECT 'January' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE substr(month,1,3) = 'JAN'
GROUP BY 'January'
UNION ALL
SELECT 'February' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE UPPER(substr(month,1,3)) = 'FEB'
GROUP BY 'February'
UNION ALL
SELECT 'March' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE substr(month,1,3) = 'MAR'
GROUP BY 'March'
UNION ALL
SELECT 'April' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE UPPER(substr(month,1,3)) = 'APR'
GROUP BY 'April'
UNION ALL
SELECT 'May' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE substr(month,1,3) = 'MAY'
GROUP BY 'May'
UNION ALL
SELECT 'June' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE UPPER(substr(month,1,3)) = 'JUN'
GROUP BY 'June'
UNION ALL
SELECT 'July' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE substr(month,1,3) = 'JUL'
GROUP BY 'July'
UNION ALL
SELECT 'August' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE UPPER(substr(month,1,3)) = 'AUG'
GROUP BY 'August'
UNION ALL
SELECT 'September' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE substr(month,1,3) = 'SEP'
GROUP BY 'September'
UNION ALL
SELECT 'October' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE UPPER(substr(month,1,3)) = 'OCT'
GROUP BY 'October'
UNION ALL
SELECT 'November' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE substr(month,1,3) = 'NOV'
GROUP BY 'November'
UNION ALL
SELECT 'December' "Month",
SUM(DECODE(substr(month,5,4),2000,count)) "2000",
SUM(DECODE(substr(month,5,4),2001,count))"2001",
SUM(DECODE(substr(month,5,4),2002,count))"2002",
SUM(DECODE(substr(month,5,4),2003,count))"2003",
SUM(DECODE(substr(month,5,4),2004,count))"2004",
SUM(DECODE(substr(month,5,4),2005,count))"2005",
SUM(DECODE(substr(month,5,4),2006,count))"2006",
SUM(DECODE(substr(month,5,4),2007,count))"2007",
SUM(DECODE(substr(month,5,4),2008,count))"2008",
SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
WHERE UPPER(substr(month,1,3)) = 'DEC'
GROUP BY 'December'Edited by: Tyson Jouglet on Mar 17, 2009 9:27 AM -
Generate a report with three table
hi Friends,
i have three table
1-
CREATE TABLE "TRANSACTION_DETAILS"
( "S_NO" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(1000),
"VEHICLE_NO" VARCHAR2(20),
"ITEM_NAME" VARCHAR2(500),
"DESCRIPTION" VARCHAR2(4000),
"QTY" NUMBER,
"RATE" NUMBER,
"AMOUNT" NUMBER,
CONSTRAINT "TRANSACTION_DETAILS_CON" PRIMARY KEY ("S_NO") ENABLE
2-
CREATE TABLE "LAB_WORK_DTL"
( "ID" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(1000),
"VEHICLE_NO" VARCHAR2(20),
"WORK_DETAIL" VARCHAR2(4000),
"LABOUR_AMT" NUMBER,
CONSTRAINT "LAB_WORK_DTL_PK" PRIMARY KEY ("ID") ENABLE
3-
CREATE TABLE "JOB_CARD_DETAILS"
( "ID2" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(1000),
"VEHICLE_NO" VARCHAR2(20),
"AMOUNT" NUMBER,
CONSTRAINT "JOB_CARD_DETAILS_CON" PRIMARY KEY ("ID2") ENABLE
i want to generate a Report of total amout of bill No Like
BILL_NO,BILL_DATE,VEHICLE_NO,SUM(AMOUNT) ,SUM(LABOUR_AMT),SUM(AMOUNT)
I AM USING
select a.BILL_NO,a.BILL_DATE,a.PARTY_NAME,a.VEHICLE_NO,SUM(a.AMOUNT),SUM(b.LABOUR_AMT),SUM(c.AMOUNT) from TRANSACTION_DETAILS a,LAB_WORK_DTL b,JOB_CARD_DETAILS c where a.PARTY_NAME =b.PARTY_NAME and a.PARTY_NAME=c.PARTY_NAME and a.PARTY_NAME =:P38_PARTY_NAME group by a.bill_no,a.BILL_DATE,a.PARTY_NAME,a.VEHICLE_NO,b.bill_no,b.BILL_DATE,b.PARTY_NAME,b.VEHICLE_NO,c.bill_no,c.BILL_DATE,c.PARTY_NAME,c.VEHICLE_NO
ACCORDING TO THIS CODE sum of these column SUM(a.AMOUNT),SUM(b.LABOUR_AMT),SUM(c.AMOUNT) are not correct and there are one more problem if BILL_NO is not in LAB_WORK_DTL JOB_CARD_DETAILS these table then result shows NO DATA FOUND but BILL_NO is avalable in
TRANSACTION_DETAILS this table.
How can i generate this report .
Thanks
Manoj Kaushik1-
CREATE TABLE "TRANSACTION_DETAILS"
( "S_NO" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(1000),
"VEHICLE_NO" VARCHAR2(20),
"ITEM_NAME" VARCHAR2(500),
"DESCRIPTION" VARCHAR2(4000),
"QTY" NUMBER,
"RATE" NUMBER,
"AMOUNT" NUMBER,
CONSTRAINT "TRANSACTION_DETAILS_CON" PRIMARY KEY ("S_NO") ENABLE
2-
CREATE TABLE "LAB_WORK_DTL"
( "ID" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(1000),
"VEHICLE_NO" VARCHAR2(20),
"WORK_DETAIL" VARCHAR2(4000),
"LABOUR_AMT" NUMBER,
CONSTRAINT "LAB_WORK_DTL_PK" PRIMARY KEY ("ID") ENABLE
3-
CREATE TABLE "JOB_CARD_DETAILS"
( "ID2" NUMBER,
"BILL_NO" NUMBER,
"BILL_DATE" DATE,
"PARTY_NAME" VARCHAR2(1000),
"VEHICLE_NO" VARCHAR2(20),
"AMOUNT" NUMBER,
CONSTRAINT "JOB_CARD_DETAILS_CON" PRIMARY KEY ("ID2") ENABLE
/Can you define the relation between these three tables. I see in your sql you are joining the three table with the column PARTY_NAME. Is that the proper joining condition? Can you explain that.
And also when you say this
ACCORDING TO THIS CODE sum of these column SUM(a.AMOUNT),SUM(b.LABOUR_AMT),SUM(c.AMOUNT) are not correct What exactly do you mean. What is not correct? Can you show some sample data.
And also it would be of great help to all the people here if you format your SQL and use {noformat}{noformat} tag to preserve the format of your code. -
Interactive Report with 2 tables
I want to create an Interactive Report (and Form) based on 2 tables which are joined together with FK_MODULE from FORM table 2 PK_ID from MODULE table.
Do I just edit the SQL that got created from the wizard (which only asked for 1 table) to display the appropriate description (instead of primary key) or is there another way to creat a list of values like in a form?
FORM
PK_ID
FORM_CODE
FK_MODULE
MODULE
PK_ID
MODULE
DESCRIPTIONHi Bob,
Interactive Report is not so much different than how you would do it in a normal report.
You can change the sql, if you don't know how to do a join in sql, use the Query Builder.
You can also create a view first and base the Interactive report on that.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://apex-evangelists.com/
-- http://apexblogs.info/ -
Report with merged table cells?
I would like to merge cells vertically on break columns in a report.
Something like:
| John | 123 Main |
| |------------------------------|
| | 456 First |
|-----------------------------------------|
| Jane | 789 Sycamore |
(you'll have to paste this and use a fixed font to see it properly)
Currently, by just setting break formating, I get an empty cell as the second row for John. I would like that cell below John to be merged with John (no border between).
How can I accomplish this?
VanSound like what youre looking for is a master-detail form. You can just use the wizard to create this. You will be asked for table names, columns to display etc., and everything will be generated for you. If you dont want to have the detail report or master record updateable, you can just change the display types to display-only.
Regards,
Marc -
Report with Top 5 Customers per year for last 5 years (total 25 records)
Hello
Can anyone help?
How to display top 5 customers per year for last 5 years in a report
E.g.
Year Customer name Revenue
2009 A1 5000
A2 4000
A3 3000
A4 2000
A5 1500
2008 B1 3000
B2 1200
B3 800
Regards,
SMAHi
see this...
http://oraclebi.soundvoid.net/2008/09/using-the-top-n-filter/
And close your all threads if they answered... -
Create a report with Top Meeting Organizers
Hello!
Is there a way to collect data to a report (perhaps to a csv) containing my organizations top meeting organizers in the last 6 months?
//Christian
Christian Andersson, Exchange 2010 Administrator Jönköping Municipality, SwedenHi,
Base on my knowledge, I don't think there is any way can achieve your requirement in exchange.
Niko Cheng
TechNet Community Support -
Hi all,
I need your suggestions.
Have a need to build a report based on multiple queries and some updates. ( the updates are temporary, it will not update the source ). I would like to put data into a temporary table that is good for the log on session only then build the report based on this temporary table. Can BIP handle this ? I am open to any ideas. by the way report will be called from APEX side.
oralce 10G, apex v4
thx in advance.
taiI set the data parameter at the report level as a DateTime type. It is defaulted to today()
Only dataset1 uses the date parameter, dataset 2 doesn't.
The query uses
WHERE tdate = ISNULL(@T_Date, CONVERT(VARCHAR(8), GETDATE(), 1))
If I get rid of Dataset2, then the report is OK, so Dataset1 is able to read the date. But if Dataset2 which uses the temp table is added, then I get this error
An error occured during local report processing
An error occured during report processing
Query execution failed for dataset Dataset2
Invalid object name #temptable -
How to validate values in alv report with check table
Hi All,
I have created one editable ALV in which user can enter material(matnr). Now I want to validate the value entered by the user before saving it to my custom table. I am using 'SLIS_T_FIELDCAT_ALV' as field catalog. Is there any field in this which I need to pass to validate material. I don't want to go for coding for this. I tried to search for this but did not get anything. Please help.
Regards,
Manish SethiaHi Andreas,
I tried but that is not working. Do I need to handle some event or command to get it validated. My code is as follows.
FORM f_build_field_catalouge USING p_fieldname TYPE any
p_tabname TYPE any
p_inputlen TYPE any
p_fieldtext TYPE any
p_edit TYPE any
CHANGING p_col_pos TYPE any.
CLEAR wa_fcat.
p_col_pos = p_col_pos + 1.
wa_fcat-fieldname = p_fieldname .
wa_fcat-tabname = p_tabname.
IF p_fieldname = 'MATNR'.
wa_fcat-ref_tabname = 'MARA'.
wa_fcat-ref_fieldname = 'MATNR'.
ELSEIF p_fieldname = 'MATPGRP'.
wa_fcat-ref_tabname = 'ZOTC_FLEX_MAT'.
wa_fcat-ref_fieldname = 'MATPGRP'.
ENDIF.
wa_fcat-intlen = p_inputlen . "colume width
wa_fcat-seltext_m = p_fieldtext.
wa_fcat-edit = p_edit ."'X'.
wa_fcat-col_pos = p_col_pos.
APPEND wa_fcat TO t_fcat.
ENDFORM.
But this one is not working.
Regards -
Issue with Multiple Tables in Report
Post Author: dwessell
CA Forum: General
Hi,
I'm using Crystal Reports 2k8.
I'm doing a report with three tables, CQ_HEADER, SO_HEADER and SALESPERSON. Both the CQ_HEADER and the SO_HEADER tables link to the SALESPERSON table via a SPN_AUTO_KEY field.
However, I always receive duplicates in my result set, due to the joins made, and I don't receive results that are valid in one table, and empty in another (Such that it only counts a CQ, if there is a SO associated with it. Here's the query that's produced by CR.
SELECT "CQ_HEADER"."CQ_NUMBER", "CQ_HEADER"."ENTRY_DATE", "CQ_HEADER"."TOTAL_PRICE", "SALESPERSON"."SALESPERSON_NAME", "SO_HEADER"."ENTRY_DATE", "SO_HEADER"."TOTAL_PRICE"
FROM "CQ_HEADER" "CQ_HEADER" INNER JOIN ("SO_HEADER" "SO_HEADER" INNER JOIN "SALESPERSON" "SALESPERSON" ON "SO_HEADER"."SPN_AUTO_KEY"="SALESPERSON"."SPN_AUTO_KEY") ON "CQ_HEADER"."SPN_AUTO_KEY"="SALESPERSON"."SPN_AUTO_KEY"
WHERE ("CQ_HEADER"."ENTRY_DATE">={ts '2007-12-01 00:00:00'} AND "CQ_HEADER"."ENTRY_DATE"<{ts '2007-12-18 00:00:00'}) AND ("SO_HEADER"."ENTRY_DATE">={ts '2007-12-01 00:00:00'} AND "SO_HEADER"."ENTRY_DATE"<{ts '2007-12-18 00:00:00'})
ORDER BY "SALESPERSON"."SALESPERSON_NAME"
There is no link between the SO_HEADER and the CQ_HEADER. Can anyone make a suggestion as to how I could go about structuring this such that it doesn't return duplicate values?
Thanks
DavidHey,
I understand you used Retainsameconnection property true for all the OLEDB connections you used in the package if not make sure its for all the connection including file connection as well.
Additionally, you can try to set Delayvalidation property to true for all the dataflows and control flows in the connection and try running the package for 10MB file.
I hope this will fix the intermittent failure issue you are facing with SSIS.
(Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker)
Thanks,
Atul Gaikwad. -
How to display the text in a classical report before top-of-page?
Hi all,
I am developing a classical report with top-of-page because i want to display the texts of cloumns even users scroll down the output.
But here the problem is i have to display a text and selection screen values in the ouput ,Before this top-of-page. But i couldn't find the way to do it.
Please help me on solving this problem?
Thanks,
Vamshi.Hi Vamsi,
whenever there is write statement and you are going to display some thing the system checks for the TOP-OF-PAGE and we are helpless here
so declare your heading in the TOP-OF-PAGE only
THIS is SAP provided way of the SYSTEM bahaviour
Regards
ramchander Rao.k
Maybe you are looking for
-
Adobe Captivate Flash Buttons in Moodle
I am using flash SWF files to control Captivate Course in Moodle and I have trouble with CLOSE pop up window flash button. It works in IE and FIrefox but not in Chrome and OPERA when course is opened via Moodle. I have created simple html page with l
-
Seagate portable drive not being recognized after OSX10.9.2
After I installed the 9.2 update, my Seagate portable external drive is not being recognized - doesnt show up in Finder, or Disk Utility, but I know the drive is live, as I can feel it vibrating Someone please help, all my time machine backup is on t
-
Text wrap works in Safari/Firefox NOT in IE 6 & 7
I am banging my head against a wall here. I started this site using all CSS and then found out that IE 6&7 users were seeing a text overlap. I've searched and monkeyed and doctored – so now there is no overlap, but the wrap is not workin - the text f
-
Change the parameter in the titlebar
Hi Everyone, I have pop up screen, where in it changes the titlebar accordingly on which grid it is. Now is it possible to pass a variable in the titlebar which keeps changing accordingly based on the columns of the grid. Any help will be of great us
-
hello everyone, i went swimming today but i forgot to take my iPhone out of my pocket, it was only about a minute in the water, but still it can't be good. I haven't touched anything to avoid damage. The screen is withe on the upper edge, behind the