Column Header problem in JRXML File?

hi all
i'm trying to make Report With Jasper Report
and I Make The JRXML File To Have Two Columns Name,Number
But The PDF File Always Appear Without No Column headers
Why The Headers Doesn't Appear
Is There's Any Error In The Following XML File?
<!DOCTYPE jasperReport PUBLIC  
"//JasperReports//DTD Report Design//EN"  
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> 
<jasperReport name="sample_report" >
<queryString> 
<![CDATA[select Book_Name,Number_Of_Copies from science_dept]]> 
</queryString>
<field name="Book_Name" class="java.lang.String"/> 
<field name="Number_Of_Copies" class="java.lang.String"/>
<columnHeader> 
<band height="28" isSplitAllowed="true"> 
<staticText> 
<reportElement x="40" y="11" width="193" height="15" key="staticText-1"/> 
<text> 
<![CDATA[Name]]> 
</text> 
</staticText> 
<staticText> 
<reportElement x="330" y="11" width="193" height="15" key="staticText-2"/> 
<text> 
<![CDATA[Number]]> 
</text> 
</staticText> 
</band> 
</columnHeader> 
<detail> 
<band height="27" isSplitAllowed="true"> 
<textField> 
<reportElement x="47" y="6" width="173" 
height="18" key="textField"/> 
<textFieldExpression class="java.lang.String"> 
<![CDATA[$F{Book_Name}]]> 
</textFieldExpression> 
</textField> 
<textField > 
<reportElement x="330" y="6" width="100" 
height="18" key="textField"/> 
<textFieldExpression class="java.lang.String"> 
<![CDATA[$F{Number_Of_Copies}]]> 
</textFieldExpression> 
</textField> 
</band> 
</detail> 
</jasperReport>

Hi try with the folloeing code.
Hopefully it will work.
{color:#339966}*<!DOCTYPE jasperReport PUBLIC*
*"//JasperReports//DTD Report Design//EN"*
*"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">*
*<jasperReport name="sample_report" >*
*<queryString>*
*<![CDATA[select Book_Name,Number_Of_Copies from science_dept]]>*
*</queryString>*
*<field name="Book_Name" class="java.lang.String"/>*
*<field name="Number_Of_Copies" class="java.lang.String"/>*
*<columnHeader>*
*<band height="28" isSplitAllowed="true">*
*<textField>*
*<reportElement x="40" y="11" width="193" height="15" />*
*<textFieldExpression class=java.lang.String><![CDATA[Name]]> </textFieldExpression >*
*</<textField>*
*<textField>*
*<reportElement x="330" y="11" width="193" height="15"/>*
*<textFieldExpression class=java.lang.String><![CDATA[Number]]> </textFieldExpression >*
*</textField>*
*</band>*
*</columnHeader>*
*<detail>*
*<band height="27" isSplitAllowed="true">*
*<textField>*
*<reportElement x="47" y="6" width="173" height="18" />*
*<textFieldExpression class="java.lang.String"><![CDATA[$F{Book_Name}]]> </textFieldExpression>*
*</textField>*
*<textField >*
*<reportElement x="330" y="6" width="100" height="18" />*
*<textFieldExpression class="java.lang.String"> <![CDATA[$F{Number_Of_Copies}]]> </textFieldExpression>*
*</textField>*
*</band>*
*</detail>*
*</jasperReport>*{color}

Similar Messages

  • How to create column header text while downloading file

    How can we create column header text while downloading file using function GUI_DOWNLOAD(in SAP Release 4.6c) because there is no FIELDNAMES parameter in
    4.6c version.

    Hii,
      Check this sample code. I have called GUI_DOWNLOAD twice. Onetime to download header of table and next time data of table
    REPORT  z_file_download.
    DATA: w_name(90) TYPE c.
    DATA:
      BEGIN OF fs_flight,
        carrid   LIKE sflight-carrid,
        connid   LIKE sflight-connid,
        fldate   LIKE sflight-fldate,
        price    LIKE sflight-price,
        currency LIKE sflight-currency,
      END OF fs_flight.
    DATA:
      BEGIN OF fs_head,
        carrid(10) TYPE c,
        connid(10) TYPE c,
        fldate(10) TYPE c,
        price(10) TYPE c,
        curr(10) TYPE c,
      END OF fs_head.
    DATA:
      t_head LIKE
       TABLE OF
             fs_head.
    DATA:
      t_flight LIKE
         TABLE OF
               fs_flight.
    fs_head-carrid = 'CARRID'.
    fs_head-connid = 'CONNID'.
    fs_head-fldate = 'FLDATE'.
    fs_head-price  = 'PRICE'.
    fs_head-curr   = 'CURRENCY'.
    APPEND fs_head TO t_head.
    SELECT-OPTIONS:
      s_carrid FOR fs_flight-carrid.
    START-OF-SELECTION.
      SELECT carrid
             connid
             fldate
             price
             currency
        FROM sflight
        INTO TABLE t_flight
       WHERE carrid IN s_carrid.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        filename                      = 'D:\flight.xls'
       FILETYPE                      = 'ASC'
    *   APPEND                        = ' '
        WRITE_FIELD_SEPARATOR         = 'X'
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    *   CONFIRM_OVERWRITE             = ' '
    *   NO_AUTH_CHECK                 = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   WRITE_BOM                     = ' '
    * IMPORTING
    *   FILELENGTH                    =
      tables
        data_tab                      = t_head
    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 NE 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'D:\flight.xls'
          filetype                = 'ASC'
          append                  = 'X'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_flight
        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 EQ 0.
        MESSAGE 'Download successful' TYPE 'I'.
      ENDIF.
      IF sy-subrc NE 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards
    Abhijeet

  • Advance table  column header problem

    Hi experts
    i am facing a problem in advacne table , i have created the column dynamicaly for the advance table but the column header is displaying in another column and my date field is displaying in another column ..
    i am pasting my code
    OAAdvancedTableBean tableBean = (OAAdvancedTableBean)webBean.findIndexedChildRecursive("ChargeDetailsTbl");
    OAColumnBean upadateColumn = (OAColumnBean)pageContext.getWebBeanFactory().createWebBean(pageContext,COLUMN_BEAN,null,"XXUpdate");
    OASortableHeaderBean upadateColumnHeader1 = (OASortableHeaderBean)pageContext.getWebBeanFactory().createWebBean(pageContext, SORTABLE_HEADER_BEAN, null, "XXUpdateHeader");
    upadateColumnHeader1.setPrompt("WorkPerformedDate");
    upadateColumn.setColumnHeader(upadateColumnHeader1);
    OAMessageDateFieldBean leaf1 = (OAMessageDateFieldBean)pageContext.getWebBeanFactory().createWebBean(pageContext, MESSAGE_DATE_FIELD_BEAN, null, "Leaf1");
    leaf1.setViewAttributeName("WorkPerformedDate");
    leaf1.setViewUsageName("ChargeDetailsVO");
    upadateColumn.addIndexedChild(leaf1);
    upadateColumn.setRendered(true);
    tableBean.addIndexedChild(upadateColumn);
    can any one plesae help to resolve this issue

    Hi,
    Its good to see that ur issue has been resolved. Post the solution if u can, so that somebody might get benefited. And mark the thread as anwered.
    Regards,
    Gyan

  • JTable Column Header Problem, Please help me

    What Listener I have to used to get the column index when user change the width of column header using mouse.

    There is no listener that reports this activity. The TableColumnModelListener can only tell you if columns change position or are added/removed from the column model.
    To detect changes, you will need to use a brute force mechanism, namely, to extend the JTableHeader class just a bit.
    When the user clicks on a header to resize a column, there is a property in JTableHeader called ResizingColumn that has a type of TableColumn. It is set by the UI delegate when the drag operation starts to the column being resized. When the drag operation ends, the value of ResizingColumn is set to null. You might start with something like this:
      JTable table = new JTable(...);
      MyTableHeader header = new MyTableHeader();
      table.setHeader(header);
      table.setModel(...);
    class MyTableHeader extends JTableHeader
        public void setResizingColumn(TableColumn column)
            super.setResizingColumn(column);
            if (column != null)
                System.out.println("Resizing Column #" + column.getModelIndex());
            else
                System.out.println("Resizing Ended");
    }This will only work for user resizing of columns, not for sizes changed programmatically or by the automatic sizing features of the header.
    Mitch Goldstein
    Author, Hardcore JFC (Cambridge Univ Press)
    [email protected]

  • Repeated member in column header problem EVDRE()

    Hi  EVDRE Gurus
    I am trying to create a report using EVDRE.In Column ( accounts ) expansion memberSet I have typed the members ( hard coded ) . The top column header one is good but lower column header is repeating the first member ( COAST020 ) .Can you guess what I am missing ? COAST000,COAST005,COAST010,COAST015,COAST020|COAST020,COAST030,COAST110,COAST070,COAST075
    E.g.
    Upper column header
    COAST000 COAST005 COAST010 COAST015 COAST020
    Data Range
    Lower column header
    COAST020 COAST020 COAST020 COAST020 COAST020
    data range
    It should be:
    COAST020,COAST030,COAST110,COAST070,COAST075
    I have tried my best and could not figure out.Row expansion is fine .Can some one give me any lead how to resolve this repeated column header?

    You can greatly improve your chance of receiving a helpful answer to your question if you state the version (MS or NW) and the release (5.1, 7.0, 7.5) of BPC which you are using.
    Also notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of this forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • Column HEADER problem

    In JBuilder I have set column header captions in two lines, but now text (e.g. caption) is aligned left in the header cell.
    What should I do to make my captions aligned center?
    Thanks to everyone in advance!!!

    Difficult to reply.
    Do you use a JBuilder extension, one of these db controls?
    Then we should know your JBuilder version.
    Since this is not a real Java question, you probably get best help at the Borland newsgroups for JBuilder. Look at their website - my experiences with that community are very fine.
    If you however don't deal with JBuilder specifics, but with standard Java classes (I'm really not sure), then you probably speak about a JTable (?) and should ask this in the Swing forum.

  • Column heading -refer to the webdynpro tutorial 34

    Excel Export Using the Web Dynpro Binary Cache (34)
    column heading problem
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6
    u will get the heading like
    /Products
    /ProductsElement/Article
    /ProductsElement/Quantity
    /ProductsElement/Price
    the code that form the heading
    public void exportToExcel2003( com.sap.tc.webdynpro.progmodel.api.IWDNode dataNode, java.util.Map columnInfos )
        //@@begin exportToExcel2003()
        byte[] excelXMLFile;
        IWDCachedWebResource cachedExcelResource = null;
        String fileName = dataNode.getNodeInfo().getName() + ".xls";
        try {
          // create Excel 2003 XML data as a byte array for the given context node, attributes and headers       
          excelXMLFile = this.toExcel(dataNode, columnInfos).getBytes("UTF-8");
          // create a cached Web Dynpro XLS Resource for the given byte array and filename
          cachedExcelResource = this.getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
          // Store URL and filename of cached excel resource in context.
          if (cachedExcelResource != null) {
            wdContext.currentContextElement().setExcelFileURL(cachedExcelResource.getURL());
            wdContext.currentContextElement().setExcelFileName(cachedExcelResource.getResourceName());
            // Open popup window with a link to the cached excel file web resource.
            this.openExcelLinkPopup();
          } else {
            wdComponentAPI.getMessageManager().reportException("Failed to create Excel file from table!", true);
        } catch (UnsupportedEncodingException e) {
          wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
        } catch (WDURLException e) {
          wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
        //@@end
      //@@begin javadoc:closeExcelLinkPopup()
       * Destroys popup window. To be called in an action event handler of a view controller related to
       * the opened popup window. View controller must have a controller usage declared for invoking
       * this public method of the public component controller API. 
      //@@end
      public void closeExcelLinkPopup( )
        //@@begin closeExcelLinkPopup()
        if (excelLinkWindow != null) {
          excelLinkWindow.destroy();
          excelLinkWindow = null;
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
       * Create an XML respresentation of the given context data.
       * RESTRICTION: Excel 2003 must be installed on the client machine for opening the given xml data
       * representation as an Excel file. 
       * @return string respresentation of the created xml data for Excel 2003.
      private String toExcel(IWDNode dataNode, Map columnInfos) {
        StringBuffer x = new StringBuffer();
        String attributeName, headerName;
        String entriesName = dataNode.getNodeInfo().getName();
        String entryName = entriesName + "Element";
        // trim given header texts, so that XML element names adhere to the rule 'no spaces contained'.    
        trimHeaderTexts(columnInfos);
        x.append("<?xml version='1.0' encoding='UTF-8' standalone='no'?>n");
        x.append("<").append(entriesName).append(">n");
        for (int i = 0; i < dataNode.size(); ++i) {
          IWDNodeElement dataNodeElement = dataNode.getElementAt(i);
          x.append("<").append(entryName).append(">n");
          for (Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();) {
            attributeName = (String) iter.next();
            headerName = (String) columnInfos.get(attributeName);
            x
              .append("<")
              .append(headerName)
              .append(">")
              .append(dataNodeElement.getAttributeValue(attributeName))
              .append("</")
              .append(headerName)
              .append(">n");
          x.append("</").append(entryName).append(">n");
        x.append("</").append(entriesName).append(">n");
        return x.toString();
       * Create cached Web Dynpro resource for given byte-array, filename and web resource type (xls).
       * @return Excel file as cached Web Dynpro web resource. 
      private IWDCachedWebResource getCachedWebResource(byte[] file, String name, WDWebResourceType type) {
        IWDCachedWebResource cachedWebResource = null;
        if (file != null) {
          cachedWebResource = WDWebResource.getWebResource(file, type);
          cachedWebResource.setResourceName(name);
        return cachedWebResource;
       * Opens new popup window. The popup contains a link to the newly generated, cached excel file. 
      private void openExcelLinkPopup() {
        excelLinkWindow =
          wdComponentAPI.getWindowManager().createModalWindow(
            wdComponentAPI.getComponentInfo().findInWindows("ExcelLinkPopup"));
        excelLinkWindow.setWindowPosition(WDWindowPos.CENTER);
        excelLinkWindow.open();
      * Trims all given header texts because XML element names (to be created) must adhere to XML
      * rules (that is, they cannot include special characters, spaces, and so on.
      private void trimHeaderTexts(Map columnInfos) {
        String attributeName, trimmedHeaderText;
        for (Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();) {
          attributeName = (String) iter.next();
          trimmedHeaderText = trimHeaderText((String) columnInfos.get(attributeName));
          columnInfos.put(attributeName, trimmedHeaderText);
       * Trims one single header text. Omit empty strings. Convert sub-strings to lower case.
       * Convert first char of sub-strings to upper case.
       * Example: "Product Price in EURO" ->"ProductPriceInEuro"
      private String trimHeaderText(String headerText) {
        StringBuffer newHeaderText = new StringBuffer();
        String token;
        StringTokenizer tokenizer = new StringTokenizer(headerText.trim());
        while (tokenizer.hasMoreTokens()) {
          token = tokenizer.nextToken();
          newHeaderText.append(token.substring(0, 1).toUpperCase());
          newHeaderText.append(token.substring(1).toLowerCase());
        return newHeaderText.toString();
      // private member variable for storing instance of an opened popup window.  
      private IWDWindow excelLinkWindow;
    public void onActionExportToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExportToExcel(ServerEvent)
         wdThis.wdGetExcelExportCompInterface().exportToExcel2003(
                wdContext.nodeAddress(),
                getProductColumnInfos());     
                //wdContext.nodeCustomer().nodeAddress()
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.QUANTITY, "Quantity");
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.ARTICLE, "Article");
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.COLOR, "Color");
          columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.PRICE, "Price in EURO");
          columnInfosMap.put(
          IPrivateTableCompBasketView.IProductsElement.TOTAL__PER__ARTICLE,
           "Total Per Article In Euro");
          return columnInfosMap;
    if i can modify the code so that it read from behind and when it reached the "/" it stop and insert the string for the header

    Check this
    https://forums.sdn.sap.com/click.jspa?searchID=870698&messageID=292922
    /people/alfred.barzewski/blog/2005/07/27/new-samples-and-tutorials-for-web-dynpro-programming
    Regards, Anilkumar

  • How do I add column headings to an output file?

    Hi,
    I have an internal table that is created in my program and I send that table out as a data file attachment on an email.
    I have a request to include column heading on the data file going out. 
    Does anyone have any ideas as to how I can include a heading line as the first line of the output file?
    I'm an ABAP newbie and I don't know the best way to accomplish this?
    Thanks for your help!
    Andy

    Hi,
    While Building the attachement just add the field description refer following code
    Append header line to download data
      CONCATENATE 'Company Code'(004)
                  'State'(007)
                  'Store'(010)
                  'Tax Type'(013)
                  'Purchase'(015)
                  'Tax Rate'(017)
                  'Gross Tax Due'(021)
                  'Discount'(023)
                  'Net Tax Due'(025)
                  INTO ls_download-data
                  SEPARATED BY lc_tab.
      APPEND ls_download TO gt_download.
      CLEAR : ls_download.
    LOOP AT gt_error_log INTO ls_error_log.
        CONCATENATE ls_error_log-bukrs
                    ls_error_log-budat
                    ls_error_log-monat
                    ls_error_log-gjahr
                    ls_error_log-xblnr
                    ls_error_log-bschl
                    ls_error_log-waers
                    ls_error_log-hkont
                    ls_error_log-wrbtr
                    ls_error_log-prctr
                    ls_error_log-kostl
                    ls_error_log-message
                    INTO ls_attach-line SEPARATED BY lc_tab.
        CONCATENATE lc_cret ls_attach-line  INTO ls_attach-line.
      Append Error log data to attachment Table
        APPEND ls_attach TO lt_objbin.
      ENDLOOP.
    Call the function module to convert the data into Hex
      CALL FUNCTION 'SO_RAW_TO_RTF'
        TABLES
          objcont_old = lt_objbin
          objcont_new = lt_objbin.
    Append converted hex data to attachment table
      LOOP AT lt_objbin INTO lv_line.
        ls_conv = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' endian = 'B').
      Call lmethod to add the data to the output buffer sequentially.
        CALL METHOD ls_conv->write( data = lv_line ).
        lv_buffer = ls_conv->get_buffer( ).
        MOVE lv_buffer TO lv_hexa.
        MOVE lv_hexa TO ls_hex-line.
      Append converted hex data to attachment table
        APPEND ls_hex TO gt_attach.
      ENDLOOP.
    Regards,
    Prashant

  • Column heading is not coming while generating a .csv file from .sql file

    Hi all,
    Now since I am able to generate a .csv file by executing my .sql file, the column heading is missing in that. Please advise. I have used the following parameters in my query:
    set linesize 1000
    set colsep ','
    set echo off
    set feedback off
    set pagesize 0
    set trimspool on
    spool /path/file.csv
    select ...... from .... where .....;
    spool off
    exit

    set pagesize 0 <-- your problem
    you must set it into a high value (max value 50000)
    see:
    SQL> select * from dual;
    D
    X
    SQL> set pagesize 0
    SQL> select * from dual;
    X
    SQL> set pagesize 50000
    SQL> select * from dual;
    D
    X

  • File Write Adapter, First record as a Column Header

    Hi,
    Using File adapter of type WRITE i m creating a file.
    I want to include the column header also as a first record in File.
    One way i can think of Creating one record manually and append as a first record in the File write variable.
    Is there any other simple way or standard way to do it??

    To have fixed header every time before it writes the data, i think you should have file with header and data, then use it to configure file write in JCA adapter.
    This will create a schema with static header and dynamic results to the schema file.
    So that everytime you will have the header then it write the data below that.
    Note: I have done this some years back, i wrote here with from my memory.
    Let me know if you still have problem, wll try to create a simple example and share.
    Thanks,
    Vijay

  • CSV file column heading

    Hi Experts,
    This is File to IDOC scenario. The source file is a csv file with header and item records.
    The file comes with column headings and now problem is how to remove the column headings using my content conversion.
    Any help would be appericiated
    Regards,
    Vijay

    Hi Prakash,
    Yes you are right but now my problem is the file will not have the header all the time. Actually the source files are generated from different legacy systems so some may have column headings and some may not have.. but the structure remains the same.
    Regards,
    Vijay
    Message was edited by: Vijay Kuruvila
    Message was edited by: Vijay Kuruvila

  • Column Header in 2 rows in report file but export to excel data only displays only bottom row of column header

    Post Author: blofrese
    CA Forum: Exporting
    I am using Crystal XI and need to output several columns worth of data. Do to so I attempted to have the data presented in 2 rows within the same section.
    Example:Page Header b contains:  7 columns  5 columns
    Details a contains:  7 columns  5 columns
    When exporting to excel data only I only see the bottom 5 column header info and all the detail data in the correct order. How do I get all the Headers to display on the export file?
    Thank you for your time.

    Post Author: jw1234
    CA Forum: Exporting
    I have the same problem. Have you find the solution yet??
    I'm trying to export as Excel data only and have 2 page header band. It only display the 2nd band with the bottom label. None of the 1st band shows up. 
    Page Header a contains:Report TitleDate Range
    Page Header b contains:Dept Name4 columns
    Please help. Thanks!

  • Problem with column heading sorting

    I have a problem with a classic report.
    I created a simple report. We want to sort the report, when we click the column heading. But when we cklick on the column heading, nothing happens. In firefox we get the error "apex.jQuery.datepicker is undefined".
    When we created another simple report and connect against another database (but the same web-server), we can sort the report, when we cklick a column heading. On both databases we installed the same apex version (=4.0.1.00.03).
    on "apex.oracle.com" (workspace:ama / user:demo / pwd:demo) I created an example.
    what is wrong?? Can anyone help me ??
    Thanks
    Robert

    Hi Jari,
    yes, you are right. I changed my query. I attempted to find a solution and so I changed the query several times => I used other tables, with or without date columns, with or without columns in the select and so on.
    You said, the problem is the authentication scheme. It crossed my mind that I do another change:
    during the creation of my application apex created a login page => page 101. For my example application I don't need a login page, and so I droped the page. After starting the application I saw the error message "page 101 not found ". So I searched for a property where apex definies the "start page" respectively "login page". But I don't found anything. Then I looked into the export file and searched for "101". I found the package procedure "wwv_flow_api.create_auth_setup" and the parameter "p_invalid_session_page", which receive the value "101". In apex the property "Session Not Valid Page" was blank. So I inserted the page number "1" (=the first and sole page in my application).
    After the explained changes I could start my report.
    I don't know, whether these informations help to find the problem!
    Regards
    Robert

  • No column heading in second page in alv report when save in excel file

    Hi Expert,
    How can i remove the column header from Alv report when program execute in background and save in excel file right now
    its comming column header in each page. Client dont want header column in excel from second page. is this possible?
    with regards
    chandan_viji

    Hi Ravi,
    thanks for reply i have solved this problm throug line count and NEW-PAGE LINE COUNT 10000 bcoz client want output in excel file only one page header.
    with regards
    chandan_viji

  • Problem gui_download  -Data looks messy without proper column header

    Dear SDNers,
    Scenario:
    Using FM GUI_download to download excel file to Presentation server.
    Excel file downloads perfecly fine on presentation server with proper column headers when the OS is not XP/Vista.
    Issue:
    when i run this program on my system having Windows Vista,Excel downloads but the column header is all jumbled up without proper differetation.
    Kindly let me know what the the issue could be?
    My Effort:
    I did some googling and found that in Function Modules GUI_DOWNLOAD and GUI_UPLOAD.
    The form of the file name depends on the underlying operating system.
    To make your programs portable to different operating systems, we should use the function module FILE_GET_NAME.
    which returns the system-dependent name for an abstract file name.
    Kindly let me know if this is correct.
    Reason am asking is now i dont have access to code and check the same since i dont have authorization.
    Regards,
    SuryaD.
    Edited by: SuryaD on Jan 12, 2010 2:20 PM

    No response.So closing the thread.

Maybe you are looking for

  • Oracle to connect MySQL

    Dear All, from couple of days I am trying to connect mysql from my oracle database. I have studied so many documentations and have created one of my own. I am just struck at one point. My oracle database is 11gR1 and CentOS 5.1 32-bit is the operatin

  • How to control screen ML81N

    Hi expert, -In ML81n, I know when we edit one Service Entry (SE) and move to the other SE within the PO, SAP system will not save the data. -But when we move from one SE from one PO to the other PO, SAP system will as for save before proceed. -So, my

  • UML associations and code generation don't work

    Hello, I've maid a Class Diagramm in JSE 8, class generation works great, but I have a problem with associations : they are not generated (ie no attributes in class files). I've tried to give association name and also named both ends, but nothing bet

  • App. update thing 5800

    Hey guys. The thing is, i'm running out of memory in my 5800, i had 36 mb free in my phone and after updating to ovimaps 3.3 i have 30 mb, a there's still 15 mb to be updated, my question is, can i set the updates (im updating with the app. update)to

  • Finding hidden files

    Hi What's the easiest way to find/show hidden files? Cheers phil