Reports - output to Excel - does not format the "Broken by" rows correctly
Choosing the "break by" column clause while building one of the
wizard based reports works great when you are displaying the
reports in the default HTML mode.
So, my query actually returns a denormalized return set with
multiple rows containing the same fields on certain columns.
This works great with the default format, since the repeated
fields/rows are nulled and I get a neat report.
However, the same thing, if I choose to output in excel, I get
the original denormalized output into the excel document instead
of the null fields for the duplicate fields/columns
It looks like it sends the result set directly to the excel
before allowing the Report UI formatting to take effect. This
is a big issue for us, since we promised the client that we
could get them excel outputs easily, when it does not really
work the way you would expect it.
Any suggestions ??
regards
-Ananth
Ananth,
Presently, this is not supported. It is targeted for some future
release. This is a known bug. If you want the bug number then
mail me as it can not be posted here (It is unpublished bug).
Thanx,
Chetan.
Similar Messages
-
Report Generation for Excel does not work after using the Application Builder
I have a VI that writes data to an Excel file using the Report Generation Toolkit. I recently compiled the VI into a single Application (EXE) using the Application Builder. My VI runs its tests properly, but no data is written to Excel. What could be the cause? I don't receive any error messages.
Hi
I usually build exe-files, which sometimes also have report functionality.
Open the Application Builder and check the following things:
1. Add the following vis: _Word Dynamic VIs.vi, _Excel Dynamic VIs.vi They should be located in the directory ..\LabVIEW X.X\vi.lib\addons\_office in the llbs _wordsub.llb and _exclsub.llb (report1.jpg)
2. If you use an Installer, go to the Advanced Settings. There you can select some things to include in the Installer. Check if "NI Reports Support" is selected. (report2.jpg)
These are the things I always do, if I need reports and I never had problems up to now. I made two screen-shots of these settings.
Hope this helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
report.zip 25 KB -
ExcuteQuery does not return the newly inserted row in the database
Jdeveloper Studio Edition Version 11.1.1.4.0
I have a use case where i insert a row in the database (without commit) and re-query the iterator to see the data in the jsf page. This was working file till we were using a directly the data control. Now our data control is inside a primary data control and it has stopped working. We don't see the inserted record in the page. Just to add that we are creating both the master and the detail record using the database procedure. Please helps us with a workaround or a solution and i have attached the code for reference.
public void createSCAgr(ActionEvent actionEvent) {
BindingContainer bindings = getBindings();
OperationBinding operationBindingSC = bindings.getOperationBinding("createAgreement"); // this is calling a procedure to create record in the both master and detail table
Object resultSC = operationBindingSC.execute();
DCIteratorBinding iterator2 = ADFUtils.findIterator("PadForAgr1Iterator");
iterator2.executeQuery(); // re-query the master record
DCIteratorBinding iterator1 = ADFUtils.findIterator("FinForAgr1Iterator");
iterator1.executeQuery(); // requery thedetail record
best regards
Sanjay ChatterjiHi Timo,
Yes, I mean root application as the direct data control.
This has been working earlier and the difficult part is that it is still working fine for two of the screens. The screen in which it works are those which does not have master detail relationship in them.
We are using PL/SQL to create the new row as it involves using many database functions / packages to populate the base data for the freshly created row. which we use to get to the screen for further changes and commit.
We have been using this way for log time and it worked fine.
Sanjay Chatterji
Message was edited by: SChatterji -
Boot camp does not format the partition for Windows 7
I recently purchased a copy of windows 7. This is the full version. I downloaded the drivers to a usb drive then placed the windows 7 disk in my apple optical drive to partition to disk. After portioning the iMac restarts and gives the a blank screen with _ blinking. It seems as though the windows partition has not been formatted. I cannot enter a dos command such as format or anything else. If I start up the mac again with the windows 7 disk in the optical drive I will be prompted to insert a bootable disk. I understand that after the partitioning takes place that bootcamp should start the installation process. By the way after working on this for quite a long time I decided it might be the copy of windows so I returned it and got another. Same resuts. I hope someone can help.
ThanksRead the instructions and it is pretty clear that you format to NTFS where you see the BOOTCAMP partition.
All the articles and how to are here:
http://www.apple.com/support/bootcamp
Boot Camp 101 -
I need some direction on fixing an issue with excel and lion x which has a compatibility issue - can't save my work to a hard drive.
If you made a backup before installing lion, now would be a good time to restore that backup.... Ok, well you can always boot into lion recovery menu.... shut down your mac, hold down the option key and restart your computer..... Select recovery from the disk startup menu and go to disk utility... select the OSX disk, you can try repairing your permissions and repairing the disk.... If you lucky enough, it will fix it.... If not, and you have a decent internet connection, click the reinstall LION OSX after exiting disk utility. Your mac will now REDOWNLOAD LION OSX and reinstall it.... did you happen to make a backup before?
Also, did your mac originally have Leopard? Just curious... Because LION is entirely 64bit now where as Snow leopard had support for 32 bit as well, but the problem may be that some of your older apps where 32 bit.... This is just a guess though I'm not sure.... Because I've had numerous problems and crashes with my CS 4 stuff and final cut pro 7 and aperature.... Not sure if it's totally related to the whole 64 bit thing, but the thing is that the crashes are only occuring on my 32 bit apps.... otherwise the computer runs great.... To remedy, I had previously made an OSX lion USB drive so that I could do a fresh install of LION. I backed up all my data and files, installed a new SSD and my Macbook is SCREAAAAAAMING fast.... Sorry about the gloating but I'm sure we'll get to the bottom of your problem.... -
ADF view, export excel does not export more than 65536 rows
as this is limitation of ms excel 2000, but not sure whether it is still limitation in using ADF view export excel feature.
in our table , there are more than 80k rows, when we click on export excel, it only get's 65536 rows
remaining rows are not exported.
please let us know if this is still open issue or fixed, also let us know which version if it is fixed.Hi,
Yo have to use custom library Ex: Apachi POI
See
Re: ADF table data export to Excel -
Download alv report output to excel format with out header line
Hi experts,
i want to download a alv report output into excel formatt with out the header line but it has to download including field description. as this output will fed into another transaction, the downloaded excel file should be with out header line.
fro eg:
Report : Zabc ABAP Development Page : 1
Run Date : 12/14/06 System: UD400
Run Time : 08:45:37
this header details should not be downloaded into the excel file.
could somebody help me please.
thanks
deepuhi jayanti,
thanks for your response.
i have delclared all the field types as character but still it is not downloading and it 's sy-subrc is 4... the code is as below.
*field names
lt_fieldnames-value = 'Material Number'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Plant'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Material Group'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Material Description'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'UOM'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Price Unit'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Material Type'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'X-Plant Status'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Valuation Class'.
APPEND lt_fieldnames.
lt_fieldnames-value = lw_avmng.
APPEND lt_fieldnames.
lt_fieldnames-value = lw_avntp.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Latest PO Qty'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Latest PO Cost'.
APPEND lt_fieldnames.
lt_fieldnames-value = 'PO Creation Date'.
APPEND lt_fieldnames.
lt_fieldnames-value = lw_fcaqt.
APPEND lt_fieldnames.
lt_fieldnames-value = 'Prev. Yr. Std. Cost'.
APPEND lt_fieldnames.
lt_fieldnames-value = lw_stcst.
APPEND lt_fieldnames.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
file_name = 'XLSHEET'
CREATE_PIVOT = 0
DATA_SHEET_NAME = ' '
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
TABLES
PIVOT_FIELD_TAB =
data_tab = t_output1
fieldnames = lt_fieldnames
EXCEPTIONS
file_not_exist = 1
filename_expected = 2
communication_error = 3
ole_object_method_error = 4
ole_object_property_error = 5
invalid_pivot_fields = 6
download_problem = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE e001 WITH 'Data could not be downloaded'.
ENDIF.
ENDFORM. " z_dwn_xl
thanks
deepu -
AddAnotherRow of Advanced Table, does not make the new row as current row
Hi OAF Gurus,
Requirement:
When user presses 'AddAnotherRow' button on OAAvancedTable, the new row that gets added should become the current row of the underlying VO of the table.
What’s happening:
When user presses 'AddAnotherRow' button on OAAvancedTable, the new row is not the current Row(VO’s previous current row retains its current status)
What I tried by far
APPROACH #1 - when create row
In VORowImpl - override create and set this new row as current
public void create(AttributeList attributeList)
try
super.create(attributeList);
// PSUDO CODE
am = this.getApplicationModule
vo = am.findViewObject("OAAdvancedTableVO1");
vo.setCurrentRow(this) // this should set the new row to current.
But VO's current row is still the old current row and not this new row.
APPROACH #2 - when insert Row
I thought that AddAnotherRow , internally must be doing a create() then an insert() row on the VO, so i overridden the insertRow(row) of the VO
public void insertRow(Row row)
super.insertRow(row);
this.setCurrentRow(row)
System.out.println("COMMENT insert called .............................................");
But this method is never called by the framework.
***Please help me make the newly created row on the OAAdvancedTable using 'AddAnotherRow' (out of the Box) , as the currentRow of the underlying VO***
Thanks
ChaitanyaThanks a lot Chris.
I have used your code and it works perfect.
Now I am not using the out-of-the-box AddAnotherRow, as it does not make the newly added Row as 'currentRow' of the VO
I have used the following code by Chris and it solves the issue.
1. Determine the number of already displayed rows on the table
OAAdvancedTableBean tableBean = (OAAdvancedTableBean) webBean.findChildRecursive(tableID);
int rowsDisplayed = tableBean.getNumberOfRowsDisplayed();
replace tableID with the actual value.
2. I have the following routine to create the row and set it as the current row.
OAViewObject viewObject = (OAViewObject) findViewObject(viewObjectName);
int rowCountInRange = viewObject.getRowCountInRange();
Row row = viewObject.createRow();
int insertIndex = rowCountInRange;
if (rowCountInRange == rowsDisplayed) {
insertIndex = rowCountInRange - 1;
viewObject.insertRowAtRangeIndex(insertIndex, row);
viewObject.setCurrentRow(row);
Thanks again all of you for help
Regards
Chaitanya -
Oracle reports output in excel format does not display the graphs
Oracle reports output in excel format does not display the graphs: "linked image cannot be displayed".
The output file in PDF format the graph is supported.Do you have any header and footer on your template?
If you have any header and footer then try to adjust it as of to display full page.
Thanks
Yasar -
Displaying the report output in excel format
Please help me in getting the report output in excel format.
thnksI ran into a BIG problem after passing from 6i rep server to 9i rep server.
On 6i rep server I used to set DESFORMAT='DELIMITED', and that produced reasonable tab-delimited output for reports that did not have group above (all the query groups were from left to right, not a single group having fields displayed above some other group). When deployed on rep server 9i, the same reports produced some unexplainable output: some of the rows were duplicated, but I couldn't figure out any rule.
So, the best thing to get the reports into something that fits in .xls would be to have the output in .xml, that may be imported in Excel. -
Hi Experts,
My requriement is I have to send a mail with report output in excel format as an attachment.
I wrote the below subroutine for building excel sheet but I am getting output in the single row. I am using version 4.6
Please help me regarding this. ASAP
FORM BUILD_XLS_DATA .
CONSTANTS: CON_CRET TYPE STRING VALUE '0D', "OK for non Unicode
CON_TAB TYPE STRING VALUE '09'. "OK for non Unicode
CONCATENATE 'Vendor' 'Country' 'Name'
INTO IATTACH SEPARATED BY CON_TAB.
CONCATENATE CON_CRET IATTACH INTO IATTACH.
APPEND IATTACH.
LOOP AT IT_lfa1.
CONCATENATE IT_lfa1-lifnr IT_lfa1-land1 IT_lfa1-name1 INTO IATTACH
SEPARATED BY CON_TAB.
CONCATENATE CON_CRET IATTACH INTO IATTACH.
APPEND IATTACH.
ENDLOOP.
ENDFORM. "build_xls_data
Thanx,
SudhaHi Sudha,
I am sending the standard format of sending a mail along with an attachment in .xls format.
Try this code.
form sendmail.
CLEAR GV_DELIMIT.
GV_DELIMIT = CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
TEMPREAD = LV_LNCNT1.
REFRESH OBJTXT.
CONCATENATE 'The no. of error records are : ' TEMPREAD
INTO OBJTXT-LINE.
APPEND OBJTXT.
CLEAR OBJPACK. REFRESH OBJPACK.
CONCATENATE C_CODE
C_CMMT
C_COMMENT1
INTO OBJTXT-LINE SEPARATED BY GV_DELIMIT.
APPEND OBJTXT.
LOOP AT IT_DATA INTO WA_DATA.
CONCATENATE WA_DATA-ZCODE
WA_DATA-ZCOMMENT
WA_DATA-ZREASON
INTO OBJTXT-LINE SEPARATED BY GV_DELIMIT.
APPEND OBJTXT.
ENDLOOP.
CLEAR GV_DELIMIT.
CLEAR OBJPACK. REFRESH OBJPACK.
CLEAR DOC_CHNG.
TAB_LINES = 0.
OBJHEAD = REJFILE. APPEND OBJHEAD.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-OBJ_NAME = REJFILE.
MOVE TEXT-006 TO
DOC_CHNG-OBJ_DESCR.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = 1. " 3.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
FOR ASCII TO BINARY OBJECT FUNCTION
TOTLINEXFER = 0.
TOTXFER = 0.
BINMAXLEN = 255.
REFRESH OBJBIN.
LV_CR = CL_ABAP_CHAR_UTILITIES=>CR_LF.
TGTMAXLEN = BINMAXLEN.
TGTLEN = 0.
LOOP AT OBJTXT FROM 2.
IF NOT OBJTXT-LINE CP 'The no. of records are '." AND
CONCATENATE OBJTXT-LINE LV_CR INTO BUFFER.
SRCOBJLEN = STRLEN( BUFFER ).
SRCOBJPTR = 0.
WHILE SRCOBJLEN > 0 .
XFERLEN = TGTMAXLEN - TGTLEN.
IF XFERLEN > SRCOBJLEN.
XFERLEN = SRCOBJLEN.
MOVE BUFFERSRCOBJPTR TO OBJBIN-LINETGTLEN.
TGTLEN = TGTLEN + SRCOBJLEN.
SRCOBJLEN = 0.
CLEAR BUFFER.
ELSE.
MOVE BUFFER+SRCOBJPTR(XFERLEN) TO
OBJBIN-LINE+TGTLEN(XFERLEN).
APPEND OBJBIN.
CLEAR OBJBIN-LINE.
TGTLEN = 0.
SRCOBJLEN = SRCOBJLEN - XFERLEN.
SRCOBJPTR = SRCOBJPTR + XFERLEN.
TOTLINEXFER = TOTLINEXFER + 1.
ENDIF.
TOTXFER = TOTXFER + XFERLEN.
ENDWHILE.
ENDIF.
ENDLOOP.
IF TGTLEN > 0.
APPEND OBJBIN.
TOTLINEXFER = TOTLINEXFER + 1.
ENDIF.
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TOTLINEXFER.
OBJPACK-DOC_TYPE = 'XLS'.
OBJPACK-OBJ_NAME = REJFILE.
OBJPACK-OBJ_DESCR = 'Rejected Entries File'.
OBJPACK-DOC_SIZE = TOTXFER.
APPEND OBJPACK.
REFRESH RECLIST.
MAIL1 = Recepient Mail Id
RECLIST-RECEIVER = MAIL1.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T -
Xml report output in excel format without using options tab in EBS
How to get xml publisher report output in excel format without using options tab in EBS?
I am getting XML Publisher report output in excel format by using options tab while submitting the concurrent request .
But i want to get excel output automatically.
Can anyone give idea to get XML publisher Report output in excel without selecting options tab.
Thanks in advance
Sandeep VHey Sandeep,
I am working on a similar format for a report and if possible can you please give me some guidelines. I have initially created reports using XML Publisher, but for those , the output preview format was PDF. So, if I select the preview format as EXCEL will it give me output in Excel and for this to happen, how do I define the rtf template. I believe the working will be same as for PDF, create a rdf report, get output in XML and apply the template to get the data in Excel or there is something different to this.
Thanks,
Sunil -
I have installed a new drive on my mac book and more ram but the snow leopard install asks which to install the system on but then does not show the drive.
do I have to partition it and name it first. -- if so just one partition?Do this:
Drive Preparation
1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu.
2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
When formatting has completed quit DU and return to the installer. Complete the OS X installation. -
Problem when dowloading the ALV report output to Excel Sheet.
Hi ,
I am dowloading the ALV report output to Excel Sheet.
There is field Condition Unit(KOMP-KMEIN) in the output of the ALV, this has values PC and CSE , but when I download to Excel Sheet, CSE is appearing as CSE ,but PC is appearing as ******.
Can you please help me in knowing the reson for this.
Regards,
Madhu.hi
refer to following link
http://www.****************/Tutorials/ALV/ColorSALV/Demo.htm
http://www.sap-img.com/abap/download-to-excel-with-format-border-color-cell-etc.htm
Cheers
Snehi
Edited by: snehi chouhan on Jul 11, 2008 12:42 PM -
Crystal Report does not show the webelement for SAP System
Hi all,
I have added web element in Crystal report for SAP system (BI or R/3) . But it does not show the control. It shows only scipt.It does not render the HTML.
But if I add the webelement for Excel sheet ,It shows the control.
How can I add web element for SAP System? Can't we use web controls in SAP system ?
Help me in this regard.
Regards
Hemalatha JHi,
We have the same problem, did you find the final solution?
Thanks in advance
Regards.
Maybe you are looking for
-
Ipod touch recognized as a Camera!
I am using windows XP, have the latest software installed. When i plug in my ipod, it says it's a camera. I have disabled the message that pops up. It is not recognized by itunes. Or is there a way to get around the part where it asks me to plug in t
-
I have one computer with the cloud. One computer with the whole suite. When I try to open a document on my computer with the suite that I had previously saved from my computer with the cloud - I receive an error message. Why is this happening and how
-
Creating a background fill in a text box
Hi there, I am using CS4 and want to make text boxes with backgroud (e.g., white). I know I can add a white box but is there a easier way? Thanks!
-
i keep getting prompted to shut down acrobat reader before i can run the update, but acrobat reader is not open, just the update dialog box
-
Hi, We are running Essbase version 11.1.1.2 and Smartview 11.1.1.2 (Build 122). I have some users that would like to load some data via Excel into an ASO cube. I am aware this would be slower than using BSO. I have tried both HSSETVALUE and the ad-ho