Column Headings in the REPORT WRITER....
Hi friends,
if any body knows about the report writer and worked on that, could you please guide me how to get the column headings of the output in the report writer.
Please, its urgent.
Thanx and regards,
ram.
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
Similar Messages
-
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 -
Displaying the Row and Column number in the report
I am trying to show row and column number in the report (not just web preview). I am using Hyperion Reports Version 7.2.5.168
use a formula column/row. use RANK function in that. (e.g. Rank([A], asc) will sort the rows based on column A values in ascending order)
you can use this rank in your heading.
But frankly this is not so easy. You have to do it in a very intelligent way, so that rank gives you column number/row number any how.
Have a try and let see if you find a appropriate solution.
Regards,
Rahul -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell. Can you tell me how I can rotate the contents with-in a cell?
Numbers does not have rotated text within cells. You can place a text box over the cell that has rotated text but you cannot rotate text within a cell.
-
Column headings in the procedure o/p
Hi,
Oracle 9i
How to include column headings in the procedure o/p ?
also
how to view the procedure o/p in the toad8.5 Data grid instead of DBMS Output screen ? because when I execute the procedure it shows the o/p in the dbms output window but I want to get it reflected in the data grid. How it can be done ?
Regardsuser640001 wrote:
How to include column headings in the procedure o/p ?
also
how to view the procedure o/p in the toad8.5 Data grid instead of DBMS Output screen ? because when I execute the procedure it shows the o/p in the dbms output window but I want to get it reflected in the data grid. How it can be done ?*Do not use DBMS_OUTPUT for for rendering output. It is the WRONG tool to use!!*
DBMS_OUTPUT does not work like you think it does. It does not display anything. PL/SQL s/w is incapable of displaying anything on a client. That is the client's job.
DBMS_OUTPUT has a buffer variable. This variable resides in the most expensive memory area of an Oracle database. The PGA. When you do a DBMS_OUTPUT.put_line(), you are merely adding a line of text to this buffer variable.
A client can after a database call was made and executed, query this DBMS_OUTPUT buffer - and display and empty its contents. So in order words, the client makes another database call and reads the DBMS_OUTPUT variable.
The wrong part is this.
1. The client calls your PL/SQL code.
2. You use SQL to pull data from the SGA buffer cache into a buffer variable residing in very expensive PGA memory.
3. Your PL/SQL code terminates.
4. The client now makes another PL/SQL database call to DBMS_OUTPUT.
5. The client reads the DBMS_OUTPUT buffer and it renders it locally.
The problem:
- the SQL data is moved about between memory areas on the server (consumes loads memory and CAN cause the server to crash by exhausting server memory)
- the client needs to make multiple calls to get the data, and the data is dumb text strings instead of structured data
The CORRECT approach is:
1. The client calls your PL/SQL code.
2. Your code creates and returns a ref cursor.
3. The client now fetches the data from the database via the ref cursor handle. -
Change Column Headings in ALV Report Using OO
Hi Friends,
I am using OO to display a report with ALV Grid
I tried to change the column names but it still takes the column names from the DDIC.
My declaration is as follows
Data: num type dmbtr.
TRY.
lr_column ?= lr_columns->get_column( columnname = 'NUM' ).
lr_column->set_output_length('7').
lr_column->set_long_text( ' Value' ).
lr_column->set_short_text( ''() ).
lr_column->set_medium_text( 'Value' ).
CATCH cx_salv_not_found INTO gr_error.
gr_msg = gr_error->get_text( ).
MESSAGE gr_msg TYPE 'I'.
ENDTRY.
*--- display report
gr_table->display( ).
CATCH cx_salv_msg.
WRITE: 'Error displaying grid! - cx_salv_msg'(044).
CATCH cx_salv_not_found.
WRITE: 'Error displaying grid! - cx_salv_not_found'(004).
CATCH cx_salv_data_error.
WRITE: 'Error displaying grid! - cx_salv_data_error'(005).
CATCH cx_salv_existing.
WRITE: 'Error displaying grid! - cx_salv_existing'(006).
I need the column name as VALUE but it displays as Amount LC in the alv report.
Thanks
chaithanyaHey hello,
you have to change short medium and log text
look at this:
gr_columns = (Table got from factory)->get_columns( ).
gr_column = gr_columns->get_column('NAme').
gr_column->set_long_text('new name long').
gr_column->set_medium_text('new name medium').
gr_column->set_short_text('new name short ).
it will help
thanks
Edited by: Alfito on Nov 28, 2011 9:31 AM -
Fixed column headings in classical report
Hi,
In classical report , how to make fixed column headings .
I mean while scrolling down the header should not get scrolled .
Regards
NancyHi Nancy,
Try creating your header under TOP-OF-PAGE, as bellow so whenever a new page is called this top-of-page will be executed satisfying your requirement.
TOP-OF-PAGE.
PERFORM print-report_title.
PERFORM print-column_heading.
Hope it helps you,
Regards,
Abhijit G. Borkar -
Scheduling a workbook where does the report write too?
I want to put some report jobs in the scheduler in the Discoverer desktop how can I tell Discoverer where to write the reports either in PDF or Excel format?
Thanks, So MuchOracle9i Discoverer Administrator
Administration Guide
Version 9.0.2
January 2002
Part No. A90881-02
Chapter 8 Covers Scheduling Workbooks.
I copied this from PDF Page 151:
Where to store the results of scheduled workbooks?
Discoverer stores the results of scheduled workbooks in database tables. Before an
end user can schedule a workbook, you must decide which database user (schema)
is to own those tables. You have two choices as described in the table below:
The schema running the scheduled workbook:
The advantage of specifying the result set storage in the end userâs schema is that a database limit can be specified on the maximum amount of data an end user can store in the database. If the result set is stored under the end userâs schema, you keep control over the maximum amount of space one individual end user can fill with result sets. If the end user creates a scheduled workbook that fills the space, only that end userâs schema is affected.
A disadvantage is that it increases the maintenance overhead.
Note: Since Oracle Applications users often share the same secure database account, they are advised to create a scheduled workbook results schema to store the results of scheduled workbooks.
Scheduled workbook results schema:
The advantage of specifying the result set storage in a scheduled workbook results schema is that it is generally easier to manage than using multiple database user schemas. Also each end user does not need to set up
additional database privileges to run scheduled workbooks.
The disadvantage is that space quota is shared and so could be exhausted by a single end user. -
How to spilt columns dynamically in the report based on Date Parameters
Hi All,
We have an XML Publisher report in which the parameters are Fom date and To date.
User wants the data in the report to be split dynamically based on the months in the From date and To date interval.
Eg. if the From date is 01-JAN-2013 and To date is '31-MAR-2013' then the report should show 3 columns JAN,FEB and MAR and the corresponding data.
if the From date is 01-JAN-2013 and To date is '31-MAY-2013' then the report should show 5 columns JAN,FEB,MAR,APR and MAY and the corresponding data.
Can anyone please advise, how can we spilt the months and data dynamically in the report.
Regards,
Shrutiwell you wanted the columns to be added dynamically. the easiest way would be to use a Pivot since the columns are based on the values in the data. and if the values of that column are Month Name/Abbreviation for that date then you will get month columns.
Have you worked with Pivots before? -
How to un-group columns on my the report and how to add an export to PDF
Hello OBIEE developers...
So, I have this report with about 7 columns, I just submitted to my boss he came back saying "Don’t group the columns, the users typically want to see data on each row".... I am not quite sure what in the world he is talkign about, do I need to report each separate or if separate how do start that? I am sorry I am new to this area, some of my questions might be senseless..
Also, on the same dashboard I am required to add an option where users can export the dashboard to PDF, how do I go about that?
please help
Edited by: 994621 on Apr 25, 2013 10:32 AMSri,
Right, may be that's what I should have said: once you've opened the dashboard then I need to export it as a dashboard. How do I that? There is a way, my predecessor was able to do it. I have a report with a print as a pdf on the dashboard with pdf icon on it (its a separate dashboard from the report) and you are able to print it as the pdf doc. I just can't figure out how he was able to do this,
Any idea?
Edited by: 994621 on Apr 25, 2013 2:13 PM -
How to get the input value as a columns headings of the kye figer
Dear all,
the senario is i have keyfiger heading like DESPATCHES MADE ON (0CALDAY) and CUMMULATIVE DESPATCHES FOR (0CALMONTH), the 0CALDAY is the input value of the report. so how to get the value of the 0CALDAY and 0CALMONTH in the heading name of the key figer.
I really appreciate for any help on this.
wil assign pts for sure...
thanks
regards
MohanDear Venkat Ambati,Sumit Singn,Masi dandavate,
thanks for reply.....
ya got u r value able inputs but i don't no how to get the variable value to the column heading, if u guy's having any doc's means plz send me the same, my mail id is <u><i>[email protected]</i></u> or <i><u>[email protected]</u></i>
thanks n regards
Mohan -
Creating Dynamic Column Headings in Interactive Reports
Hi,
any ideas how I can alter the name of a column in an interactive report.?
I have columns whose usage is defined by the end user and consequently want to have their own meaningful column header displayed whenever this column is referenced.
I can get column headers to change in standard reports by using PL/Sql to return the column headers. In Forms, I use shortcuts (these don't seem to work for reports, I wish they did) but I'm at a loss on how to achieve this with IR's.
Thanks
MikeI wrote a script(application process) that updated the table that holds column name. I changed the display name, not the column name. I cant remember the actual table, but i found it by looking at the code that create the "APEX Application Page Ir Col" View.
I dont know if this is best practice, but it works for me.
Edited by: Adrian3000 on Dec 26, 2008 9:38 AM -
How can I calculate column percentage in Essbase report writer?
If you think about sample:basic, I have Q1 and Q2 on my columns and PkgType, Bottle and Can on my rows. i want to create a new column "%" and show the quarterly values as a percent of PkgType for the respective quarter. Essbase Analytical Services Technical Reference has this example but it doesn't work on my report, I don't if it's because I have attribute dimension on my rows:
// This report performs column calculations based on values in a
// report row.
<PAGE (Scenario, Product, Market)
Actual
<COLUMN (Year)
Qtr1 Qtr2
{ DECIMAL 2 3 4 }
{ NAMEWIDTH 22 WIDTH 7 3 4 }
{ ORDER 0 1 3 2 4 5 }
<ROW (Accounts)
{ SAVEROW } Sales
{ CALCULATE COLUMN "%" = 1 % "Sales" 1 }
{ CALCULATE COLUMN "% " = 2 % "Sales" 2 }
{ CALCULATE COLUMN "Avg" = 1 + 2 / 2. }
<DESCENDANTS Accounts
Any help will be much appreciated!sorry that example was based on Demo:Basic and it does work but when apply that logic to what I try to do, it doesn't work.
Please see the PkgType example I sent and I am trying to get this result in Sample:Basic.
Sales New York Product Actual
Qtr1 % Qtr2 %
Pkg Type 7,705 100 9,085 100
Bottle 5,707 74.07 6,727 74.04512933
Can 1,998 25.93 2,358 25.95487067
I tried this script but didn't work:
<PAGE("Measures","Market","Product","Scenario")
<COLUMN("Year")
<ROW("Pkg Type")
"Sales"
"New York"
"Product"
"Actual"
"Qtr1"
"Qtr2"
"Pkg Type"
"Bottle"
"Can"
{ CALCULATE COLUMN "%" = 1% "Pkg Type" 1 }
{ CALCULATE COLUMN "% " = 3 % "Pkg Type" 3 }
! -
List of SA,Tables,Columns used in the reports
Hi Experts,
We have 5 dashboards and nearly 35 reports from different subject areas now we want to make a list in the excel which
subject areas,tables,column names ,formulas used in that columns as been used in the particular reports.
As we have complex reports so it is very hard to check manually is there any option to check all these.
Thanks,Use catalog manager to build a report.
Open catalog then Select folder->Tools->Create Report
save it as .csv and open in spreadsheet
You may have to generate rpd doc since expressions are shared in report level and also in rpd level
Pls mark correct/helpful
Maybe you are looking for
-
I am having problems running my .xsql file on the web using JRUN. I have set the classpath and was able to run the xsql file from the command line and also was able to get the xml output. But here is the error that i get when i try to execute the sam
-
Hi I logged as a sys and execute the following code. But I'm getting ERROR: Invalid PATH FOR file. CREATE or replace DIRECTORY test_dir AS 'C:\'; DECLARE fileHandler UTL_FILE.FILE_TYPE; BEGIN fileHandler := UTL_FILE.FOPEN('test_dir', 'test_file.t
-
I have noticed that i no longer have the hotspot option in settings.. and i have no network setting in the general setting.. soo network setting is also missing. what should i do??
-
I have a problem when I export a video to 3g format in quicktime the export fails. At any given point during the video clip the video freezes. The sound exports successfully. I have experimented with changing the codecs of the source video as the ori
-
whenever i put an app on my ipad it syncs to my iphone. how can i keep this from happening?