Data in matrix report showing limited data in column?
Hello experts,
i have matrix report.. for BOM of a model. i have around 200 bom models and among them i have 1500 items.
i am running report for 62 models. in column i have 62 distinct values and in row i have 650 distinct columns.
when i rum the report than report runs successfully.
matrix report formates:
clo1 clo2 col3 ..................... col60 ----- models code
row1
row2
row650
rows contains the parts used in bom of all models.
rows are based on columns values.
but when i run report for more than 62 report failed or crashed with message and closed.
error signature
AppName: rwbuilder.exe AppVer: 10.1.2.0 ModName: msvcrt.dll
ModVer: 7.0.2600.2180 Offset: 000370a0
thanks yash
hello experts, please give some suggestion on the topic.
Thanks
yash
Similar Messages
-
OTN TEAM Please respond-matrix reports row limitation(very urgent)
Hi ,
using with matrix reports for delimited reports what's the maxmimum row limitation for text and excel?
thanks in advance.
please advice asap.
thx in advance.See response in OTN TEAM Please respond-matrix reports row limitation(very urgent)
-
How to sort data in Matrix report
I've used Report6i and create report in Matrix format.I want the report to display data in sorting by data in cell. Anyone pls help me.
--it's show this
applicant_id/score Score
08002 400
08003 200
08004 700
08006 653
08008 560
08010 800
-- but i want to see this
applicant_id/score Score
08010 800
08004 700
08006 653
08008 560
08002 400
08003 200
i tried to set the group's property( break order property ). It doesn't allow me to set break order property of applicant_id's group to none. And tried to write 'order by' in the SQL statement but it doesn't help.Hi,
If Oracle can give you back the right sort order without any custom sorting,
that means you should be able to get the same results in WebI.
If the object that you pull from the universe is the wrong type (like numeric but you want it alphanumeric),
then you can either request you designer to give you an object with the right data type,
or you can change it by creating a report variable using
FormatNumber([original object],"0")
this will format the number to a number without leading zeroes, thousand separators or decimal point.
Now you can use the object as if it came from the universe.
So you can also use it on the x-axis of a chart.
Btw. you can also do a custom sort on the x-axis(as long as it is an object or variable, not a formula)
alternative, if you define a custom sort in a table block, you can state it should be used througout the document.
(so also in the charts.
Hope this helps,
Marianne -
Purchase Order Report Showing Delivery Date
Hello All
I am looking for a report which will show Purchase orders with delivery date . something like ME2N but it is not showing delivery date.
Regards
YogeshHello Guys
Thanks for your answers but it seems no body have checked it.
Vishal : I am looking for a standard report and not table.
Ranga : In SPRO field delivry date in not there under new scope of list
Chidanand: Boss ALLES not giving delivery date.
Please tell me some other way.
regards
Yogesh -
Report shows no data in the Viewer
Hello,
i'm new to Crystal Reports and i have to develop a few Reports.
I load the data with a stored procedure form a sql-server. This is working and i get all datas i need. But the Report Viewer doesn't show any data.
I don't know why.
If i do it over a select statement and not a stored procedure, the Report Viewer shows me each data set up to 9 times.
I'm working with three tables.
Here is the c# code i wrote.
command = new SqlCommand();
command.Connection = connection;
command.CommandType = CommandType.StoredProcedure;
SqlParameter myParam = new SqlParameter("@FormulareAuftragNr", SqlDbType.VarChar, 5);
myParam.Value = AuftragNr;
command.Parameters.Add(myParam);
command.CommandText = "dbo.Abfrage_Arbeitsplan_Bericht";
connection.Open();
SqlDataAdapter dataAdapter = new SqlDataAdapter(command);
ds = new DataSet("ABC");
dataAdapter.Fill(ds, "dbo.Abfrage_Arbeitsplan_Bericht");
druckarbeitsplan.SetDataSource(ds);
CR Version : latest
VS Version : 10.30319.1
OS : Windows 7
it is for an Windows App
JohannesCR Version : latest
That is not enough info. All my content below is based on the assumption that you are using CRVS2010 (V. 13.x)...
The code does not show you loading an actual report(?). Also, I'm assuming that after:
druckarbeitsplan.SetDataSource(ds);
you have code to show the report in the viewer or you're printing exporting the report?
For datasets see [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533323335333433333332%7D.do] KB. Also, make sure you are using the full 4.0 framework, not the client framework.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Print link on report shows 'no data found' when LOV has not been used
Hi all,
I have a simple standard report that queries data based on the value in a Select List. This Select List allows users to pick a year for the report. The LOV has a default of TO_CHAR(SYSDATE,'YYYY').
If I open the page using the associated Tab everything wotks OK. However, if I open the page via a button on my home page, the prink links fails:
The page opens OK, the select list defaults OK and the report shows the correct data. However, if I click on the 'Download as CSV' or 'Print' links I get 'no data found'.
If I update the LOV to 2010 everything works. If I set it back to 2009 evenrything works. I just cant get it to work when I open the page.
I have tried adding computations to get this to work, but this does not seem to help.
Any ideas?
Thanks,
MartinHi,
It would depend on what has been added, if anything, to the redirect. The redirect should just function as though you had typed in a URL into the address bar and pressed Enter. The page doesn't get submitted, so any data entered onto the page itself is, unless it is already in session, lost. A button, however, should submit the page and Apex will store all values in the session. So, if the value you need for the LOV is from the previous page, then this is the preferred method - but, note, that the redirect can also store values provided the page item name and the value is included in the redirect's URL string
Andy -
Financial Tax Register Report shows No Data Found
Hi All,
We are upgrading from 11.5.10 to 12.1.3, ofter upgrading to 12.1.3 when i running the Financial Tax Register Report it is showing No Data Found.
Please reply me ASAP.
Regards,
Raju.Hi,
For your references i posted the log file of financial tax register report.
E-Business Tax: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
RXZXPFTR module: Financial Tax Register
Current system time is 15-FEB-2013 09:38:25
Publishing concurrent program ZX : RXZXPTEX.
Request 487766 submitted.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Current system time is 15-FEB-2013 09:38:25
Request restarted at :15-FEB-2013 09:38:27
Publishing concurrent program ZX : RXZXPTEX.
Publishing request ID 487766.
Its a BIDI char set
Its not a BIDI language
FA_RX_SUBMIT_PURGE (PURGE API PROGRAM NAME =ZX_EXTRACT_PKG.PURGE) (ROWS PURGED =0)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
36093
------------- 1) PRINT -------------
Printing output file.
Request ID : 487765
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 15-FEB-2013 09:38:28
--------------------------------------------------------------------------- -
Crystal report showing Incorrect data against Bex Query
I have created Crystal report on top of Bex Query, I have not done any calculations in the report, just dragging structure and key figure in the report, ran for one month, when I compare with Bex Query with same period, it is showing incorrect data.
I don't know what can be wrong here?
We are Business Objects 3.1 SP3.
Thanks,
RaviHI,
I would suggest you trace the workflow in Web INtelligence according to these notes:
Tracing:
Unix : Note 1235111
Windows : Note 1260004
and then post a link for downloading the trace files here.
regards
Ingo -
SQL Server 2008 R2 Disk Usage report showing incorrect data file
When I go to ANY database (System, AdventureWorks*, user) in Managemant Studio, I right-click on the db, select Reports, select Standard Reports, and select Disk Usage. The disk usage report shows the correct db on top, but always only shows AdventureWorks_Data.mdf
when I expand Disk Space Used by Data Files section. This happens to any db I try. When I look at Database Properties/Files for that database, the logical and physical file names are correct.
Since the correct files appear in Database Properties/Files, I'm hoping it's just a bug in the report. Same thing happens if I run a Disk Usage by Table report for ANY database, The tables for AdventureWorks always only appear,
Thanks, MikeThanks Tibor!
I looked at the Properties for my login under Security/Logins and it shows my default db to be master. Not sure if this is correct, but it sounds plausible. I'll see if I can report the problem.
The only issue I can think of that was out of the ordinary for the install of 2008 R2 EE was this:
I originally installed 2005 DE, since it wouldn't expire. After the install of 2005 DE, I decided to uninstall it and install 2008 R2 EE. In between the installs of 2005 DE and 2008 R2 EE, I installed/uninstalled stupid stuff like 2008
Express, 2008 Express with Advanced Services (?), and 2008 EE. After each uninstall I also did a system restore to be safe.
Now each time I open Management Studio, i get a pop-up stating that there are SQL Server 2005 registered servers on my sytem and asks me if I want to add them into Management Studio. I always say no.
The AdventureWorks db is from 2005 and was installed automatically with 2005. I installed the 2005, 2008, and 2008 R2 AdventureWorks databases to my R2 for class. I'm not sure now if the Disk Usage report is showing me AdventureWorks_Data.mdf
because of my install into 2008 R2 EE or my previous install of 2005 DE.
Hope this kind of makes sense...
-Mike -
CRM 2007 Interactive OLTP Reports - Showing No Data
Hi,
I am using CRM 2007 with in-built BI client and wanted to activate OLTP interactive reports. I have done settings as per C41_BB_ConfigGuide_EN_DE.doc document provided by SAP. But when I am executing these OLTP queries this shows these error .
1. System error in program SAPLRSOA and form FUNC RSOA_VCUBE_READ_REMOTE_DATA[6]
2. OLAP: General error on BI side.
And shows no data.
Please suggest a solution.....
Best Regards,
Lokesh Kumar
Edited by: Lokesh Kumar on Mar 9, 2009 2:59 PM
Pls reply someoneHello Lokesh,
In SM30 maintain the Table SMOFPARSFA for the PARAMVAL field vaue of your BI interactive client.
I think it should help.
Best regards,
Partha Das -
Hi Gurus,
When we are generating report in the answers in one column it is showing wrong data from where i have to start for this issue.
Thanks,
RafiPull that column alone,run report, compare the results with your manual query, and also compare the physical query.
if all are good then try to add other column from any other dim and then do the same as above
repeat till you know the cause.
Pls mark if helps -
FI AR C02 - Data exists but Queries show no data
Hi all,
The FI AR cube C02 has data but the queries show "no applicable data". Is there a way to debug the query and see what it is trying to pull? I tried using RSRT with execute + debug option but I couldn't figure out much.. Is there any other way to debug or is there a better way to use RSRT trans for my problem.
Thanks a lot!
Regards,
RituI see that the right data for the Query is not there.. eg: for DSO analysis query, there is no sales data in the previous period for calculations based on the fiscal year period I give in the selection.. So I'm concluding for now that there is no proper data.. I shall ask the FI guys to create some data in R/3 for my testing.. am not sure when that'll happen ;>
Thanks for your help.. -
ALV report shows fixed number of columns for a user ?
Hello,
I have an issue wherein I have created an ABAP ALV grid display in a WD ABAP application and hosted it onto portal. Now, all the users can see the correct number of columns for the report which are determined dynamically. But just for one user, irrespective of which report she launches it shows her only 4 columns.
Can anybody suggest why this kind of behavior.
Appreciate your help.
Regards,
Samta.Hi,
Right, click the button "manage layout" or "save layout" and remove any default user settings...
added: didn't read carefully sorry ;)... better check user settings in SU01 if no ALV parameter is used.
Kr,
m.
Edited by: Manu D'Haeyer on Oct 21, 2011 8:53 PM -
Matrix report with dynamic and fixed columns
Hi all,
I have a matrix report which has dynamic as well as few fixed columns.
It is a fixed asset Report in which the sum(cost) in cell should be grouped according to column and row-wise.
The row consists of the activity such as additions, retirements etc and the dynamic column is the category and other fixed columns such as CIP cost, CWIP cost will be grouped only according to row.
the actual layout should be like this
| category 1 | category 2 | category 3 ...... | CIP cost | CWIP cost
Additions | Sum(cost) | Sum(cost) | Sum(cost) .......| 1234 | 4500
retirements | Sum(cost) | Sum(cost) | Sum(cost) .......| 1000 | 2500but due to fixed colums in the layout the report builder pushes the fixed colums to the next row with single query i get
| category 1 | category 2 | category 3 ...... |
Additions | Sum(cost) | Sum(cost) | Sum(cost) .......|
CIP cost | CWIP cost
1234 | 4500
retirements | Sum(cost) | Sum(cost) | Sum(cost) .......|
CIP cost | CWIP cost
1000 | 2500if i try to add those columns alone in a seperate query and then build the report i get the layout like this
| category 1 | category 2 | category 3 ...... |
Additions | Sum(cost) | Sum(cost) | Sum(cost) .......|
retirements | Sum(cost) | Sum(cost) | Sum(cost) .......|
CIP cost | CWIP cost
2234 | 7000This is my query, i have used union to get the row-wise column activity
/* Formatted on 03-Sep-12 5:23:11 PM (QP5 v5.114.809.3010) */
SELECT DISTINCT /*ASSET_ID
SUM (cost),
SUM (cip_cost),
SUM (cip_cost_pk),
cat_desc--,sub_cat_desc
,activity
FROM (-- cip cost
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
facc.cost cip_cost,
0 cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
DECODE (
facc.asset_type
|| '-'
|| fc.segment1
|| '-'
|| di.transtype,
'CIP'
|| '-'
|| fc.segment1
|| '-'
|| 'TRANSFER',
'CIP T/F',
'CIP-0012-' || di.transtype,
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1 || di.transtype,
'0',
'Additions'
activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_capitalize_cip_v facc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_distribution_inquiry_v di
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND di.asset_id = fb.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND di.transaction_header_id =
(SELECT DISTINCT
MAX (transaction_header_id)
FROM fa_distribution_inquiry_v
WHERE asset_id = fb.asset_id)
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fc.segment1 <> '0012'
AND fb.asset_id = facc.asset_id
AND fa.asset_id = fat.asset_id
--AND facc.asset_type <> 'CAPITALIZED'
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'
AND DECODE (
facc.asset_type || '-' || fc.segment1,
'CIP-0012',
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1,
'0',
'Additions'
) <> '0'/*ORDER BY fb.asset_id*/
UNION
--cip cost pk
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
0 cip_cost,
facc.cost cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
DECODE (
facc.asset_type
|| '-'
|| fc.segment1
|| '-'
|| di.transtype,
'CIP'
|| '-'
|| fc.segment1
|| '-'
|| 'TRANSFER',
'CIP T/F',
'CIP-0012-' || di.transtype,
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1 || di.transtype,
'0',
'Additions'
activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_capitalize_cip_v facc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_distribution_inquiry_v di
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND di.asset_id = fb.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND di.transaction_header_id =
(SELECT DISTINCT
MAX (transaction_header_id)
FROM fa_distribution_inquiry_v
WHERE asset_id = fb.asset_id)
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fc.segment1 = '0012'
AND fb.asset_id = facc.asset_id
AND fa.asset_id = fat.asset_id
--AND facc.asset_type <> 'CAPITALIZED'
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'
AND DECODE (
facc.asset_type || '-' || fc.segment1,
'CIP-0012',
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1,
'0',
'Additions'
) <> '0'/*ORDER BY fb.asset_id*/
UNION
-- Disposal / Transferred / Retired
( -- retired
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
0 cip_cost,
0 cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
'Disposal / Transferred / Retired' activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_mass_ext_retirements_v ret
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fb.asset_id = ret.asset_id
AND fa.asset_id = fat.asset_id
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'/*ORDER BY fb.asset_id*/
UNION
--transfer
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
facc.cost cip_cost,
0 cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
'Disposal / Transferred / Retired' activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_capitalize_cip_v facc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_distribution_inquiry_v di
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND di.asset_id = fb.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND di.transaction_header_id =
(SELECT DISTINCT
MAX (transaction_header_id)
FROM fa_distribution_inquiry_v
WHERE asset_id = fb.asset_id
AND transtype = 'TRANSFER')
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fb.asset_id = facc.asset_id
AND fa.asset_id = fat.asset_id
AND facc.asset_type = 'CAPITALIZED'
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'/*ORDER BY fb.asset_id*/
GROUP BY cat_desc, activity
ORDER BY activityBrgds,
MaxHi all,
I have a matrix report which has dynamic as well as few fixed columns.
It is a fixed asset Report in which the sum(cost) in cell should be grouped according to column and row-wise.
The row consists of the activity such as additions, retirements etc and the dynamic column is the category and other fixed columns such as CIP cost, CWIP cost will be grouped only according to row.
the actual layout should be like this
| category 1 | category 2 | category 3 ...... | CIP cost | CWIP cost
Additions | Sum(cost) | Sum(cost) | Sum(cost) .......| 1234 | 4500
retirements | Sum(cost) | Sum(cost) | Sum(cost) .......| 1000 | 2500but due to fixed colums in the layout the report builder pushes the fixed colums to the next row with single query i get
| category 1 | category 2 | category 3 ...... |
Additions | Sum(cost) | Sum(cost) | Sum(cost) .......|
CIP cost | CWIP cost
1234 | 4500
retirements | Sum(cost) | Sum(cost) | Sum(cost) .......|
CIP cost | CWIP cost
1000 | 2500if i try to add those columns alone in a seperate query and then build the report i get the layout like this
| category 1 | category 2 | category 3 ...... |
Additions | Sum(cost) | Sum(cost) | Sum(cost) .......|
retirements | Sum(cost) | Sum(cost) | Sum(cost) .......|
CIP cost | CWIP cost
2234 | 7000This is my query, i have used union to get the row-wise column activity
/* Formatted on 03-Sep-12 5:23:11 PM (QP5 v5.114.809.3010) */
SELECT DISTINCT /*ASSET_ID
SUM (cost),
SUM (cip_cost),
SUM (cip_cost_pk),
cat_desc--,sub_cat_desc
,activity
FROM (-- cip cost
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
facc.cost cip_cost,
0 cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
DECODE (
facc.asset_type
|| '-'
|| fc.segment1
|| '-'
|| di.transtype,
'CIP'
|| '-'
|| fc.segment1
|| '-'
|| 'TRANSFER',
'CIP T/F',
'CIP-0012-' || di.transtype,
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1 || di.transtype,
'0',
'Additions'
activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_capitalize_cip_v facc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_distribution_inquiry_v di
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND di.asset_id = fb.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND di.transaction_header_id =
(SELECT DISTINCT
MAX (transaction_header_id)
FROM fa_distribution_inquiry_v
WHERE asset_id = fb.asset_id)
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fc.segment1 <> '0012'
AND fb.asset_id = facc.asset_id
AND fa.asset_id = fat.asset_id
--AND facc.asset_type <> 'CAPITALIZED'
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'
AND DECODE (
facc.asset_type || '-' || fc.segment1,
'CIP-0012',
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1,
'0',
'Additions'
) <> '0'/*ORDER BY fb.asset_id*/
UNION
--cip cost pk
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
0 cip_cost,
facc.cost cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
DECODE (
facc.asset_type
|| '-'
|| fc.segment1
|| '-'
|| di.transtype,
'CIP'
|| '-'
|| fc.segment1
|| '-'
|| 'TRANSFER',
'CIP T/F',
'CIP-0012-' || di.transtype,
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1 || di.transtype,
'0',
'Additions'
activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_capitalize_cip_v facc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_distribution_inquiry_v di
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND di.asset_id = fb.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND di.transaction_header_id =
(SELECT DISTINCT
MAX (transaction_header_id)
FROM fa_distribution_inquiry_v
WHERE asset_id = fb.asset_id)
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fc.segment1 = '0012'
AND fb.asset_id = facc.asset_id
AND fa.asset_id = fat.asset_id
--AND facc.asset_type <> 'CAPITALIZED'
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'
AND DECODE (
facc.asset_type || '-' || fc.segment1,
'CIP-0012',
'Additions Project Khalifa assets',
'CAPITALIZED-' || fc.segment1,
'0',
'Additions'
) <> '0'/*ORDER BY fb.asset_id*/
UNION
-- Disposal / Transferred / Retired
( -- retired
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
0 cip_cost,
0 cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
'Disposal / Transferred / Retired' activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_mass_ext_retirements_v ret
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fb.asset_id = ret.asset_id
AND fa.asset_id = fat.asset_id
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'/*ORDER BY fb.asset_id*/
UNION
--transfer
SELECT DISTINCT asset_id,
cost,
ytd_deprn,
deprn_amount,
deprn_reserve acc_deprn,
cost - deprn_reserve net_bk_val,
cip_cost,
cip_cost_pk,
description cat_desc,
fat_desc sub_cat_desc,
activity
FROM (SELECT DISTINCT
fb.asset_id,
fb.cost,
facc.cost cip_cost,
0 cip_cost_pk,
ds.ytd_deprn,
ds.deprn_reserve,
fc.description,
fat.description fat_desc,
ds.deprn_amount,
'Disposal / Transferred / Retired' activity
FROM fa_books fb,
fa_additions_b fa,
fa_methods fm,
fa_financial_inquiry_cost_v fic,
fa_categories_vl fc,
fa_capitalize_cip_v facc,
fa_additions_tl fat,
fa_deprn_summary ds,
fa_distribution_inquiry_v di
WHERE ds.asset_id = fa.asset_id
AND fb.asset_id = fa.asset_id
AND fb.asset_id = fic.asset_id
AND di.asset_id = fb.asset_id
AND fb.life_in_months = fm.life_in_months
AND fb.book_type_code = ds.book_type_code
AND fb.book_type_code = fic.book_type_code
AND fa.last_update_date >
TO_DATE (
'01'
|| 'JAN'
|| TO_CHAR (SYSDATE, 'RRRR'),
'DD-MON-RRRR'
AND ds.deprn_run_date =
(SELECT DISTINCT MAX (deprn_run_date)
FROM fa_deprn_summary
WHERE asset_id = fb.asset_id)
AND fic.transaction_header_id_in =
(SELECT DISTINCT
MAX (transaction_header_id_in)
FROM fa_financial_inquiry_cost_v
WHERE asset_id = fb.asset_id)
AND fb.date_effective =
(SELECT DISTINCT MAX (date_effective)
FROM fa_books
WHERE asset_id = fb.asset_id)
AND di.transaction_header_id =
(SELECT DISTINCT
MAX (transaction_header_id)
FROM fa_distribution_inquiry_v
WHERE asset_id = fb.asset_id
AND transtype = 'TRANSFER')
AND fa.attribute_category_code =
fc.segment1 || '-' || fc.segment2
AND fb.asset_id = facc.asset_id
AND fa.asset_id = fat.asset_id
AND facc.asset_type = 'CAPITALIZED'
AND fb.deprn_method_code = fm.method_code
AND ds.deprn_source_code <> 'BOOKS'/*ORDER BY fb.asset_id*/
GROUP BY cat_desc, activity
ORDER BY activityBrgds,
Max -
PO report showing PO date and qty deliverd date
Hi ,
Do we have any standated report for MM which show the Po no, Po date, material, description, delivered qty and delivery date..
regards
rajeshHi Pankaj,
Thanks a lot for your prompt reply. As you said in ME2M / ME2L in delivery schedule we can see the delivery date, but the delivery date is the one which we are maintaining in the purchase order, i would like to know the (Delivered date ) exact date on which the qty has been deliverred to us .
Regards
rajesh
Maybe you are looking for
-
Is it possible to send notes from an iTouch to a computer with the same email?
I have several Notes on my iTouch I would like to send to myself so that I'll be able to access them on my computer, but will this work if the iTouch and computer (Mackbook Pro) both use the same Email accounts? Assistance is much appreciated.
-
Anyone able to get Pogo games to work with the latest JRE 7? If I downgrade to the previous version all is well, but I like running the bleeding edge stuff so any thoughts are welcome.
-
How can I set Parameter ID.
In My Report i have pass challn no , challan year, Document No doc Yr to a standard Tcode J1ifq for challan recancellation. ex: doc no docyr challan no challan yr. 34234435 2007 21 20007
-
Restrictions at store location with 311
When we run T-code: - MB1B with 311 movement type There mention two store location One for source Second for destination We need restrict one way stock transfer. That means 1) Store A to store B to be approve with 311 2) Store B to store A not approv
-
Discoverer Integration with BI Publisher now available
Key benefits of integration of BI Publisher with Discoverer: - Create highly formatted reports based on your Discoverer worksheets (Relational and OLAP) - Schedule and Distribute these reports in a variety of formats (e.g. HTML, PDF) via email On the