ALV with colored cell exporting to Excel
Hi all,
I have an ALV-Table in my webdynpro appliation. There are some dropdownbykey fields in the alv and some cells are colored.
After export to excel the colored cells are no more colored.
Is there a possibility to export the color too.
Best regards
Marcus
Have you found a solution to this issue? I am searching for the same.
Similar Messages
-
Header of ALV with space when exported to excel using Standard ALV
Hi,
I am Using Reuse alv grid display to dispaly my report and it works fine and I am using the standard SAP application tool to export it to excel.
But for some of the header fields I am getting space in the excel sheet but there is no space while displaying through ALV.
I am using the following field catalog for the same.
wa_fieldcat-col_pos = 10.
wa_fieldcat-fieldname = 'SOLLWERT'.
wa_fieldcat-seltext_l = 'text-t10'. "Target value (* this has no space here)
wa_fieldcat-outputlen = 32.
wa_fieldcat-colwidth_optimize = 'X'.
APPEND wa_fieldcat to it_fieldcat.
but there are still space for this Colomn when exported to excel if after optimizing the column.
kindly suggest what field needs to be passed to the field catalogoe to avoid spaces in excel for the header.
Thanks
Riteshhey all,
Thanks everyone for the reply.
I am using the foloowing field cat:
l_col_pos = l_col_pos + 1.
wa_fieldcat-col_pos = l_col_pos.
wa_fieldcat-outputlen = 32.
wa_fieldcat-fieldname = 'SOLLWERT'.
wa_fieldcat-inttype = 'P'.
* wa_fieldcat-tabname = 'i_final'.
wa_fieldcat-seltext_l = text-t11. "Target Value
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
I have use this also in the field cat but stil i get space in the excel header.
wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
* wa_fieldcat-REF_TABNAME = 'QAMV'.
Also the space comes with the descrip[tion in the cell of excel.
its like [space Target Value] and i dont need this Space.
I have also used wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
Please suggest -
Inner table output to Excel with colored cells?
Hi!
I would like to output my inner table into Excel ducoment.
And it is important to have Excel document with colored cells.
I have searched for this solution, but could not find...
Any help will be awarded!
Kind regards, M.Hi,
You can use function module "XXL_SIMPLE_API"
or alternatively use "XXL_FULL_API".
On the import, parameter name "N_KEY_COLS" is used to colour fields. The headings are automatically coloured. 1 is the default value.
This reply is nearly 1 year after the last post
Regards,
Daniel -
How to synchronize a cell in form with a cell in MS excel sheet
dear all
I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , i need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
please helpDear all
I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , I need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
I searched the web several times . Some people adviced me to use "Apache-jakarta-poi" . It is a pure java code. But my knoledge in java is limited.I asked on Oracle forums -
how to synchronize a cell in form with a cell in MS excel sheet - but no one can help
I tried the oracle forms demo "OLEEXCEL.fmb" . But this form is not working correct .
I need to embed ole2 in my form that holds excel sheet and passes values from text items to the excel sheet.
My last try is that I did the following :
1- in the main canvas i insert the OLE2 control
2- Right Click and choose insert
3- from the dialog i chosed Excel Sheet
4- I placed a button on my canvas then i on the button I write this code
declare
worksheet ole2.obj_type;
cell ole2.obj_type;
args ole2.list_type;
begin
forms_ole2.activate_server('block1.excel_sheet');
worksheet := forms_ole2.get_interface_pointer('block1.excel');
args := ole2.create_arglist;
ole2.add_arg(args,1) -- column1
ole2.add_arg(args,1) -- cell1
cell := ole2.invoke_obj(worksheet,'cell',args);
ole2.destroy_arglist(args);
ole2.set_property('cell','value',:text1);
ole2.release_obj(cell);
ole2.release_obj(worksheet);
end;
I get this error ora-305500
and when i debug , the code stop in this line : cell := ole2.invoke_obj(worksheet,'cell',args);
please help -
Problem with coloring cells in dynamic fieldcatalog
Hi All,
I am trying to color cells based on the values in the cells. Here we are using dynamic fieldcatalog and internal table to build the ALV grid.I am getting problem in adding a field to the fieldcatlog which is of type lvc_t_scol. This Part of the code is used to build fieldcatlog dynamically.
DEFINE add_cat.
add 1 to lv_count1.
lwa_fldcat-col_pos = lv_count1.
lwa_fldcat-fieldname = &1 .
lwa_fldcat-reptext = &2.
lwa_fldcat-inttype = &3.
lwa_fldcat-intlen = &4.
append lwa_fldcat to lt_fldcat .
END-OF-DEFINITION.
*Add Columns to the fieldcatalog
add_cat c_proj 'Project' 'C' '30'.
add_cat c_cust 'Customer' 'C' '30'.
lwa_fldcat-col_pos = 12.
lwa_fldcat-fieldname = 'cellcolor' .
lwa_fldcat-reptext = 'cell color'.
<b> lwa_fldcat-inttype = 'lvc_t_scol'.</b>
append lwa_fldcat to lt_fldcat .
Here i want to assign internal table(lvc_t_scol) to the fieldcatalog as a field.But lwa_fldcat-inttype is of size 1 which will take one char. Is there any way that we can assign field of type internal table to the field catalog. Becoz of this i am unable to color cells in my ALV grid.
ThanksIt is not possible with the METHOD cl_alv_table_create=>create_dynamic_table to include another table inside that newly generated table.
I have tried to do it with the code and I got the dynamic table created after at the end of the program.
In the code,
<DYN_TABLE> has same effect as your <table> variable
<DYN_WA> has same effect as your <HEADER>
REPORT ZTEST_NP_DYNAMIC.
DATA: DY_TABLE TYPE REF TO DATA,
DY_LINE TYPE REF TO DATA.
FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
<DYN_WA>,
<DYN_FIELD>.
FIELD-SYMBOLS: <FS> TYPE ANY.
* To generate the Dyanmic table with the COLOR
DATA: LS_SOURCE TYPE STRING.
DATA: LT_SOURCE LIKE STANDARD TABLE OF LS_SOURCE WITH HEADER LINE.
DATA: L_NAME LIKE SY-REPID.
DATA: L_MESSAGE(240) TYPE C,
L_LINE TYPE I,
L_WORD(72) TYPE C.
DATA: L_FORM(30) TYPE C VALUE 'TABLE_CREATE'.
LT_SOURCE = 'REPORT ZTEST_SUBROUTINE_POOL.'.
APPEND LT_SOURCE.
LT_SOURCE = 'FORM TABLE_CREATE USING I_FS TYPE ANY.'.
APPEND LT_SOURCE.
LT_SOURCE = 'DATA: BEGIN OF LT_GENTAB OCCURS 0.'.
APPEND LT_SOURCE.
LT_SOURCE = 'DATA: BUKRS TYPE BUKRS. '.
APPEND LT_SOURCE.
LT_SOURCE = 'DATA: BKTXT TYPE BKTXT. '.
APPEND LT_SOURCE.
* you can add your fields here.....
LT_SOURCE = 'DATA: COLOR TYPE lvc_t_scol. '. " <<
APPEND LT_SOURCE.
LT_SOURCE = 'DATA: END OF LT_GENTAB.'.
APPEND LT_SOURCE.
LT_SOURCE = 'DATA: POINTER TYPE REF TO DATA.'.
APPEND LT_SOURCE.
LT_SOURCE = 'CREATE DATA POINTER LIKE STANDARD TABLE OF LT_GENTAB.'.
APPEND LT_SOURCE.
LT_SOURCE = 'I_FS = POINTER.'.
APPEND LT_SOURCE.
LT_SOURCE = 'ENDFORM. '.
APPEND LT_SOURCE.
L_NAME = 'ZTEST_SUBROUTINE_POOL'.
CATCH SYSTEM-EXCEPTIONS GENERATE_SUBPOOL_DIR_FULL = 9.
GENERATE SUBROUTINE POOL LT_SOURCE NAME L_NAME
MESSAGE L_MESSAGE LINE L_LINE WORD L_WORD. "#EC CI_GENERATE
ENDCATCH.
IF NOT L_MESSAGE IS INITIAL.
MESSAGE E000(0K) WITH L_MESSAGE L_LINE L_WORD.
ENDIF.
ASSIGN DY_TABLE TO <FS>.
PERFORM (L_FORM) IN PROGRAM (L_NAME) USING <FS>.
ASSIGN DY_TABLE->* TO <DYN_TABLE>.
* Create dynamic work area and assign to FS
CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
ASSIGN DY_LINE->* TO <DYN_WA>.
Write: 'bye'.
Regards,
Naimesh Patel -
Timeout when using ALV build-in functionality: exporting to Excel
Hello,
I have the following problem within one of my web dynpro abap applications:
I need to be able to display data in a table that preferably should be via alv component.
Then I shall also be able to download the displayed data via Excel.
So I have embedded the ALV component I added to the component within a view and activated the export to excel button.
Downloading small amount of data does no lead to any problem, but when trying to process a larger amount of data (in this case 22500 entries), I get a timeout.
Does anybody have any idea if it is possible to increase performance here without reducing the amount of data to be downloaded?
thanks a lot ion advance!
AnaHello,
coming back to the UI element download.
I managed to get the data being saved to the desktop, but unfortunately, the data remains being displayed as in chines letters.
Anybody got an idea, what parameters I might have set wrong? Or if I have to do an additional encoding before generating the XString?
Here is the supply method code and the parameters I have set in the UI element:
The Supply method
method GEN_EXCEL_DOWNLOAD_DATA .
data: wa_cmx_line type zksb_cmxshowline.
data: lt_excel type zksb_cmx_excel_download_t.
data: wa_excel type zksb_cmx_excel_download.
data: l_guid type guid_32.
data: l_url type string.
* read context-------------------------------------------------------------------------------------
data lo_nd_z_ksb_get_prcm type ref to if_wd_context_node.
data lo_nd_exporting type ref to if_wd_context_node.
data lo_nd_rt_zksb_cmx_show type ref to if_wd_context_node.
data lo_el_rt_zksb_cmx_show type ref to if_wd_context_element.
data lt_rt_zksb_cmx_show type table of wd_this->element_rt_zksb_cmx_show.
data wa_rt_zksb_cmx_show like line of lt_rt_zksb_cmx_show.
* navigate from <CONTEXT> to <Z_KSB_GET_PRCM> via lead selection
lo_nd_z_ksb_get_prcm = wd_context->get_child_node( name = wd_this->wdctx_z_ksb_get_prcm ).
* navigate from <Z_KSB_GET_PRCM> to <EXPORTING> via lead selection
lo_nd_exporting = lo_nd_z_ksb_get_prcm->get_child_node( name = wd_this->wdctx_exporting ).
* navigate from <EXPORTING> to <RT_ZKSB_CMX_SHOW> via lead selection
lo_nd_rt_zksb_cmx_show = lo_nd_exporting->get_child_node( name = wd_this->wdctx_rt_zksb_cmx_show ).
* @TODO handle not set lead selection
if lo_nd_rt_zksb_cmx_show is initial.
endif.
* get static attributes table
lo_nd_rt_zksb_cmx_show->get_static_attributes_table( importing table = lt_rt_zksb_cmx_show ).
* reduce data to only the data that shall be displayed----------------------------------------
loop at lt_rt_zksb_cmx_show into wa_rt_zksb_cmx_show.
move-corresponding wa_rt_zksb_cmx_show to wa_excel.
append wa_excel to lt_excel.
endloop.
* populate data as tab separated strings-----------------------------------------------------
data l_str type string.
data lv_struct type extdfiest.
data itab type ref to zksb_cmx_excel_download_t.
data r_xstring type xstring.
data s(256) type c.
field-symbols <wa_desc> like line of lv_struct.
field-symbols: <tab> type table.
field-symbols: <wa> type any.
field-symbols: <f> type any.
* populate the column headers----------------------
get reference of lt_excel into itab.
* assign lt_excel to <tab>.
assign itab->* to <tab>.
lv_struct = wd_this->get_table_structure( itab = itab ).
loop at lv_struct assigning <wa_desc>.
concatenate wa_cmx_line
<wa_desc>-coltitle
cl_abap_char_utilities=>horizontal_tab
into wa_cmx_line.
endloop.
concatenate wa_cmx_line
cl_abap_char_utilities=>cr_lf
into wa_cmx_line.
* loop through the data table-----------------------
loop at <tab> assigning <wa>.
loop at lv_struct assigning <wa_desc>.
assign component sy-tabix of structure <wa> to <f>.
check sy-subrc = 0.
if <wa_desc> is assigned and <wa_desc>-convexit is not initial.
* Process any output conversion routines
concatenate 'CONVERSION_EXIT_' <wa_desc>-convexit '_OUTPUT' into wa_cmx_line.
call function wa_cmx_line
exporting
input = <f>
importing
output = s.
else.
concatenate wa_cmx_line
<f>
cl_abap_char_utilities=>horizontal_tab
into wa_cmx_line.
endif.
endloop.
concatenate wa_cmx_line
cl_abap_char_utilities=>cr_lf
into wa_cmx_line.
endloop.
*Convert the strings to Binary strings (UTF-16le)------------------------------------------------
call function 'SCMS_STRING_TO_XSTRING'
exporting
text = wa_cmx_line
mimetype = ''
importing
buffer = r_xstring.
*Add the UTF-16 Little Endian Byte Order Mark to the begining of the file
concatenate cl_abap_char_utilities=>byte_order_mark_little
r_xstring
into r_xstring in byte mode.
* set context
DATA lo_nd_excel_download TYPE REF TO if_wd_context_node.
DATA lo_el_excel_download TYPE REF TO if_wd_context_element.
DATA ls_excel_download TYPE wd_this->element_excel_download.
DATA lv_excel_download_data LIKE ls_excel_download-excel_download_data.
* navigate from <CONTEXT> to <EXCEL_DOWNLOAD> via lead selection
lo_nd_excel_download = wd_context->get_child_node( name = wd_this->wdctx_excel_download ).
* get element via lead selection
lo_el_excel_download = lo_nd_excel_download->get_element( ).
* set single attribute
lo_el_excel_download->set_attribute( name = `EXCEL_DOWNLOAD_DATA` value = r_xstring ).
endmethod.
and the parameters to the UI are as follows
behaviour: allowSave
data: <data that was created by supply method>
fileName: CMX.xls also tried CMX.cvs
mime-type: ms-excel also tried /vnd.ms-excel
text: $OTR:SOTR_VOCABULARY_BASIC/DOWNLOAD
textDirection: inherit
type: navigation
visible: Visible
Any suggestion of what I might have to change would be great!
Tx
Ana -
Export ALV with the current layout to excel via selection screen
Hello,
I want to export my ALV table with my default layout, but from the selection screen. In other words i want the function "List ->export -> spreadsheet" to be done via the selection screen when the user push the "run" button.
Is that possible ?
Thx in advance.Hi,
Provide a Check box or radio button in the Selection Screen.
Then if it is marked then download the content of the internla table into an Excel using the below code.
types : begin of header,
head(30) type C,
end of header.
data : t_header type table of header,
wa_header type header.
wa_header = 'Purchase order'.
append wa_header to t_header.
wa_header = 'Company Code'.
append wa_header to t_header.
(Like this u can add the header names according to the download layout ).
DATA: l_filename TYPE string,
l_filen TYPE string,
l_path TYPE string,
l_fullpath TYPE string,
l_usr_act TYPE I.
l_filename = SPACE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
EXPORTING
DEFAULT_FILE_NAME = l_filename
CHANGING
FILENAME = l_filen
PATH = l_path
FULLPATH = l_fullpath
USER_ACTION = l_usr_act
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4.
IF sy-subrc = 0
AND l_usr_act <>
CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = l_fullpath
FILETYPE = 'DAT'
TABLES
DATA_TAB = T_DOWNL
FIELDNAMES = T_header
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Edited by: Sumodh P on Apr 20, 2010 10:09 AM -
Issue with SSRS Report Exporting to Excel and word
Hi,
When report is exporting in word and Excel getting format issue, but same report export with pdf there is no issue.
Regards,
AfrozYou need to be always careful when export format is Word and specially Excel. Sometimes report result looks good in Report Viewer and PDF too, but it may not in MS Word and MS Excel.
You need to understand Word and Excel limitations and align all the data regions (Tablix, Rectangles, Texboxes) in correct way.
Also, you may post the actual formatting issue that you get. (With screenshot if possible)
Please read Limitation section in below:
Exporting to Microsoft Word
Exporting to Microsoft Excel
Refer:
Ten Common SQL Server Reporting Services Challenges and Solutions
-Vaibhav Chaudhari -
Problem with comments when exporting to Excel
Hi:
When opening an exported Numbers file in excel it is showing all the comments opened in fornt of the chart. They can't be closed, have to be deleted one by one.
Please take a look at this image: http://gallery.me.com/robbyralston#100124&view=grid&bgcolor=black&sel=0
Any one knows how to avoid this issue?
Thanks for any help.Hello Barry.
You just did what I wrote yesterdays:
So, I don't know what we may do for you except tell you to *_hide comments before exporting._*
In such case, as you saw, the imported document display the flags showing which cells are commented but the comments aren't displayed.
Numbers offer a menu item to hide every comments in a single call.
Office doesn't.
Yvan KOENIG (VALLAURIS, France) lundi 8 novembre 2010 09:25:37 -
Error with Crystal 2008 Exporting MS Excel using ReportExportFormat.MSExcel
Hi
</br>
</br>
I am using the sample code that comes with the Eclipse plug-in. I have modified it slightly to also write to different formats and then display in the viewer. I am able to write to all formats except to the MSExcel (MSExcel data only works without issue)
</br>
</br>
<p>
I am using the following code (this is just proof of concept code)</br>
//jtds connection and database logon setup already</br>
//report parameters etc setup already</br>
try</br>
{</br>
String file_name = reportClientDocument.displayName() + System.currentTimeMillis();</br>
file_name = file_name + ".xls";</br>
String location = "c:
temp
";</br>
FileOutputStream fos = new FileOutputStream(location + file_name);</br>
</br>
ByteArrayInputStream byteArrayInputStream;</br>
</br>
byteArrayInputStream = (ByteArrayInputStream) reportClientDocument</br>
.getPrintOutputController().export(ReportExportFormat.MSExcel);</br>
</br>
byte[] byteArray = new byte[1024];</br>
int bytesRead;</br>
while((bytesRead = byteArrayInputStream.read(byteArray)) != -1) </br>
{</br>
fos.write(byteArray, 0, bytesRead); </br>
}</br>
</br>
fos.flush();</br>
fos.close();</br>
setReportSource ();</br>
}</br>
</p>
</br>
<p>
Console/Error Output:
Crystal Reports Viewer 12.0.0.0
java.vendor = Sun Microsystems Inc.
java.version = 1.5.0
os.name = Windows XP
os.version = 5.1
os.arch = x86
log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.formatter.formatter.lightmodel.cellmodel.FCMCellModel).
log4j:WARN Please initialize the log4j system properly.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: IllegalArgumentExceptionWithMessage---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
at com.businessobjects.samples.SampleViewerFrame.showReport(SampleViewerFrame.java:145)
at com.businessobjects.samples.SampleViewerFrame.showViewer(SampleViewerFrame.java:98)
at com.businessobjects.samples.SampleViewerFrameClient.main(SampleViewerFrameClient.java:17)
Caused by: com.crystaldecisions.reports.common.GeneralException: IllegalArgumentExceptionWithMessage
at com.crystaldecisions.reports.exporters.excel.libs.escher.p.<init>(SourceFile:149)
at com.crystaldecisions.reports.exporters.excel.libs.escher.BlipChecksumGenerator.a(SourceFile:47)
at com.crystaldecisions.reports.exporters.excel.libs.escher.ad.a(SourceFile:93)
at com.crystaldecisions.reports.exporters.excel.libs.escher.af.a(SourceFile:186)
at com.crystaldecisions.reports.exporters.excel.libs.escher.EscherDocumentForExcel.a(SourceFile:119)
at com.crystaldecisions.reports.exporters.excel.libs.escher.EscherDrawingSheetForExcel.a(SourceFile:283)
at com.crystaldecisions.reports.exporters.excel.libs.biff.xlsDOM.ExcelWorksheet.a(SourceFile:251)
at com.crystaldecisions.reports.exporters.excel.formatter.cm.ExcelCMGraphicsObjectFormatter.a(SourceFile:167)
at com.crystaldecisions.reports.exporters.excel.formatter.Excel97ExportFormatter.a(SourceFile:193)
at com.crystaldecisions.reports.exporters.excel.formatter.Excel97ExportFormatter.a(SourceFile:169)
at com.crystaldecisions.reports.exporters.excel.formatter.Excel97ExportFormatter.a(SourceFile:110)
at com.crystaldecisions.reports.exporters.excel.Excel97Exporter.processFormattedContent(SourceFile:213)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:104)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)
... 6 more
Any help will be greatly appreciated, this seems as if its a bug though.
</p>
Edited by: Kabir Bray on Nov 2, 2010 4:26 PMI know this has been marked as answered, but I would just like to mention when designing reports for Excel output, the key thing
to remember is the design and layout of your report. You have to work on a strict grid layout concept, and make sure all items are
lined up 100% else columns or rows are inserted in strange places, making the output look very ugly. But if you can line everything
up nicely then I believe any report that can be displayed in Excel.
Keeping in mind that if the report is to be output as Excel the whole design and logic must be geared for this, so page headers
and footers are no longer relevant, in fact the whole "page" concept must be ignored when working with Excel as there are
no pages in a spreadsheet application like Excel.
That all being said, I dont know what your reports are about and am not saying they are not too complex for Excel,
just wanted to make a note so that people dont think Excel output using CR4E is a bad option. -
Importing tables with linked cell data from excel to indesign
Hey,
I'm designing a catalog and have been linking the tables in InDesign from a spreadsheet in excel. In my spreadsheet, I am linking cells from a master sheet to another sheet so that I when I update the information on one sheet, it will update throughout the spreadsheet.
Now that I have the linked cells set up in my spreadsheet, I've inputed the tables into InDesign but: the table cells in InDesign containing linked cells from within the spreadsheet do not appear.
I've gone through all the import table options in InDesign and cannot find a way to make it work.
Does anyone have an answer or input?
Thanks,
KTWhen we are updating the excel sheet it automatically updates the link in InDesign and it's continually changing. Does CSV break the links in excel or does it keep them and allows InDesign to read the linked cells as well?
Thanks for your response! -
Hello,
Does anyone know how I can change the color of a row in ALV? Like the zebra from in standard R/3.
thanks,
VishalHi,
see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b6/b7bc68306049bd8500362ce52b6def/frameset.htm">here</a> (alternating)
Regards, Heidi -
Hi all,
I have a requirement to print an ALV grid display exactly in the same format as we see in output. That is, if the cells are merged in ALV then in Print also they should come as merged.
But when I am printing the ALV output it does not give merged cells. I am using OO ALV.
Is my requirement feasible. If yes, Please help me to proceed?
Thanks,
DayaHi Daya,
In the ALV grid control print or print preview, cells that have identical content are not merged. This is necessary in order to be able to distinguish between blank cells and cells that only become blank after merging. The standard behaviour for the different ALV lists is described in Note 447055.
Regards,
Md Ziauddin -
Using Change Layout Tab on ALV to Export to Excel
Hi Forms!
I have an ALV grid that I export to excel to allow users to manipulate the data exported further.
i do this by clicking change layout -> View -> 'Microsoft Excel' -> click on the template you want to use and click the check mark to export.
My problem is I have a header on the ALV that display's the user selection screen options... all my data shows in excel correctly except that my selection screen header which I would expect in the 'Raw Header' Tab in excel.
If I export to excel using excel export button the header shows up, however this does not help as we like using the pivot table setup from the change layout option.
thank you,
Here is my code for producing the header...
ATA: lo_header TYPE REF TO cl_salv_form_layout_grid,
lo_h_label TYPE REF TO cl_salv_form_label,
lo_h_flow TYPE REF TO cl_salv_form_layout_flow,
lv_i TYPE i,
lv_mtart LIKE LINE OF s_mtart,
lv_auart LIKE LINE OF s_auart,
lv_bkbez LIKE LINE OF s_bkbez,
lv_lines TYPE i.
* header object
CREATE OBJECT lo_header.
lo_header->set_column_count( 10 ).
lo_h_label = lo_header->create_label( row = 1 column = 1 ).
lo_h_label->set_text( 'Selection Screen Values' ).
* information in tabular format
CONCATENATE 'Dates: ' s_date-low ' ' ' to ' s_date-high ' ' INTO l_text RESPECTING BLANKS.
lo_h_flow = lo_header->create_flow( row = 2 column = 1 ).
lo_h_flow->create_text( text = l_text ).
CONCATENATE 'Plant: ' p_werks ' ' INTO l_text RESPECTING BLANKS.
lo_h_flow = lo_header->create_flow( row = 3 column = 1 ).
lo_h_flow->create_text( text = l_text ).
CONCATENATE 'Costing Variant: ' p_klvar INTO l_text RESPECTING BLANKS.
lo_h_flow = lo_header->create_flow( row = 4 column = 1 ).
lo_h_flow->create_text( text = l_text ).
CONCATENATE 'Costing Version: ' p_tvers INTO l_text RESPECTING BLANKS.
lo_h_flow = lo_header->create_flow( row = 5 column = 1 ).
lo_h_flow->create_text( text = l_text ).
*there can be 1 or many Material Types need to check
DESCRIBE TABLE s_mtart LINES lv_i.
IF lv_i > 1.
lv_lines = 1.
CONCATENATE 'Material Type(s): ' s_mtart-low INTO l_text RESPECTING BLANKS.
lo_h_flow = lo_header->create_flow( row = 6 column = lv_lines ).
lo_h_flow->create_text( text = l_text ).
LOOP AT s_mtart INTO lv_mtart .
IF lv_lines > 1.
lo_h_flow = lo_header->create_flow( row = 6 column = lv_lines ).
lo_h_flow->create_text( text = lv_mtart-low ).
ENDIF.
lv_lines = lv_lines + 1.
ENDLOOP.
ELSE.
CONCATENATE 'Material Type(s): ' s_mtart-low INTO l_text RESPECTING BLANKS.
lo_h_flow = lo_header->create_flow( row = 6 column = 1 ).
lo_h_flow->create_text( text = l_text ).
ENDIF.
* set the top of list using the header for Online.
cr_content = lo_header.Hello Re_flex....thanks again but I am missing a step here as I was able to hide the column by right-clicking but when I click on the layout there is no layout that I can select. Do you know if these layouts are set in config or not as my layout setting displays 'X' user specific or 'A' ALL but when I select these nothing is displays and when I save I get a message back 'No selection'
-
Longer running export to Excel after BW7.3 upgrade & HANA migration
Experts -- I'm curious if anyone has encountered issues with longer running exports to excel from Web Analyzer after they upgraded to BW 7.3 and/or migrated to BW HANA?
We have encountered a very elusive issue with our users running into this issue where the export either hangs or returns a series of error messages. OSS has not been of help as the issue is unable to be consistently reproduced.
If you have any thoughts or ideas please feel free to contribute.
Thanks
JustinHey Sebastien - Thank you for the response. I work with Justin and can provide the additional information here:
By export what we mean is that users running BEx reports from our web portal are clicking on the 'Export to Excel' button and it is taking an extremely long time. This is happening even when the report result set is relatively small. We never had any issue prior to the upgrade.
There have been a few error messages reported, but this "Open Dialog" error is the most frequent.
We are very familiar with the 500,000 cell limit and these error are taking place on report output well below that limitation.
These reports do not use hierarchies.
Prior to 7.3 we were using 7.0 EP1 SP7
We appreciate any help or suggestions.
Thank you
Maybe you are looking for
-
A few weeks ago we were pitched a holiday deal to renew/upgrade for 2 years. This sounded like good value (upgraded equipment, new premium channels, etc), so we went for it. Unfortunately, we've had nothing but issues since. The main room STB (server
-
This is not a PC/PWX problem, but a mainframe security problem. TIDSS01.POS.IBD.DR0100.DAT is not a GDG file name.It might be the base for a GDG. A GDG file name would look something like eitherTIDSS01.POS.IBD.DR0100.DAT(+1)orTIDSS01.POS.IBD.DR0100.D
-
How do I create multiple contact groups in the iphone?
I am syncing w/ Windows Contacts in Vista. Is it possible to create multiple groups of contacts? For example - a group for friends and family, another group for customers, etc...
-
Condition type for Opportunity
Hi all, My client requirement is to calculate net value of the product automatically. and condition tab is deactivated in the opportunity. any one suggest to how can i activate the condition tab. and condition for an opportunity regards sat
-
Does SCCM 2007 R3 support SQL 2014 if not is there any mitigation plan for this
Hi , As part of Database migration to SQL 2014, wanted to check whether SCCM 2007 R3 support SQL 2014 or not. I have a link for SCCM 2012 which tells it does support to SCCM 2012, but in upgrade mode. Is there any other approch instead of upgrade on