Query in report output
hi,
In reports can we split output screen in to two. it mean same output should come in two pages, if yes how to do.
thanks,
sujith
Moderator message : Duplicate post locked.
Edited by: Vinod Kumar on Sep 30, 2011 2:40 PM
hi,
In reports can we split output screen in to two. it mean same output should come in two pages, if yes how to do.
thanks,
sujith
Moderator message : Duplicate post locked.
Edited by: Vinod Kumar on Sep 30, 2011 2:40 PM
Similar Messages
-
How to control field length in SAP query's report output
HI everybody,
I have one scenario in SAP query in which there are two fields in the report output:
Milestone descrition and milestone description Long Text.
In CJ02 (WBS element overview), these two fields are populated with some text.
If description is exactly same as LOng text, long text is NOT getting displayed in output.
If long text is having more characters than description then only long text gets displayed in the output.
Do we need to change infoset or query settings? I haven't handled SAP query programming before.
PLease give some suggestions how to achieve this or I have to write custom report.
Any inputs on this will be highly appreciated.
Regards
KaushalHi,
Refer to this link..Additional field in SAP Query
[Creating Additional Fields |http://help.sap.com/saphelp_nw04/helpdata/en/d9/9958e0c50a11d396f80000e82de14a/frameset.htm]
[Code|http://help.sap.com/saphelp_nw04/helpdata/en/d9/9958e0c50a11d396f80000e82de14a/frameset.htm] -
Linking BW report outputs with VC story board output
Hi Everyone,
I have a scenario where I have display list of report names in VC output screen and I have to link these texts with few BW report outputs.
This can be achieved in WAD using HTML coding by linking the report's URL, how can we do the same in VC. My customer wants in such a way that the report has to open in a different window in VC.
I checked even in SDN where I didnt find the exact answer.
Can any one help me out to achieve task.
Regards,
ChanDear Pradeep,
I have checked the document which u have suggested me, it is really helpful. But still i need some specefic inputs.
My client has already developed these dashboards in WAD but now they want everything in VC. Here no interference of WAD.
Let me explain you what I exactly want ...
In VC output screen I want to display the list of report names ( Hard coded ), when I click on these reports (I mean text eg: sales analysis), it has to take me to the sales analysis report output in a different window or may be in same window.
Now displaying this text and linking it with the Query designer report output is my confusion. Can u guide me to achieve this. (Here, No interference of WAD)
Regards,
Chan -
Output mismatch between BEx query output and WebI Report output
Hi All,
I have a BEx query in which there are only characteristics placed in rows.
There are combinations of the values of the characteristics giving different records in the query output.
Date is one of the characterisctics in the query output.
There is an output mismatch between the query output and the WebI report output in the following case:
When there are 'Not Assigned' or '#' or blank values, there are additional entries(rows) in the WebI report, giving repeating or wrong entries in the Date field. This is incorrect data.
Is this because of the 'Not Assigned' or '#' or blank values of the Characteristics or is there any other reason?
How do I fix this?
Please helo me with this.
Thanks and Regards,
Srilakshmi BHi Rajesh,
I need to verify the WebI report output for records with # and 'Not assigned' values for the cHracteristics in the report.
So I cannot check the WebI report by hiding the # or Not assigned values.
The problem is that in the Query output the records are like these shown below:
Char1 CHar2 CHar3 Date field
A B C Date1
#(Not assgined) #(Not assgined) #(Not assgined) No value
Where as the WebI report output is as below:
Char1 CHar2 CHar3 Date field
A B C Date1
#(Not assgined) #(Not assgined) #(Not assgined) Date1
As shown here, there are wrong/repeating entries for the Date field in the WebI report output.
Please check this and let me know what could be the issue and how do I fix it.
Thanks and Regards,
Srilakshmi B -
APO ABAP - Query reg. /SAPAPO/BOP_WORKLIST report output
Hi,
I have a query in ABAP APO in /SAPAPO/BOP_WORKLIST report. My requirement is to add the fields KNA1-NAME1 & KNA1-MCOD3 to the report output only, but not to the filter as in Note 376773 or 377186. Please let me know if you have any inputs to offer. Thanks in advance.
Regards
MurthyHi ,
The req is not completely clear.
still , with some assumptions,
you can use ws_download FM to download the final internal table content to flat file on PC.
regards.
santosh. -
Query regarding calling T-code MIGO from ALV report output
Dear friends,
I have to call MIGO transaction from my ALV report output. Now problem is that I have to set the value 'display' In the first header field, 'Material Document' in 2nd header field when MIGO is called from the report output. Morever there is no parameter ID for these two fields. So how to set the values w/o using parameter ids.
Regards,
RishiHi,
Try this coding,
FORM DISPLAY.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT = AK_LAYOUT
IT_FIELDCAT = AK_FIELDCAT
TABLES
T_OUTTAB = ITAB.
ENDFORM. " DISPLAY
*& Form EVENT
FORM EVENT USING P_AK_EVENT TYPE SLIS_T_EVENT.
DATA : AK_EVENT1 TYPE SLIS_ALV_EVENT.
AK_EVENT1-NAME = 'USER_COMMAND'.
AK_EVENT1-FORM = 'USER_COMMAND'.
APPEND AK_EVENT1 TO P_AK_EVENT.
ENDFORM. " EVENT
*& Form USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
IF R_UCOMM = '&IC1'.
" AND SY-LSIND = '1'.
READ TABLE ITAB INDEX RS_SELFIELD-TABINDEX.
SET PARAMETER ID 'AUN' FIELD ITAB-BUDAT.
CALL TRANSACTION 'MIGO' AND SKIP FIRST SCREEN.
ENDIF.
ENDFORM. " USER_COMMAND
Regards,
Nikhil. -
Discoverer report - Output from Discoverer plus is not the same as Discoverer desktop
As a part of Upgrade project we are migrating the discoverer reports from 11i (11.5.10.2) to R12 (12.1.3) .After migrating to R12, for a custom discoverer report the output given by discoverer desktop is correct (24 rows for a scenario). But the report output from Discoverer plus does not show the credit transactions (2 rows). The output from Discoverer plus shows only 22 rows (24 - 2), which is incorrect. The query is the same in Discoverer desktop and Discoverer plus.
Please let me know why these transactions that are appearing when the report is run from discoverer desktop are not appearing in discoverer plus. Is there any setup in discoverer plus for this?
Regards,
BrajeshPretty hard to answer a question like this. Best bet would be to copy the existing discoverer plus book and start removing conditions, fields, etc until those two rows from desktop show up and see if you can work it out.
-
Query to Report on Parallel Jobs Running
Morning!
I would like to get a query that reports on my parallel jobs.
For each minute that a procedure is running I would like to know what stages are running.
I log the whole procedure in a table called run_details and the start and end of each stage in a table called incident.
I'm running Oracle 9i
Here is some sample data based on 2 threads Expected output at the bottom
SQL>CREATE TABLE run_details
2 (run_details_key NUMBER(10)
3 ,start_time DATE
4 ,end_time DATE
5 ,description VARCHAR2(50)
6 );
SQL>CREATE TABLE incident
2 (run_details_key NUMBER(10)
3 ,stage VARCHAR2(20)
4 ,severity VARCHAR2(20)
5 ,time_stamp DATE
6 );
SQL>INSERT INTO run_details
2 VALUES (1
3 ,TO_DATE('08/10/2007 08:00','DD/MM/YYYY HH24:MI')
4 ,TO_DATE('08/10/2007 08:10','DD/MM/YYYY HH24:MI')
5 ,'Test'
6 );
SQL>INSERT INTO incident
2 VALUES (1
3 ,'Stage1'
4 ,'START'
5 ,TO_DATE('08/10/2007 08:00','DD/MM/YYYY HH24:MI')
6 );
SQL>INSERT INTO incident
2 VALUES (1
3 ,'Stage1'
4 ,'END'
5 ,TO_DATE('08/10/2007 08:08:53','DD/MM/YYYY HH24:MI:SS')
6 );
SQL>INSERT INTO incident
2 VALUES (1
3 ,'Stage2'
4 ,'START'
5 ,TO_DATE('08/10/2007 08:00','DD/MM/YYYY HH24:MI')
6 );
SQL>INSERT INTO incident
2 VALUES (1
3 ,'Stage2'
4 ,'END'
5 ,TO_DATE('08/10/2007 08:04:23','DD/MM/YYYY HH24:MI:SS')
6 );
SQL>INSERT INTO incident
2 VALUES (1
3 ,'Stage3'
4 ,'START'
5 ,TO_DATE('08/10/2007 08:04:24','DD/MM/YYYY HH24:MI:SS')
6 );
SQL>INSERT INTO incident
2 VALUES (1
3 ,'Stage3'
4 ,'END'
5 ,TO_DATE('08/10/2007 08:10','DD/MM/YYYY HH24:MI')
6 );
SQL>select * from incident;
RUN_DETAILS_KEY STAGE SEVERITY TIME_STAMP
1 Stage1 START 08/10/2007 08:00:00
1 Stage1 END 08/10/2007 08:08:53
1 Stage2 START 08/10/2007 08:00:00
1 Stage2 END 08/10/2007 08:04:23
1 Stage3 START 08/10/2007 08:04:24
1 Stage3 END 08/10/2007 08:10:00 So stages 1 and 2 run in parallel from 08:00, then at 08:04:23 stage 2 stops and a second later stage 3 starts.
set some variables
SQL>define start_time = null
SQL>col start_time new_value start_time
SQL>define end_time = null
SQL>col end_time new_value end_time
SQL>
SQL>SELECT start_time-(1/(24*60)) start_time
2 ,end_time
3 FROM run_details
4 WHERE run_details_key = 1;
START_TIME END_TIME
08/10/2007 07:59:00 08/10/2007 08:10:00Get every minute that the process is running for:
SQL>WITH t AS (SELECT TRUNC(TO_DATE('&start_time','dd/mm/yyyy hh24:mi:ss'),'MI') + rownum/24/60 tm
2 FROM dual
3 CONNECT BY ROWNUM <= (TO_DATE('&end_time','dd/mm/yyyy hh24:mi:ss')
4 -TO_DATE('&start_time','dd/mm/yyyy hh24:mi:ss')
5 )*24*60
6 )
7 SELECT tm
8 FROM t;
old 1: WITH t AS (SELECT TRUNC(TO_DATE('&start_time','dd/mm/yyyy hh24:mi:ss'),'MI') + rownum/24/60 tm
new 1: WITH t AS (SELECT TRUNC(TO_DATE('08/10/2007 07:59:00','dd/mm/yyyy hh24:mi:ss'),'MI') + rownum/24/60 tm
old 3: CONNECT BY ROWNUM <= (TO_DATE('&end_time','dd/mm/yyyy hh24:mi:ss')
new 3: CONNECT BY ROWNUM <= (TO_DATE('08/10/2007 08:10:00','dd/mm/yyyy hh24:mi:ss')
old 4: -TO_DATE('&start_time','dd/mm/yyyy hh24:mi:ss')
new 4: -TO_DATE('08/10/2007 07:59:00','dd/mm/yyyy hh24:mi:ss')
TM
08/10/2007 08:00:00
08/10/2007 08:01:00
08/10/2007 08:02:00
08/10/2007 08:03:00
08/10/2007 08:04:00
08/10/2007 08:05:00
08/10/2007 08:06:00
08/10/2007 08:07:00
08/10/2007 08:08:00
08/10/2007 08:09:00
08/10/2007 08:10:00
11 rows selected.Get stage, start & end times and duration
SQL>SELECT ai1.stage
2 ,ai1.time_stamp start_time
3 ,ai2.time_stamp end_time
4 ,SUBSTR(numtodsinterval(ai2.time_stamp-ai1.time_stamp, 'DAY'), 12, 8) duration
5 FROM dw2.incident ai1
6 JOIN dw2.incident ai2
7 ON ai1.run_details_key = ai2.run_details_key
8 AND ai1.stage = ai2.stage
9 WHERE ai1.severity = 'START'
10 AND ai2.severity = 'END'
11 AND ai1.run_details_key = 1
12 ORDER BY ai1.time_stamp
13 /
STAGE START_TIME END_TIME DURATION
Stage1 08/10/2007 08:00:00 08/10/2007 08:08:53 00:08:52
Stage2 08/10/2007 08:00:00 08/10/2007 08:04:23 00:04:22
Stage3 08/10/2007 08:04:24 08/10/2007 08:10:00 00:05:36Then combine both (or do something else) to get this:
TM THREAD_1 THREAD_2
08/10/2007 08:00:00 Stage1 Stage2
08/10/2007 08:01:00 Stage1 Stage2
08/10/2007 08:02:00 Stage1 Stage2
08/10/2007 08:03:00 Stage1 Stage2
08/10/2007 08:04:00 Stage1 Stage2
08/10/2007 08:05:00 Stage1 Stage3
08/10/2007 08:06:00 Stage1 Stage3
08/10/2007 08:07:00 Stage1 Stage3
08/10/2007 08:08:00 Stage1 Stage3
08/10/2007 08:09:00 Stage3
08/10/2007 08:10:00 Stage3Ideally I'd like this to work for n-threads, as I want this to run on different environments that have different numbers of CPUs.
Thank you for your time.> Ideally I'd like this to work for n-threads, as I want this to run on
different environments that have different numbers of CPUs.
The number of CPUs are not always a good indication of the processing load that a platform can take - especially when the processing load involves a lot of I/O.
You can have 99% CPU idle time with a 1000 active processes... as that idle time is in fact CPU time spend waiting on I/O completion. Courtesy of a severely strained I/O channel that is the bottleneck.
Another factor is memory (resources). You for example have 4 CPUs with 8GB physical memory.. where a single process (typically a Java VM for a complex process) grabs a huge amount of memory. Assuming that 4 threads/CPU or 1 threads/CPU can be a severe overestimate due to the amount of memory needed. Getting this wrong leads in turn to excessive virtual memory paging and reduces the platform's performance drastically.
CPU alone is a very poor choice when deciding on the platform's capacity to run parallel processes. -
Issue in Report output
I am facing strange issue. I have created a BEx query and Executed in Bex analyser. In this output I can able to see * mark as values instead of KF.
Anyone can help me in this.hi,
can you use NODIM functionality and see .
Ravi -
Not able to save report output in a text file and RTF file
I am using Oracle Developer6.0 . I am facing problem with reports. I am invoking reports from form using run_product.
1. I could not able to save the report in text file . Whenever i try to save the report output in a text file.It gives dump and application get closed.
2. In RTF format , it execute the query which i have given at the design time while creating a report . But while running i am passing query either through lexical parameter or passing value of where criteria user parameters. It display the output for the specified value. But when i save this report output in rtf file . It execute design time query and save that in a rtf file.
If any body is having any idea about it . Please let me ASAP . It is very urgent for me.
Thanks in advanceTry the following:
Do not generate the report to .rep file, but rename/copy the .rdf file to .rep file and execute it. -
Oracle Discoverer Desktop Report output showing unicode characters
Hi,
Oracle Discoverer Desktop 4i version Report output showing the below unicode characters.
kara¿ah L¿MAK HOLD¿NG A.¿
We ran the same query in sql at that time the data showing correctly.
Please let me know, is there any language settings/ NLS settings are need to set
Thanks in Advance.Hi
Let me give you some background. In the Windows registy, every Oracle Home has a setting called NLS_LANG. This is the variable that controls, among other things, the numeric characters and the language used. The variable is made up of 3 parts. These are:
language_territory.characterset
Notice how there is an underscore character between the first two variables and a period between the last two. This is very important and must not be changed.
So, for example, most American settings look like this: AMERICAN_AMERICA.WE8MSWIN1252
The second variable, the territory, controls the default date, monetary, and numeric formats and must correspond to the name of a country. So if I wanted to use the Greek settings for numeric formatting, editing the NLS_LANG for Discoverer Desktop to this setting will do the trick:
AMERICAN_GREECE.WE8MSWIN1252
Can you please check your settings? Here's a workflow:
a) Open up your registry by running Regedit
b) Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
c) Look for the Oracle Home corresponding to where Discoverer Desktop is installed. It's probably called KEY_BIToolsHome_1
d) Clicking on the Oracle Home will display all of the variables
e) Take a look at the variable called NLS_LANG - if it is correct Exit the registry
f) If its not correct please right-click on it and from the pop-up select Modify
f) Change the variable to the right setting
g) Click the OK button to save your change
h) Exit the registry
Best wishes
Michael -
Key figure, number of decimal places are not showing in report output
Dear experts,
At cube level PO qty value is getting 0.010 where as in bex report output of PO qty showing as 0. I have chosen decimal places as 0.000 in key figure additional properties tab. In query designer also I have chosen no of decimal places as 0.000 in display propertiesu2026please help me out. How can I get 0.010 value in report o/p.
Thanks in advance.
Srivalli.Hi,
Try to run the query in RSRT. CHeck if you are getting the same output. Also make sure that in the reports all the filters are same as you have applied in the info -cube to see the data.
- Jaimin -
Report output Export to CSV issue
Hi Experts,
I have a Bex Query. After running the report when I export the report in CSV format using "Export to CSV" from the report output screen, the data
is being dumped in different columns And when i try to convert that particular CSV file to Excel as we can only select one single column for delimiting the values using a separator into different cells the data in the other column is being truncated.
Kindly suggest me how to resolve this.
Thanks in Advance,
SushmaHi,
(If anything else on the BW side doesn't help).
Not so long ago I had a similiar problem all data (originally taken from several columns) were in one column - solved it with the help of VB coding.
Sth like this could help you.
Regards, Leszek
Dim tekst As String
last_row = Selection.SpecialCells(xlCellTypeLastCell).Row
Range("A1:Z" & last_row).Select
Cells.Select
Selection.NumberFormat = "@"
For wiersz = 1 To last_row
Cells(wiersz, 1).Select
tekst = Selection.Value
Cells(wiersz, 1).Value = Left(tekst, 21)
Cells(wiersz, 2).Value = Right(Left(tekst, 27), 6)
Cells(wiersz, 3).Value = Right(Left(tekst, 37), 10)
Cells(wiersz, 4).Value = Right(Left(tekst, 50), 13)
Next wiersz -
BI Publisher report output is inconsistent for a given parameter?
Hi All,
Thanks in Advance
I have developed a BI publisher report with P_LOCATION, P_ZONE and etc columns.
However data in P_ZONE column is inconsistent.
The report output should be based on the parameter provided for P_ZONE say “3rd North Zone”
The output of the report should be for that particular zone only, however report output is showing all other zones as well, when i give filter condition like “3rd North%Zone” or “3rd North% Zone” which means if I include ‘%’ with or without space in my filter condition then the report output is correct, why search criteria is correct when I give ‘%’ in the parameter value.
I have checked running the query, but it works fine when I run in the backend.
However P_LOCATION parameter is working fine which is quite similar to P_ZONE!
Please let me know what went wrong!
Regards,
Arjun SMHi,
based on the prompt value the report column header should also change. You want to change the value of the column heading dynamically based on prompt.You will get this by using the Presentation variable.So,you have to integrate both the bi publisher+rpd.
Link to use the Prompts in bi publisher
http://oraclebizint.wordpress.com/2007/10/19/oracle-bi-ee-101332-dashboard-prompts-and-bi-publisher/
Link to get dynamic column headings
http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
Thanks,
saichand -
Best Practice for report output of CRM Notes field data
My company has a requirement to produce a report with variable output, based upon a keyword search of our CRM Request Notes data. Example: The business wants a report return of all Service Requests where the Notes field contains the word "pay" or "payee" or "payment". As part of the report output, the business wants to freely select the output fields meant to accompany the notes data. Can anyone please advise to SAP's Best Practice for meeting a report requirement such as this. Is a custom ABAP application built? Does data get moved to BW for Reporting (how are notes handles)? Is data moved to separate system?
Hi David,
I would leave your query
"Am I doing something wrong and did I miss something that would prevent this problem?"
to the experts/ gurus out here on this forum.
From my end, you can follow
TOP 10 EXCEL TIPS FOR SUCCESS
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204c3259-edb2-2b10-4a84-a754c9e1aea8
Please follow the Xcelsius Best Practices at
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a084a11c-6564-2b10-79ac-cc1eb3f017ac
In order to reduce the size of xlf and swf files follow
http://myxcelsius.com/2009/03/18/reduce-the-size-of-your-xlf-and-swf-files/
Hope this helps to certain extent.
Regards
Nikhil
Maybe you are looking for
-
Loaded dump from 12.5.4 to 15.7, Error 622 & Tables/Views not found
Hi all, I am getting desperate trying to fix that issue. I had to import a dump from an ASE 12.5.4 into a new database on an ASE 15.7. I therefore enabled the compatibility mode server-wide and then proceeded to the load which seems to have performed
-
I am trying to find the max value of two floating point numbers. Please see code. I am not sure why I get the error(symbol : method max (float,float)) do I have to call this in its own method? Thank you for the help, drumz. import java.awt.Graphics;
-
Related to recovery in Physical standby database in RAC
In Physical Standby database all instance involved in recovery processes or any one instance will be their in in recovery mode If is like this another instance will be for high availabily can any one in forum explain me it will be help full
-
hi, i am loading data from relation database to essbase /planning application/ through load rules files, as i am creating the rule file the amounts are displayed correctly with decimal separator. i load the data into application and the decimal separ
-
[solved] error building fluxbox from PKGBUILD
I should preface my post with this note: this is the first time I've run abs, so I may be doing something wrong. After running abs, I went into extra/x11/fluxbox and ran makepkg --asroot It ran through the configure script, but when it started to co