Joining Two Reports in one Detail Section
Post Author: NewITGuy
CA Forum: Crystal Reports
Hello I am working with Crystal Reports XI, I have two reports that I want to see it I could join together on one report. The closest example I can give is :
Customer Order table is Linked to Purchase order Table- This report shows all items on order for the customer with expected delivery. These are two tables.
Then
Customer Quote table- This report just shows all quotes for items to be purchased in the future.This is one table.
I would like to join these two reports to show our customers what is on order along with what is currently being quoted.
Thanks in advance for your help!!
Hi,
Assuming you want to have two, or more, reports that look like a single report, then see: Re: Questions about reports
Andy
Similar Messages
-
hi Expert,
how to display two report in one please help me .
Regards,
HamadHi,
Refer the sample code:
CLEAR w_event.
w_event-name = slis_ev_top_of_page.
w_event-form = 'TOP_OF_PAGE'.
APPEND w_event TO i_events1.
CLEAR w_event.
w_event-name = slis_ev_top_of_page.
w_event-form = 'XTOP_OF_PAGE'.
APPEND w_event TO i_events2.
DATA: lv_repid LIKE sy-repid.
lv_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = lv_repid
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'PF_STATUS'.
*-- Vendor Schedule List
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_field_cat1
is_layout = w_lay_out1
i_tabname = '<I_TABLE>'
it_events = i_events1
TABLES
t_outtab =<b> <i_table>.</b> Data for Report 1
*-- Error Lsit display
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_field_cat2
is_layout = w_lay_out2
i_tabname ='I_ERROR'
it_events = i_events2
TABLES
t_outtab = <b>i_error[].</b> - Data for report 2
w_print-reserve_lines = 2.
w_print-no_print_listinfos = c_x.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
is_print = w_print.
ENDFORM. " f0504_create_list
*-- Top of Page
FORM top_of_page.
WRITE: sy-title.
ENDFORM.
FORM xtop_of_page *
FORM xtop_of_page.
WRITE: 'Error Records'.
ENDFORM.
Reward points if this Helps.
Manish -
Run two report in one Excel sheet1 and sheet2
Hi all;
I want to have my one report in sheet1 and another one in sheet2 when I opened my excel sheet. How can I perform this two report in one excel sheet. I can copy the report and paste but then there would be no drill down or other functionality.
thank. you.Hi Krishma,
You can save this workbook to your PC and email it to your user. They need to open the workbook (with Bex running in Excel). When they click the refresh button they system will prompt them to log on (if they are already not logged in) and then the queries will be executed.
Hope this helps... -
Hello,
I am working with the Mapviewer Javascript API and I would like to know if it is possible to join two ThemeBasedFOI in one. I have 2 themebasedfoi each one with one style applied and I need to show both of them as only one.
Thanks in advance.No, not with iPhoto.
You'll need to use an external editor for the job.
In order of price here are some suggestions:
Seashore (free)
_[The Gimp|http://www.gimp.org/macintosh>_ also free
Graphic Coverter ($45 approx)
Acorn ($50 approx)
[Pixelmator|http://www.pixelmator.com> ($60 approx.)
Photoshop Elements ($75 approx)
There are many, many other options. Search on MacUpdate.
You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
Regards
TD -
Two reports in the same section
Hi all
I would like two have 2 different reports in the same section one near to the other (not bellow).
The dashboard page should look like
Section1
prompt
report1|report2
is there a way to do that cause I only could add sections vertically and horizontally (not able to put a report next to the other in the same section)??
RegardsAdd both reports to the same section and click on 'Properties' button on section header. Check "Arrange Horizontally" and both the reports will be displayed side by side.
-
TWO MASTER AND ONE DETAIL TABLE
HI,
I HAVE TWO SEPARATE MASTER TABLE WITH SAME DETAILS I MADE ONE DETAIL TABLE REFERENCES BOTH OF THE MASTER TABLES(BOTH MASTER HAVE SAME PRIMARY COLUMN NAME) , BUT WHEN INSERT RECORD IN DETAIL IT GIVES ME ERROR THAT PARENT KEY NOT FOUND(ALTOUGH I HAVE INSERTED MASTER DATA IN ONE MASTER TABLE BUT NOT THE SECOND ONE AND IT'S NOT POSSIBLE TO INSERT SAME DATA IN SECOND MASTER TABLE), WHAT I WANT TO ASK THAT HOW IT'S POSSIBLE TO USE SAME DETAIL TABLE WITH DIFFERENT MASTER TABLES. STRUCTURE OF BOTH OF THE TABLES ARE BELOW.
MASTER ONE
SQL> DESC INCIDENT
Name
REF_NO
INC_TYPE_CODE
DISTRICT_CODE
KV33
KV11
INC_DATE
EMERGENCY
TRIP
CAUSE_TYPE_CODE
SUB_CAUSE
INC_DESC
REASON
OPER_SEQ
REM_RECOM
CON_COMP_CODE
CTRL_ENG_APP
DELAY_OCCURED
DELAY_REASON
SECOND MASTER
SQL> DESC SWITCHING
Name
REF_NO
INC_TYPE_CODE
JOB_CODE
DISTRICT_CODE
KV33
KV11
CON_COMP_CODE
INC_DATE
INT_NOTICE_ISSUE
INTERRUPTION
REM_RECOM
CTRL_ENG_APP
WORK_DESC
DETAIL TABLE
SQL> DESC INTERP_DETAIL
Name
REF_NO
INC_TYPE_CODE
FEEDER_CODE
VOL_LEVEL
START_DT_TIME
GRID_CODE
END_DT_TIME
LOAD_AMP
LOAD_MW
LOSS_MWHR
THANKS IN ADVANCE.
KHAWARHi,
When you establish the relations using the references, then oracle will look for the parent key in both the parent tables. Either you need to remove the foreign keys or change your db design to add one more table and have one-one parent child relationships.
HTH
Regards,
Badri. -
Join two tables to one recordset with nested table?
Hello all!
I want to "de-normalize" two tables into one for presentation reasons. For example:
CREATE TABLE foo(id number)
CREATE TABLE bar(foo_id number, value varchar2(4))
And with some data:
FOO:
1
2
BAR:
1, 'gaz'
1, 'boz'
2, 'blah'
Now I want to create a view that holds the value of the BAR table in a nested table, if possible and efficient enough..
VIEW:
1, nested_table('gaz,'boz')
2, nested_table('blah')
Any clue for creating such a view? I would prefer a view, because this view will be joined with other tables later.
Thanks in advice!Or
SQL> with foo as
2 ( select 1 id from dual union all
3 select 2 id from dual
4 ),
5 bar as
6 (
7 select 1 foo_id, 'gaz' value from dual union all
8 select 1 foo_id, 'boz' value from dual union all
9 select 2 foo_id, 'blah' value from dual
10 )
11 --
12 --
13 select id,
14 cast(multiset((select value from bar where id=foo_id)) as sys.dbms_debug_vc2coll) value
15 from foo
16 /
ID VALUE
1 DBMS_DEBUG_VC2COLL('gaz', 'boz')
2 DBMS_DEBUG_VC2COLL('blah')or from 10g on
SQL> with foo as
2 ( select 1 id from dual union all
3 select 2 id from dual
4 ),
5 bar as
6 (
7 select 1 foo_id, 'gaz' value from dual union all
8 select 1 foo_id, 'boz' value from dual union all
9 select 2 foo_id, 'blah' value from dual
10 )
11 --
12 --
13 select id,
14 cast(collect(value) as sys.dbms_debug_vc2coll) value
15 from foo, bar
16 where id=foo_id
17 group by id
18 /
ID VALUE
1 DBMS_DEBUG_VC2COLL('gaz', 'boz')
2 DBMS_DEBUG_VC2COLL('blah')Edited by: michaels2 on Oct 8, 2008 2:27 PM -
Hi,
I have region and I want to add two reports to this region, every report has diffrent query
can I do this in Apex ??
Thanks for all.
Best Regards.
Mohd.This can be done in several different ways:
1. the way it was done in my demo application
2. modifying region templates and making the regions to appear beside / below each other in order to look as one
3. using HTP.p to create your own region / reports manually.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------ -
Join two photo in one with iPhoto
sorry for my english,I'am a new user of Mac
and i would like to now if is possible join or paste two photo in one photo with
iPhoto, o which are the software can i use to do this operation.
tanks to everybody
salvatoresNo, not with iPhoto.
You'll need to use an external editor for the job.
In order of price here are some suggestions:
Seashore (free)
_[The Gimp|http://www.gimp.org/macintosh>_ also free
Graphic Coverter ($45 approx)
Acorn ($50 approx)
[Pixelmator|http://www.pixelmator.com> ($60 approx.)
Photoshop Elements ($75 approx)
There are many, many other options. Search on MacUpdate.
You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
Regards
TD -
Joining two datasets for one report
Hi All,
I have 2 datasets i want to joing together.
The 1st is a mysql query and 2nd is a mssql query, I have set a parameter which is the userid from the mysql query and added this to my mssql query.
If i execute the mssql query and add the parameter my self then the report will run.
I want to be able to set the mssql query to pull the userid from the mysql query and then output the information in another table. Is this possible? or is there another way to do this.
ThanksI want to be able to set the mssql query to pull the userid from the mysql query and then output the information in another table. Is this possible? or is there another way to do this.
Hi Phil1988,
According to your description, there are two data sources in your report, one is mysql database and another one is mssql database, now what you want is that get the userid from mysql database and use this values to filter data on mysql dataset, right?
In this case, what you have done is exactly right. (I have set a parameter which is the userid from the mysql query and added this to my mssql query.) Create a paraemter, get available values and default value from the mysql dataset, and then use
this parameter to filter data on mssql dataset.
Reference.
http://technet.microsoft.com/en-us/library/aa337400(v=sql.105).aspx
http://technet.microsoft.com/en-us/library/dd255287.aspx
If I have anything misunderstand, please point it out.
Regards,
Charlie Liao
TechNet Community Support -
Joining Two facts with one dimension
hi,
Hello Experts,I am reporting out of 2 fact groups.
Mailing History and Booking.
The only common dimension between the 2 is the Person Dimension. I have created the hierarchies and defined the aggregation content in the LTS.This helps me in reporting using any column from the Facts or any one dimension from either of the fact groups. But if i select 2 or more dimensions , one or more from each fact group , then the report gives and error. A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: MailingHistory Campaign.Campaign Name. Please fix the metadata consistency warnings. (HY000)
For Example : BookingDim--BookingFact-MailingHistoryFact (ok) MailingSourceDim--BookingFact-MailingHistoryFact works (ok) but BookingDim--BookingFact-MailingHistoryFact - MailingsourceDim (Fails ).
When i am applying the filter from the fact 1 . i am getting this error.(which is the column in the second fact table 2).I checked all the joins in the BMM layer.
Please help me!!!
Thanks,
SuryaSurya did you set the levels properly for two fact tables and also for metrics.
When ever you are using two fact groups with non confirmed dimensions you have to make sure all the content levels set for the fact tables and as well as for metrics.
in your fact tables/ metrics - For related dimensions set the level to Detail. and for the non related dimension set the level to Total. This way obiee server will understand what is related dimension and whats not related..
hope this works for you. -
Join two ODS into one cube!
Hello Experts -
I need to join fields of 2 ODS into one cube. I know the common field. We are in BI 7.0.
Can someone guide me through the steps?
I know there are two transformation rules. And I have created them. How do I link them so that I have one record when the common field matches?Syed!!!
What your are trying is very complicated, if you want to do infoset that even worst, not only data wise, but only performance. If you are planning to get key figure only from one ods and only characteristics coming from different ods, infoset might work as long as you know the relationship (one-to-one relationship will work fine in infoset). Performance wise, MP is very good, but the question again, you will get multiple lines unlike infoset.
So before, someone decided to use infoset, MP or even some other data model, they need to know well the reporting requirement and well divers in the relationship of the ods.
I have faced the same situation in many of my projects, there are places I used infoset and MP, and also created a different infoobject as a master data and turned the attributes as NAV. Attribute.
Thanks.
Wond -
Error while joining two table in one VO
hello friends,
my requirement is:
i have a search page in which there are 3 fields for search operations,2 of them are present there in the custom table having no primary key and the third one i am using is the Oracle table.Oracle table also contains one colmn which is among one of the two fields of the custom table.Now in the search page i have to search in such a way that either of the three fields could be entered and depending on that result should be shown in the result table below the search fields.Third field is unique for the one of the field of the other 2 fields in the page in the ORacle table.
What i am doing is:
I have to use only one VO which should have both EO's .In the query it is showing where clause using only WHO colmns like LAST_UPDATE_DATE_table1=LAST_UPDATE_DATE_table2 same for other WHO colmn but the thing is due to this query it is not fetching the rsults.
I tried removing the where clause but it says "can't select rowid from a join view w/o a takey preserved table" ...As i dnt have any primary key for the custom table so automatically at VO creation step it assigns RowID as primary key.
Help me guys ..its really urgent and i am stuck here from the past couple of dayz.You requirement is not exact clear?
What the exact eception youa re getting?
Thanks,
Kumar -
Joining Two Fields Into One Field for a View
I am trying to create a view based off of multiple tables.
I have all of the joins and everything done nicely and working properly.
However, when I get to this one step, that's when I start running into problems.
I just want to join (or concatenate) two fields together with a period character in between them.
For example, if I take FirstName and LastName, then I want them to become one field called Name, appearing as "JOHN.DOE"
When I try to join them together, the problem comes up with the period character.
A sample code of what I have done is here:
BEGIN
EXECUTE IMMEDIATE 'create view VIEW_LALALA
as SELECT t1.FirstName + '.' + t2.LastName as Name, t1.something as Something, t2.ooo as OOO
FROM (tableFirstNames t1 inner join tableLastNames t2 on t1.nameID = t2.nameID)
END;832667 wrote:
I am trying to create a view based off of multiple tables.
I have all of the joins and everything done nicely and working properly.
However, when I get to this one step, that's when I start running into problems.
I just want to join (or concatenate) two fields together with a period character in between them.
For example, if I take FirstName and LastName, then I want them to become one field called Name, appearing as "JOHN.DOE"
When I try to join them together, the problem comes up with the period character.
A sample code of what I have done is here:
BEGIN
EXECUTE IMMEDIATE 'create view VIEW_LALALA
as SELECT t1.FirstName + '.' + t2.LastName as Name, t1.something as Something, t2.ooo as OOO
FROM (tableFirstNames t1 inner join tableLastNames t2 on t1.nameID = t2.nameID)
END;to concatenate two string together do not use "+", but "||"
SELECT FIRST_NAME||'.'||LAST_NAME FROM EMP; -
How to join two workbooks in one?
Hi Gurus,
Is it possible to mix two workbooks without loose BW Connection ?
I created one workbook (Called "X") and another workbook (Called "Y"). Each of them is based on the same query.
I used the function copy sheet but after the copy the sheet only have an excel-function
Could you please help finding the solution?
Thank you in advance
CheersHi Gilo,
You can't mix the workbooks since they are created seperately and having different workbook IDs,but you can mix the worksheets.
If your requirement is showing the same query in different pages,then you can create a single workbook and have multiple worksheets.Each worksheet will have a same query in different formats.
You can make a copy of the worksheet without losing BW Connection and options.
To perform this,you can go to Tools->Copy Sheet of Analysis Toolbox.This will create an exact copy of worksheet to new sheet,so that you will have same query in different worksheets.I mean Sheet1 and Sheet2 will have same query.
Let me know in case of any clarifications.
Rgds,
Murali
Maybe you are looking for
-
Blue Screen of Death when a file is almost converted
Every time I use itunes or quicktime to convert a movie, my system crashes to the blue screen of death!! It always happens just as the conversion is about to complete. Any ideas?
-
The brightness control key on the keyboard of my hp pavillion g6 is not functioning. Earlier it used to work, and I could adjust the brightness of my screen. But now its just not working. Kindly notify me whether it is a driver or software problem. I
-
Can Oracle 7i and 8i be connected from Oracle 9i database
I want to know if i can do the following. That means is it possible in production scenario. If yes then how and will it affect the performance to a great extend. We are now upgrading the application server to weblogic 10.3 . But this server supports
-
Hello I create structure with restricted key figure and calculated KF. In query designer texts/desc for columns are visible. Standard text is marked. When I start query in analyzer is not visible, text/desc is empty. When I go back to query and uncli
-
Tranfser from demand management to SOP
Hello All, is it possible to send data from demand management (eg.MD61) to SOP - standard information structure S076 or flexible planning ? The idea is to put values directly to MD61 and use them later in flexible planning thanks a lot KS