Export to excel file problem

When I export my Crystal report to excel file (97-2000)
it does not show the Boxes and lines in excel file.
I am using CR 11 and MS Office 2003
please guide me how to solve this problem
Edited by: mian ghous on Feb 10, 2009 1:59 PM

But, DUDE, it IS possible using borders!  Each of the border options has a formula field that you can code to tell Crystal in effect "on this line of the report, I want xxx borders". 
Let's start with the easiest example:  Say you want the line to go around the column heading (full box). then lines down each side of the column until the end, then for the the subtotal you want lines on three sides (all but top).  Set all four borders for the heading field to Single, set the right and left borders for the data field to Single, and set all but the top border for the subtotal field to Single.
To expand this, let's say there is no subtotal, and you want the last value in the field to have a bottom border.  Set the header and data field borders as above, except for the bottom border of the data field, use the following formula (basic syntax):
if {field} = NextValue({field}) then
  formula = crNoLine
else
  formula = crSingleLine
end if
If you want the line across the top of the data field on the first detail row (i.e., not around the header), use the same logic as above, except using PreviousValue().
HTH,
Carl
Edited by: Carl Sopchak on Feb 11, 2009 8:25 AM

Similar Messages

  • Export into excel character problem

    Hi
    When I export the sql output into excel, some characters are invalid in the excel,How can I prevent this.

    when I export directly into txt file, there is no problem.But when I export into excel file national characters are not shown.
    The excel is in my language.

  • How to format the font in Cell when export to Excel file?

    Dear all,
    I am using the CRJ SDK 12 to export to Excel file, but i i want to format the font of Cells in Excel when exporting them.
    Can you help me to solve this issue?
    Thanks,
    Nha

    There's no control over per-cell formatting for Excel exports.
    Sincerely,
    Ted Ueda

  • Export to Excel - Macro problems

    I have moved this to the Discoverer forum. Exporting to Excel - Macro Problems
    Message was edited by:
    user385142

    Hello Denes.
    Excuse me for send you a message in this way , but I dont find other way to contact with you.
    Im using the export_excel_pkg, and really it work good.
    I have only one problem, I tell you.
    When, in one item, data is very long and numeric, by example a EAN code, without any class of format, by default it give me the value ###, Im studing the package and trying to resolve this, but if you can send me any idea it can help me a lot.
    Thanks in advanced.
    You are doing a great work for us.

  • Bitmap is not exporting to excel file

    Any kind help appreciated.
    I have added a bitmap image in my workbook but when i am exporting it into excel or html ,only text part of the title is exporting into excel file .
    The bitmap is only visible in discoverer workbook ,after exporting to excel or html, it disappears,
    i am using oracle 9i discoverer version 9.0.2.0
    thanks,

    Hi,
    Bitmaps in the workbook titles are not exported. I guess it was just too difficult to do when they added bitmaps into the titles.
    Rod West

  • Export to Excel encoding problem

    I am using SQL Developer 1.1 Patch 1 (1.1.1.25) on Windows 2000 with Oracle 10g (on Linux).
    The database has NLS_CHARACTERSET EL8ISO8859P7
    (to support Greek characters)
    Although in SQL Developer the greek characters are displayed correctly in the Results and Script Output panes, when I export the results to Excel, the Greek characters are displayed as squares and other symbols:
    Example:
    The text: ΣΤΕΓΑΣΤΙΚΑ ΔΑΝΕΙΑ
    appears in Excel as: £¤•“‘£¤™š‘ ”‘•™‘
    (The version of the Excel I use is Microsoft Excel 2000)
    I have tried many different encodings (from Tools > Preferences > Environment > Encoding) such as cp1253, ISO-8959-7, utf-8, utf-16 but the result is always the same.
    The export as CSV has no problem with the greek characters.
    I also noticed that the changes to the encoding in Export Data > Export File Chooser seem to be lost (if I change it and then reselect Browse... to check it, the default from preferences is shown again).
    I also have the problem mentioned in another post, that when I export data to clipboard and do paste to Excel, a value such as java.io.BufferedOutputStream@8ff9a7 is only pasted.

    Hi!
    I am somewhat confused as to "the next release". I am exporting to excel from a portlet in a portal page and during the export process, characters that look like boxes are displayed in the title bar on the message dialog box that pops up. For me this is just a cosmetic porblem since all of my data exports exactly as it should, but the export process does not look clean when the little boxes are displayed. So I am interested in the release you are referencing and when it will be available. I am using Portal Reports Oracle 10g on Unix.

  • GUI_UPLOAD - EXCEL FILE PROBLEM

    Hi All,
            I am using GUI_UPLOAD function for BDC. I want to upload a file but there i m gatting error. I tried with both  file type excel & txt.
    While running the recording it takes ##### chars.
    Regards,
    Dilip
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = 'c:\excel.xls'
       FILETYPE                      = 'BIN'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      = it_bdc

    Dear Dilip,
    I have used GUI_UPLOAD a lot, but never like this.
    Well i'll tell you to upload .txt file . Download or save EXCEL file as text delimited by tab as it gets saved normally. Dont forget that except characters all other fields are in formatted as text field in Excel, they will get alinged as a normal text field only.
    My txt file have data like below.
    RAJESH     10
    RAJSALECHA     11
    BCONE     13
    Then in program i have done as below.
    Report ZTEST5.
    PARAMETERS : FILE TYPE RLGRAP-FILENAME.
    DATA : BEGIN OF IT OCCURS 0,
             NAME(20),
             AGE(4),
           END OF IT.
    DATA : PATH TYPE STRING.
    PATH = FILE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = PATH
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = IT.
    LOOP AT IT.
    WRITE : /1 IT-NAME COLOR 1, 20 IT-AGE COLOR 4.
    ENDLOOP.
    Kindly see this and tell me if you face any problem in it.
    Raj Salecha
    [email protected]

  • After Export to Excel File error while opening using xmlwriter in silverlight

    Can one help me in fixing following issue after to export to excel had done iam getting following error message 
    "The file you are trying to open, 'test.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do uou want to open the file now ?"
    If i click Yes file opens correctly but it shows above message . Can any one suggest me how to avoid this programatically with the following code.
    I tried by changing the file saving as  .xls to .xlsx  but it doesnt works.
    Public Sub Export()
    Dim ss As String = "urn:schemas-microsoft-com:office:spreadsheet"
    Dim DataType As String
    Dim DataValue As Object
    'Dim DataView As C1.Silverlight.Data.DataView = m_DataGrid.ItemsSource
    'Dim ItemsSource As C1.Silverlight.Data.DataTable = DataView.Table
    Dim XmlSettings As XmlWriterSettings
    Dim ColumnBinding As Binding
    Dim FieldName As String
    Dim DataGridColumn As C1.Silverlight.DataGrid.DataGridColumn
    Dim ColumnIndex As Integer
    Dim J As Integer
    Dim DataGridRow As C1.Silverlight.DataGrid.DataGridRow
    Dim CommonUtil As New GoldCRM.Core.Common.Util
    Dim PropertyInfo As System.Reflection.PropertyInfo
    Dim CellFormat As String
    Try
    If m_DataGrid.Rows.Count = 0 Then Exit Try
    XmlSettings = New XmlWriterSettings
    XmlSettings.Indent = True
    XmlSettings.NewLineOnAttributes = False
    Using myXML As XmlWriter = XmlWriter.Create(m_Stream, XmlSettings)
    With myXML
    .WriteStartDocument()
    .WriteProcessingInstruction("mso-application", "progid=" & ControlChars.Quote & "Excel.Sheet" & ControlChars.Quote)
    .WriteStartElement("Workbook", ss)
    .WriteStartElement("DocumentProperties", "urn:schemas-microsoft-com:office:office")
    .WriteElementString("Author", m_DocumentProperties.Author)
    .WriteElementString("LastAuthor", String.Format("{0} {1}", Application.Current.Resources("EmpFirstName"), Application.Current.Resources("EmpLastName")))
    .WriteElementString("Created", m_DocumentProperties.Created)
    .WriteElementString("LastSaved", m_DocumentProperties.LastSaved)
    .WriteElementString("Company", Application.Current.Resources("REPORTINGSITENAME"))
    .WriteElementString("Version", m_DocumentProperties.Version)
    .WriteEndElement() 'Document Properties
    .WriteStartElement("ExcelWorkbook", "urn:schemas-microsoft-com:office:excel")
    .WriteElementString("WindowHeight", m_WorkbookProperties.WindowHeight)
    .WriteElementString("WindowWidth", m_WorkbookProperties.WindowWidth)
    .WriteElementString("WindowTopX", m_WorkbookProperties.WindowTopX)
    .WriteElementString("WindowTopY", m_WorkbookProperties.WindowTopY)
    .WriteElementString("ProtectStructure", m_WorkbookProperties.ProtectStructure)
    .WriteElementString("ProtectWindows", m_WorkbookProperties.ProtectWindows)
    .WriteEndElement() 'Excel Workbook
    .WriteStartElement("Styles")
    For I As Integer = 0 To m_Styles.Count - 1
    .WriteStartElement("Style")
    .WriteAttributeString("ss", "ID", ss, m_Styles(I).ID)
    If m_Styles(I).Name <> "" Then
    .WriteAttributeString("ss", "Name", ss, m_Styles(I).Name)
    End If
    'ALIGNMENT LOGIC:
    .WriteStartElement("Alignment")
    If Not m_Styles(I).Alignment Is Nothing Then
    If m_Styles(I).Alignment.Horizontal <> 0 Then
    .WriteAttributeString("ss", "Horizontal", ss, m_Styles(I).Alignment.Horizontal.ToString)
    End If
    If m_Styles(I).Alignment.Vertical <> 0 Then
    .WriteAttributeString("ss", "Vertical", ss, m_Styles(I).Alignment.Vertical.ToString)
    End If
    If m_Styles(I).Alignment.WrapText = True Then
    .WriteAttributeString("ss", "WrapText", ss, "1")
    End If
    End If
    .WriteEndElement()
    'BORDER LOGIC:
    .WriteStartElement("Borders")
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Bottom")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Left")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Right")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Top")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteEndElement() 'Borders
    'FONT LOGIC:
    .WriteStartElement("Font")
    Dim myFont As Excel.Styles.Font = m_Styles(I).Font
    .WriteAttributeString("ss", "FontName", ss, myFont.FontName.ToString)
    .WriteAttributeString("ss", "Size", ss, myFont.Size)
    .WriteAttributeString("ss", "Color", ss, myFont.Color.ToString.Remove(1, 2))
    If myFont.Bold = True Then .WriteAttributeString("ss", "Bold", ss, "1")
    If myFont.Italic = True Then .WriteAttributeString("ss", "Italic", ss, "1")
    If myFont.Underline <> 0 Then .WriteAttributeString("ss", "Underline", ss, myFont.Underline.ToString)
    .WriteEndElement()
    Dim myInterior As Excel.Styles.Interior = m_Styles(I).Interior
    .WriteStartElement("Interior")
    .WriteAttributeString("ss", "Color", ss, myInterior.Color.ToString.Remove(1, 2))
    .WriteAttributeString("ss", "Pattern", ss, "Solid")
    .WriteEndElement()
    .WriteStartElement("NumberFormat")
    .WriteEndElement()
    .WriteStartElement("Protection")
    .WriteEndElement()
    .WriteEndElement() 'Style
    Next I
    .WriteStartElement("Style")
    .WriteAttributeString("ss", "ID", ss, "DateStyle")
    .WriteStartElement("NumberFormat")
    .WriteAttributeString("ss", "Format", ss, "General Date")
    .WriteEndElement() 'NumberFormat
    .WriteEndElement() 'Style
    .WriteStartElement("Style")
    .WriteAttributeString("ss", "ID", ss, "HeaderStyle")
    .WriteStartElement("Font")
    .WriteAttributeString("x", "Family", ss, "Swiss")
    .WriteAttributeString("ss", "Bold", ss, "1")
    .WriteEndElement() 'Font
    .WriteEndElement() 'Style
    .WriteEndElement() 'Styles
    'WORKSHEETS:
    .WriteStartElement("Worksheet")
    .WriteAttributeString("ss", "Name", ss, "WORKSHEET")
    .WriteStartElement("Table")
    .WriteAttributeString("ss", "ExpandedColumnCount", ss, m_DataGrid.Columns.Count)
    .WriteAttributeString("ss", "ExpandedRowCount", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
    .WriteAttributeString("ss", "FullColumns", ss, m_DataGrid.Columns.Count)
    .WriteAttributeString("ss", "FullRows", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
    .WriteAttributeString("ss", "DefaultRowHeight", ss, 15)
    For Each DataGridColumn In m_DataGrid.Columns
    If DataGridColumn.Visibility = Visibility.Visible Then
    .WriteStartElement("Column")
    If TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridNumericColumn Then
    .WriteAttributeString("ss", "AutoFitWidth", ss, 1)
    ElseIf TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridDateTimeColumn Then
    .WriteAttributeString("ss", "AutoFitWidth", ss, 1)
    Else
    .WriteAttributeString("ss", "AutoFitWidth", ss, 0)
    End If
    If DataGridColumn.Width.Value <= 100 Then
    .WriteAttributeString("ss", "Width", ss, 100)
    Else
    .WriteAttributeString("ss", "Width", ss, DataGridColumn.Width.Value)
    End If
    .WriteEndElement()
    End If
    Next
    J = 0
    For Each DataGridRow In m_DataGrid.Rows
    J += 1
    If TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow Then
    .WriteStartElement("Row")
    .WriteAttributeString("ss", "Index", ss, J)
    .WriteAttributeString("ss", "AutoFitHeight", ss, 0)
    .WriteAttributeString("ss", "Height", ss, 15)
    ColumnIndex = 0
    For Each DataGridColumn In m_DataGrid.Columns
    If DataGridColumn.Visibility = Visibility.Visible Then
    FieldName = String.Empty
    If TypeOf DataGridColumn Is DataGridBoundColumn Then
    ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
    If ColumnBinding.Path IsNot Nothing Then
    FieldName = ColumnBinding.Path.Path
    End If
    ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
    If DataGridColumn.FilterMemberPath IsNot Nothing Then
    FieldName = DataGridColumn.FilterMemberPath.Trim
    End If
    End If
    If Not FieldName.Equals(String.Empty) Then
    ColumnIndex += 1
    .WriteStartElement("Cell")
    .WriteAttributeString("ss", "Index", ss, ColumnIndex)
    .WriteAttributeString("ss", "MergeAcross", ss, 0)
    .WriteAttributeString("ss", "StyleID", ss, "HeaderStyle")
    .WriteStartElement("Data")
    .WriteAttributeString("ss", "Type", ss, "String")
    If DataGridColumn.Header IsNot Nothing Then
    .WriteValue(DataGridColumn.Header.ToString)
    Else
    .WriteValue("")
    End If
    .WriteEndElement() 'Data
    .WriteEndElement() 'Cell
    End If
    End If
    Next
    .WriteEndElement() 'Row
    End If
    If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
    .WriteStartElement("Row")
    .WriteAttributeString("ss", "Index", ss, J + 1)
    .WriteAttributeString("ss", "AutoFitHeight", ss, 0)
    .WriteAttributeString("ss", "Height", ss, 15)
    ColumnIndex = 0
    For Each DataGridColumn In m_DataGrid.Columns
    If DataGridColumn.Visibility = Visibility.Visible Then
    FieldName = String.Empty
    If TypeOf DataGridColumn Is DataGridBoundColumn Then
    ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
    If ColumnBinding.Path IsNot Nothing Then
    FieldName = ColumnBinding.Path.Path
    End If
    ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
    If DataGridColumn.FilterMemberPath IsNot Nothing Then
    FieldName = DataGridColumn.FilterMemberPath.Trim
    End If
    End If
    If Not FieldName.Equals(String.Empty) Then
    ColumnIndex += 1
    Dim DataCellValue As Object = Nothing
    If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
    PropertyInfo = CommonUtil.GetProperty(DataGridRow.DataItem, FieldName)
    If PropertyInfo IsNot Nothing Then
    DataCellValue = PropertyInfo.GetValue(DataGridRow.DataItem, Nothing)
    End If
    End If
    CellFormat = String.Empty
    If DataCellValue IsNot Nothing Then
    Select Case DataCellValue.GetType.Name.ToUpper
    Case "BitmapImage".ToUpper
    DataValue = "Image"
    DataType = "String"
    Case "Hyperlink".ToUpper
    DataType = "String"
    DataValue = "Hyperlink"
    Case "Decimal".ToUpper
    DataType = "Number"
    DataValue = DataCellValue
    Case "DateTime".ToUpper
    If CType(DataCellValue, Date).Year > 1900 Then
    DataType = "DateTime"
    DataValue = DataCellValue
    CellFormat = "DateStyle"
    Else
    DataType = "String"
    DataValue = DataCellValue
    End If
    Case Else
    DataType = "String"
    DataValue = DataCellValue
    End Select
    Else
    DataType = "String"
    DataValue = String.Empty
    End If
    .WriteStartElement("Cell")
    .WriteAttributeString("ss", "Index", ss, ColumnIndex)
    .WriteAttributeString("ss", "MergeAcross", ss, 0)
    If Not CellFormat.Equals(String.Empty) Then
    .WriteAttributeString("ss", "StyleID", ss, CellFormat)
    End If
    .WriteStartElement("Data")
    .WriteAttributeString("ss", "Type", ss, DataType)
    .WriteValue(DataValue)
    .WriteEndElement() 'Data
    .WriteEndElement() 'Cell
    End If
    End If
    Next
    .WriteEndElement() 'Row
    End If
    Next
    .WriteEndElement() 'Table
    .WriteEndElement() 'Worksheet
    .WriteEndElement() 'Workbook
    .WriteEndDocument()
    .Close()
    End With
    End Using
    Catch ex As Exception
    Throw New Exception(ex.Message, ex)
    Finally
    If m_Stream IsNot Nothing Then
    m_Stream.Close()
    m_Stream.Dispose()
    End If
    m_Stream = Nothing
    m_DataGrid.IsLoading = False
    DataValue = Nothing
    'DataView = Nothing
    'ItemsSource = Nothing
    XmlSettings = Nothing
    ColumnBinding = Nothing
    DataGridColumn = Nothing
    End Try
    End Sub
    Krishna

    Hi,
    i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please.

  • Can i export an excel file to my I-Cal & if so how?

    Hi.  I have a large amount of data/dates in an excel file and I would like to easily export these into my I-Cal. Please advise.

    But if it's a big album, be sure to create a new folder on the desktop first, to export them into. Having hundreds of individual photos on your desktop will slow your computer to a crawl.

  • Export to Excel - File Name WAD 7.0

    Hi All,
    I am using Export to Excel Functionality with WAD 7.0 to export the report to excel format.
    I have used button web item, with an excel picture above it. The functionality works fine.
    But while exporting the name of excel file shown is WAD 7.0 name.
    ex. My WAD 7.0 name is IFIOP_C07_W700, the excel file also gets saved in this name.
    I want it to be made customizable.
    Can you throw some pointers.
    Thanks,
    Sri Arun Prian

    Hi,
    i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please.

  • Page headers are not exported to excel files - Is there a workaround?

    I use 2008, SP3.
    I am experiencing a problem with exporting to Excel(.xls): the page headers, but the very first, are not exported.
    The report page headers consist of weekdays and the corresponding dates, meanning they are different on each page.
    The report looks OK in pdf and doc formats.
    Is this a known problem or limitation?
    Is there is a way to controll the export to Excel to correct this problem?
    Thanks and ragards
    Israel M Brill, Analyst

    hi,
    Are you exporting from Crystal Report Designer or InfoView?
    If you are exporting from CR Designer, follow the below steps.
    - Click Export button
    - Microsoft Excel (97-2003) , OK
    - 'Excel Format Options' dialog box appears
    - Export Page Headers and Page Footers -> On Each Page, OK
    Regards,
    Vamsee

  • Page headers are not exported to excel files - can this be fixed in 2008SP3

    I use 2008, SP3.
    I am experiencing a problem with exporting to Excel(.xls): the page headers, but the very first, are not exported.
    The report page headers consist of weekdays and the corresponding dates, meanning they are different on each page.
    The report looks OK in pdf and doc formats.
    Is this a known problem or limitation?
    Is there is a way to controll the export to Excel to correct this problem?
    Thanks and ragards
    Israel M Brill, Analyst

    Note that this is the .NET - SAP Crystal Reports forum;
    Is this an issue in a .NET app?
    Does the report export as expected from the CR 2008 designer? If not, close this thread and post a new one in the [SAP Crystal Reports Design|SAP Crystal Reports, version for Visual Studio; forum.
    What version of .NET?
    Web or Win app?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Upload Excel File : Problem with Filter

    Hi Experts,
    by using "TMP_GUI_FILE_OPEN_DIALOG" with these parameters:
         window_title      = 'Please select an Excel File'
         default_extension = '*.xls'
         file_filter       = '*.xls'
         multiselection    = ' '
         init_directory    = 'C:\temp'
    it doesn't show any file the first time we call the Function, we have to close the window and then restart the Function Then it show all Fileformat, I just want to see .XLSX files.
    Any idea?
    Regards,
    David

    I found the solution:
    Initialisierung
      CONCATENATE 'Alle-Dateien(.)|.|'
                  'Word-Dateien(.doc)|.doc|'
                  'Bild-Dateien(.gif)|.gif|'
                  'Bild-Dateien(.jpg)|.jpg|'
                  'Mail-Dateien(.msg)|.msg|'
                  'PDF-Dateien(.pdf)|.pdf|'
                  'Bild-Dateien(.tif)|.tif|'
                  'Text-Dateien(.txt)|.txt|'
                  'Excel-Dateien(.xls)|.xls'
             INTO filter.
    Datei abfragen
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title      = 'Datei auswählen'
          file_filter       = filter
          initial_directory = 'C:'
        CHANGING
          file_table        = i_file[]
          rc                = rcode
        EXCEPTIONS
          OTHERS            = 1.
    Regards,
    David

  • Room Data not getting exported to excel file

    Hello,
    I am facing a small issue regarding collaboration rooms.
    I created some Rooms and Created few Tasks in each room. I tried to export the task details in a excel file. For most of the rooms it is working fine but for few rooms either data is not getting exported or some data is missing in the generated excel file.I am working on EP 7.0  and all the rooms are created from the same user.
    What could be the possible reason for such a behaviour ?  Kindly Help me with this.

    i believe you can use GUI_DOWNLOAD simply for this purpose.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = 'c:\abc.xls'
       FILETYPE                        = 'ASC'
       WRITE_FIELD_SEPARATOR           = 'X'
    TABLES
        DATA_TAB                        = ITAB
    it will work, i believe.
    regards
    srikanth

  • Linked excel file problem - Help needed

    I have 2 excel files in the same directory in Content Services. The "destination" file has a link in one of its cells to a cell in the "source" file. I want to be able to open the "destination" file and update the data if any changes have been made to the "source" file.
    My problem is when I try to do this i get an error that says "This workbook contains one or more links that cannot be updated" and two options.
    1) To change the source of links, or attempt to update values again, click Edit Links.
    2) To open the workbook as is, click Continue.
    If I click Edit Links I am then presented with a screen where I can open the "source" file. When I try to do this though I am given a login screen. Supplying a valid Content Services username and password doesn't work and I cannot open the file.
    Can anyone tell me how I can open the "destination" file without having to open every "source" file? I don't want to open the "source" files because there could be dozens of "source" files for one "destination" file.

    setw is the equivalent of the field width value in printf. In your code, the printf version would look like:
    printf("%8s", CURSOR->name.c_str());
    I much prefer printf over any I/O formatting in C++. See the printf man page for more information. I recommend using Bwana: http://www.bruji.com/bwana/
    I do think it is a good idea to verify your code on the platform it will be tested against. That means Visual Studio. However, you don't want to use Visual Studio. As you have found out, it gets people into too many bad habits. Linux is much the same way. Both development platforms are designed to build anything, whether or not it is syntactically correct. Both GNU and Microsoft have a long history of changing the language standards just to suit themselves.
    I don't know what level you are in the class, but I have a few tips for you. I'll phrase them so that they answers are a good exercise for the student
    * Look into const-correctness.
    * You don't need to compare a bool to 1. You can just use bool. Plus, any integer or pointer type has an implicit cast to bool.
    * Don't reuse your CURSOR pointer as a temporary index. Create a new pointer inside the for loop.
    * In C++, a struct is the same thing as a class, with all of its members public by default. You can create constructors and member functions in a struct.
    * Optimize your function arguments. Pass by const reference instead of by copy. You will need to use pass by copy at a later date, but don't worry about that now.
    * Look into initializer lists.
    * In C++ NULL and 0 are always the same.
    * Return the result of an expression instead of true or false. Technically this isn't officially Return Value Optimization, but it is a good habit.
    Of course, get it running first, then make it fancy.

Maybe you are looking for

  • Format a seagate external hard drive

    wondering if anyone can help me to format my seagate 500GB hard drive so i can you the hard drive on a PC and my mac book pro. what do i need to do and what type of format do i need to do.

  • IPad 3rd generation

    Everything is sharper on the iPad 3rd generation... but I need to know how to get the crisp white thst the iPad 2 displays. Te iPad 3 has a distinct or pronounced yellowish haze tone to white objects and affects all other colors as well. It is not th

  • How to create a working day/holiday attribute in Time Dimension with OWB ?

    Hello everybody, I am trying with no success to create a Time Dimension (with the wizard it would be easier...) with a working day or holiday attribute (0 or 1) to be able to calculate measures only on working time !!! I am totally sure it's possible

  • Problem reading&writing word documents

    hi: i wrote a program to look for a string and replace it with another. reading and wirting are done in the same file. it works fine as long as the file is a text document. if any one has any suggestion on how to make this program work for any file i

  • Songs inside disappeared and the iPod won't appear on iTunes & Windows!

    Well, the iPod started showing this icon with a folder and an exclamation mark, so I reset it a few times. Prior to that, some of the songs didn't play properly. This hasn't happened before though. So I connected it to the computer and reset it but n