Extra column in Crosstab report
Hi Experts,
We are designing a cross tab report (using CR 2008) and got stuck at one point. If we want to add an extra column in cross tab, what is the way to insert the same?
Currently our cross tab is designed using 3 elements: Country, Month and Sales. We would like to add an extra column u201Clast year salesu201D before Month data. This element is present in database.
Any help / suggestions would be appreciated.
Regards,
Chinmay
Right click Cross tab - -> Cross tab expert
Drag field into columns and the position with up/down arrows
Ian
Similar Messages
-
Hi there,
I added a column to an existing alv report which uses method 'set_table_for_first_display' to display the output.
The method is called via:
grid1 TYPE REF TO cl_gui_alv_grid,
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'MAT_DATA'
is_layout = lt_layout
is_variant = lt_variant
i_default = lt_default
i_save = 'A'
it_toolbar_excluding = lt_exclude[]
CHANGING it_outtab = mat_data[]
it_fieldcatalog = w_fieldcat[]
EXCEPTIONS
program_error = 1.
The extra columns are in the field catalog and mat_data.
The lt_variant-report field has the report name in it.
When I run the report the new column does NOT appear.
I cleared out the lt_variant-report value and now the new column DOES appear.
Any idea why this is happening?
Is there some way I can leave the report name in there and see the new columns?
Thanks.thanks.
no_out is initial.
But, in this case, I am not passing any variant.
It works if I don't pass the report name in the
is_variant-report
field.The columns will not display if I pass the report name. -
Dynamic columns in crosstab report
Hello,
I'm using CR 2008.
I've created a dynamic crosstab report. The number of columns could be any, depending on the data.
I need to replace the original column headers with the formula, so the headers would look like this:
Set1 Set2 Set3... etc., where 1, 2, 3... etc. are the column indexes (or just sequential numbers).
Could you please recommend me a formula for it? I'm not sure how to insert these sequential numbers to the column headers.
Thank you.Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
Displaying columns in Crosstab report.
Hi all,
I have developed Matrix Report. Output is coming like below.
Current Vol OPM Cost
Category X1 x2 x3 x4 x1 x2 x3 x4
Product Market
AAA1 Japan 10 20 30 40 10 20 30 40
BBB1 Japan 10 20 30 40 10 20 30 40Current volume also displaying based on category. But, i need to display as Current vol one time only. instead of 4 (X1,x2,x3,x4). OPM cost should display as matrix based on category.
Please let me know , Is it possible to do it in Discoverer.
Thanks
KaviHi,
Yes it is possible but you will need to have each category as a separate row then use a crosstab report to display the rows in a matrix.
To create the extra rows for each catogory you will need a row generator in your EUL. See this link http://learndiscoverer.blogspot.com/2008/10/row-generators.html for details.
You can then use decode to define the calculation that will display the OPM cost for the category on the row.
Rod West -
Urgent : extra column needed in report
Hi All
I have a query which displays the data for twelve months for a fiscal year.
Rows:
KF1
KF2
KF3
Column:
Posting Period
So the display of report is similar to
Period , 1 , 2 , 3 , YTD, BOY
KF1 , 0.000 , 0.000 , 0.000 , ,
KF2 , 0.000 , 0.000 , 0.000 , ,
KF3 , 0.0 , 0.0 , 0.0 , ,
The no of periods is being enetered via a selection screen variables.
Now I want to add two more columns i.e YTD and BOW (already shown)
YTD would show the sum of the data till the current period
BOY will show the sum of the data for the balance of Year.
I do have variable to restrict the data as per the logic but I am not able to find a solution to add these two coluns.
I have tried adding new slections in the columns area but it does not help and merges with the periods. I want these two coluns separately in my report.
Please help. Its urgent
Message was edited by:
Shantanu Mukherjee
Message was edited by:
Shantanu MukherjeeYou are right Venkat. User is entering the periods using a interval variable.can you please elaborate how to use a customer exit variable in this case. And moremoreover how to utilize the calculated values after the period columns.
Let me elaborate again about the requirement. In the columns only postin period is being used and it has been resticted using a interval variable. In the rows selcetions based upon Key figures are being used. I need to add column which would give me the sum till the current period for that selection(selcetion is based upon a KF). I hope I have made myself clear this time. sorry for the inconvinience -
KSB1 extra column or user exit to add extra fiel on report.
Hi
How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
Thanks
RendaniHi,
Please search for OSS note in market place.
I have worked on it, but I donot remember the OSS note number.
Thanks,
Sriram Ponna. -
KSB1 user exit & extra column.
Hi
How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
Thanks
RendaniHi,
Pls find the user exits available for the tcode :KSB1 below:
COCCA001 Customer enhancement to cost center authorization checks
COCCA002 Customer Functions for Organizational Authorization Checks
COOMEP01 CO-OM: Information system -> line item reports
COOMKA01 Customer Fields for Cost Element Master Data
COOMKS01 Customer Fields for Cost Center Master Data
COOMKS02 Cost Center: Checks When Saving
COOMKS03 Cost Center: BAPI Enhancements
COOMLA01 Customer Fields for Activity Type Master Data.
Pls reward if helpfull.
Regards,
Sharath -
Adding custom column to a report
I'm a newbie using APEX 2.1 on Oracle XE.
I've created a simple page with a report which displays the list of rows in a table. I'd like to add an extra column to this report with an "Edit" button for each row. (So I can obviously edit individual rows in a separate window) But I can't see any way to alter the report output to be able to add extra columns.
Have I approached this the wrong way ? (NOTE: I don't want to edit the row in-situ in the table)
Thanks.Try using the Form Wizard to create your pages. If you select the "Form on a Table with Report". It will for the most part do all the work for you. Then you just cleanup the UI to look the way you want it too.
-
How to fix loop value of column in crosstab BI publisher report ?
Hi all,
I have a RTF template of crosstab report.I facing the problem: Some value of each column is loop for each row.
EX: I have data: row1,co1(1000), col2(0),row2,col1(2000),col2(500).Then value of col1 loop from row1 and row2. Please help me!It's urgent.
Incorrect result:
desc col1 col2
no am am
row1 1000 0
row2 1000 500
Correct result:
desc col1 col2
no am am
row1 1000 0
row2 2000 500Can you share the data and the version you are using ?
Tim -
R12 Payment Process Request Status Report adding extra columns to XML data.
In 11i, we had modified the Preliminary Payment Report to include extra columns ( invoice distributions). In r12 , that report is obsolete and Oracle introduced a new report "Payment Process Request Status Report". This request uses BI Publisher to generate the final report output. I am unable to modify the template since the XML output of the report does not
contain the invoice distribution account data. We need to know how can we modify the XML data to include the extra columns.
For Funds Disbursement Process ( Payment Instruction File) , Oracle provides IBY_FD_EXTRACT_EXT_PUB extensibility package to construct custom XML element structure that can be added to the payment XML extract generated by Oracle Payments. Do we have something similar for this report ? Are there any other options available ?
ThanksHi
The same package "IBY_FD_EXTRACT_EXT_PUB" works for payment process request status report also. Please add the logic to get the distribution data in this package and you will see the new XML tags in this report also.
Hope this helps.
Vinit -
Calculating a difference between two columns in a crosstab report
I have a crosstab report showing # of sales by salesperson in each of 2 years and within each of 2 categories of salesperson (old vs new). I want to create a column showing the difference between sales in 2009 and 2010 within new salespersons and then a column showing the difference between 2009 and 2010 within old salespersons. I can't figure out how to pinpoint in the variable editor the column containing 2009 sales by new agents. Any advice?
You can hard-code the formulas like this:
=Sum([Sales]) Where ([Year] = 2009)
=Sum([Sales]) Where ([Year] = 2010)
Then the variance becomes:
=Sum([Sales]) Where ([Year] = 2010) - Sum([Sales]) Where ([Year] = 2009)
The challenge with this is the years are not dynamic, but I figure I will throw this out first and see if it gets you what you want to start with. -
Sorting column name in crosstab report 10.1.3.2.1
hi,
i have crosstab report build with bipublisher 10.1.3.2.1.
in column, i have jan'11 feb'11 etc but not sorted correctly(it should be ordered by numeric not character).
any advise will be higly appreciated.
thx.
regards,
tyoYou need to either convert these to a date in canonical format and sort based on date,
Or convert these months to number and sort based on number to have the months sorted correctly -
Adding a dummy column for text in crosstab report
I created a report using crosstab to show trended months per column & details per row. Now I'm trying to add additional columns to the crosstab report to display other pertinent info (not calculations, just text pulling from the database). I read from various threads in the forum that I can create dummy columns to accomodate this, but I don't know how to do so. Can someone please guide me in doing so? If creating dummy columns is not a solution, please advice on what's the best way to add text columns to a crosstab report. Any help is truly appreciated. Thank you.
Original report:
Emp Name Jan Feb Mar Apr May Total
Doe, John 20 17 30 28 33 128
Wish to accomplish:
Emp Name Emp# Dept# Yrs Employed Jan Feb Mar Apr May Total
Doe, John 12345 6010 8 20 17 30 28 33 128Hi Fione,
I don't have access to CR at the moment but this is how I can think of doing this:
1) Create a Subreport that points to the same table as the Main Report
2) The Subreport should return the same number of Employees and in the same order as the Main Report - you can do this by creating a group on the Emp field just like the 'Row' in the Crosstab
3) Create separate array variables - one each for Emp#, Dep# etc that accumulates values for each employee and inserts it against an index of the array
4) Suppress all sections inside this subreport and place this Subreport on the Report Header of the Main Report
5) Reduce the size of this subreport so that it isn't bigger than a dot and DO NOT suppress the section that holds this subreport
6) Insert Calculated Members in the Crosstab for each column you need
7) Use the array variable meant for the respective column. You just need to print the value at each index of the array based on the 'currentrowindex+1' function.
-Abhilash -
Column Headings in the report and adding an extra field to the report
Hi All.
I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
How to add an extra field to the existing report?
Any pointers will be very much helpful.
Regards,
SSR.Hi,
you can get this done in 2 ways:
1 - Change the query to add another column and the re-generate the report
2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
thnx,
ags.
Edited by: Agasti Kale on Jun 12, 2008 6:26 PM -
Extra columns in report by pl/sql
Hi,
In my application (about wheater data) I need a report with an undefined number of columns. E.g. a user wants data about temperature and wind. Another user may want to see temperature, wind, humidity en may-be more.
I've build a collection with the result of the chosen parameters. After a submit I try to fill in a report according to the following PL/SQL-block:
declare
q varchar2(4000);
cursor c1 is
select c001 from htmldb_collections
where collection_name = 'ROEL'
order by c001
begin
q := ' select datum, tijd_code';
q := q||', sum(decode(kanaal,15,gemiddelde,0)) as gem_15';
q := q||', sum(decode(kanaal,33,gemiddelde,0)) as gem_33';
for cc1 in c1
loop
q := q||', sum(decode(kanaal,'|| cc1.c001||', gemiddelde,0)) as gem_'||cc1.c001;
end loop;
q := q||' from meteo_data where 1=1 ';
q := q||' and datum between nvl(:p1_startdatum,''01-jan-03'') and nvl(:p1_einddatum,''31-dec-99'')';
q := q||' and tijd_code = 3';
q := q||' group by datum, tijd_code';
htp.p(q);
return (q);
end;
When I make no selections (collection empty) then everything works correct.
But when I do make some choices, then a "report error: ORA-01403: no data found" is displayed.
I think this has to do with the extra columns that are defined in the FOR-Loop.
What am I doing wrong??
And can someone help me to solve this problem??
Thanks in advance,
RoelSomething wrong ??
I posted this message 4 september 2004
Roel
Maybe you are looking for
-
New I phone outgoing calls as well incoming SMS works but can not receive incoming calls. Caller gets the number does not exist in network.
-
Hello All Can someone please help me with the following question :) I asked the question, can you have two Enterprise Root CA in the same AD domain. This question was kindly answered by Paul here the answer was Yes. As far as I believe the two impor
-
Errors in alert_ORCL.log
In my alert_ORCL.log I have find strings: Errors in file /usr/local/oracle/admin/begemot/udump/ora_12345.trc: ORA-07745: exception encountered: core dump .. Oracle 8.1.5.0.2, kernel 2.2.5-22 RedHat May be I need apply any patches? null
-
Performing SPAU in Production System
Dear Team, We are in the process of upgrading our Production system from EHP3 to EHP7. We upgraded our Quality system with SPDD and SPAU transport requests from Development system and it finished successfully. But after upgrading our Kernel in Produc
-
HT204053 unable to connect ot server on mini ipad
"unable to connect to server " to accept terms and conditions.-icloud A. tired the shut down and open multiple times B. downloaded "find my friends" app C, Downloaded icloud onto my windows P.C. worked for P C but never ask to accept Terms and Agree