Export to Excel - Problem with extra rows

Hi have a report that has 3 groups. I suppress the group headers and am using the group footers for totals.
When I export to excel, I get extra rows in the excel file for the suppressed sections. How can I get rid of these?
Thanks,
Linda

I can use this to get out additional rows on my excel export. However, in the columns, I usually put some distance between each column so the columns won't run together. This is giving me extra columns. It would be much easier if I did not have to put that distance. Is there a way to format the field to have a leading or trailing space so all the fields don't run together on the report?
example:
field1
field2
field 3
if all these fields have data the output would look like:
field1datafield2datafield3data
how can I make it look like:
field1data field2data field3data

Similar Messages

  • Export To Excel problem with HSSFWorkbook

    Hi all,
    In a webdynpro application, we are writing data from webdynpro context to excel sheet using HSSFWorkbook. Below is the code
    This works fine when there are only 500 to 600 records .But if there are more than 500-600 records excel gets corrupted and error message is displayed.
    While going through different forum I found this is due to encoding. When I comment the for loop in code below, problem doesnu2019t exists any more.Even 10000 records are successfully displayed.
    Please guide :
    How encoding is causing this problem and how can I rectify this?
    What exactly this code (code in bold in below code snippet ) is checking ?
    What will be effect if I remove this code as this webdynpro application is used in many countries ?
    public byte[] exportFile() throws Exception{
              InputStream stream = new ByteArrayInputStream(xslSource);
              HSSFWorkbook workbook = new HSSFWorkbook(stream);
              stream.close();
              process(workbook,true);               
              ByteArrayOutputStream bos = new ByteArrayOutputStream();
              workbook.write(bos);
              byte[] retorno = bos.toByteArray();
              for(int c=1;c<retorno.length-1;c++){
                   if(retorno[c-1]==0 && retorno[c]==-125 && retorno[c+1]==1){
                        retorno[c]=(byte)3;
                   }else if(retorno[c-1]==63 && retorno[c]==67 && retorno[c+1]!=0){
                        retorno[c]=(byte)35;
              bos.close();
              return retorno;
    Regards ,
    Madhvika

    hi
    check this blog
    /people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache

  • I cant export my pdf to excel - Problem with conversion

    I cant export my pdf to excel - Problem with conversion
    Somebody is having this problem?

    Hi,
    May i know what is the challenge you are facing?
    Check with another file.
    You can try with different browser as well.
    Regards,
    Florence

  • ALV Export to Excel problem

    Hi All
    I have a problem with exporting a ALV Grid to Excel. If I add the quantity field to my Grid output the excel spreadsheet does not bring through the quantity field and it puts all the other columns one place out. I tried changing field attributes from QUAN to CHAR field and it made no difference.
    I am using the standard sap functionality:
    List > Save > Local File > Spreadsheet
    It works fine as long as I do not include my quantity column? I have tried many other custom FM's with no luck because all of them require you to put in a internal table inside the function but I do not want to send whole internal table to spreadsheet only the ones selected in the ALV Grid. So please do not suggest function modules as I have had no luck with these!
    I need to know how to use the standard sap alv export to excel function with my quantity field? The only issue I can think of that would cause a error would be that I have 50+ columns on the grid and internal table. Even If I put quantity field by itself in the grid then export to excel it brings through the Qty header but no data.

    Hi Atish
    Quantity is below: (RMNGE)
    Data type is QUAN, Length 10, Decimal places 0.
    DATA: BEGIN OF I_DATA OCCURS 0.
             INCLUDE STRUCTURE ZWRNTHDR.
    DATA:   POSNR LIKE ZWRNTITM-POSNR,      "Sales Document Item
             MATNR LIKE ZWRNTITM-MATNR,      "Material Number
             CLRFL LIKE ZWRNTITM-CLRFL,      "Claim Reference Line ID
             PCBPN LIKE ZWRNTITM-PCBPN,      "PCB Part Number
             PCBPX LIKE MAKT-MAKTX,          "PCB Part Number Description
             RMNGE LIKE ZWRNTITM-RMNGE,      "Quantity
             MEINS LIKE ZWRNTITM-MEINS,      "Base Unit of Measure
             WRNTC LIKE ZWRNTITM-WRNTC,      "Warranty Claimed
             WRNTG(3) TYPE C,                "Warranty Given
             FLTCD LIKE ZWRNTITM-FLTCD,      "Fault Code
             MFATE LIKE ZWRNTITM-MFATE,      "Module Fate
             CMNTS LIKE ZWRNTITM-CMNTS,      "Comments
             SRIAL LIKE ZWRNTITM-SRIAL,      "Serial Number
             PFREX LIKE ZWRNTITM-PFREX,      "PFR External
             PFINT LIKE ZWRNTITM-PFINT,      "PFR Internal
             RLCRQ LIKE ZWRNTITM-RLCRQ,      "Replacement Requested
             TCHID LIKE ZWRNTITM-TCHID,      "Technician ID
             PMATN LIKE ZWRNTITM-PMATN,      "Parent Material
             PMATX LIKE MAKT-MAKTX,          "Parent Material Description
             MDLNO LIKE ZWRNTITM-MDLNO,      "Module Number
             MDLNT LIKE MAKT-MAKTX,          "Module Description
             CLVFX LIKE ZWRNTITM-CLVFX,      "Claim Value FX
             CRVFX LIKE ZWRNTITM-CRVFX,      "Credit Value FX
             CRVLC LIKE ZWRNTITM-CRVLC,      "Credit Value Local
             XRATE LIKE ZWRNTITM-XRATE,      "FX Rate
             NAME1 LIKE KNA1-NAME1,          "Customer Name
             MAKTX LIKE MAKT-MAKTX,          "Material Description
             CTYPT LIKE DD07T-DDTEXT,        "Customer Type Text
             BUNTT LIKE DD07T-DDTEXT,        "Business Unit Text
             FRCRT LIKE DD07T-DDTEXT,        "Freight Carrier Text
             FLTCT LIKE ZFLTCODES-FDESC,     "Fault Code Text
             ISRES LIKE ZWRNTITM-ISRES,      "Issue Resolved
             DCODE LIKE ZWRNTITM-DCODE,      "Date Code
             ISTAT LIKE ZWRNTITM-ISTAT,      "Ignore Stats
             LABCL LIKE ZWRNTITM-LABCL,      "Labour Claimed
             MATCL LIKE ZWRNTITM-MATCL,      "Material Claimed
           END OF I_DATA.
    Field Catalog:
    FORM          BUILD_ALV_COLUMNS
    Build Main Page ALV Fieldcat
    FORM BUILD_ALV_COLUMNS.
       CLEAR FIELDCAT_LN.
       ADD 1 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'KUNNR'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-KEY = 'X'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 2 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'CLMID'.
       FIELDCAT_LN-KEY = 'X'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 3 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Claim Type'.
       FIELDCAT_LN-FIELDNAME = 'CTYPT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 4 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'CLREF'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 5 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Business Unit'.
       FIELDCAT_LN-FIELDNAME = 'BUNTT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 6 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'CURCY'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C500'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 7 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'CHKID'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 8 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'RECVD'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 9 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'APVDT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 10 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'CRDRF'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 11 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'RORDR'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 12 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'RORDD'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 13 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'ARVDT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 14 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'TSTDT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 15 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'TEDDT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 16 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'FSTDT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 17 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'FEDDT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 19 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Freight Carrier'.
       FIELDCAT_LN-FIELDNAME = 'FRCRT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 20 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'FRTRF'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 21 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'FRINV'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 22 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'UNAMECR'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 23 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'DATUMCR'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 24 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'UNAMECH'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 25 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'DATUMCH'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 26 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'UNAMEDE'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 27 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTHDR'.
       FIELDCAT_LN-FIELDNAME = 'DATUMDE'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 28 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'POSNR'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-KEY = 'X'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 29 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'MATNR'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 30 TO COL_POS.
       FIELDCAT_LN-TABNAME   = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'RMNGE'.
       FIELDCAT_LN-SELTEXT_L = 'Qty'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 31 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'CLRFL'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 32 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'PCB Part No'.
       FIELDCAT_LN-FIELDNAME = 'PCBPN'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 33 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'MEINS'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 34 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'WRNTC'.
       FIELDCAT_LN-DO_SUM = SPACE.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 35 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Warranty Given'.
       FIELDCAT_LN-FIELDNAME = 'WRNTG'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 36 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'FLTCD'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 37 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'MFATE'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 38 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'CMNTS'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 39 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'SRIAL'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 40 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'PFREX'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 41 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'PFINT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 42 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'RLCRQ'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 43 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'TCHID'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 44 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'PMATN'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 45 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'MDLNO'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 46 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Customer Name'.
       FIELDCAT_LN-FIELDNAME = 'NAME1'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-KEY = 'X'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 47 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'MAKT'.
       FIELDCAT_LN-FIELDNAME = 'MAKTX'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 48 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Parent Matl Description'.
       FIELDCAT_LN-FIELDNAME = 'PMATX'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 49 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'PCB Matl Description'.
       FIELDCAT_LN-FIELDNAME = 'PCBPX'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 50 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Fault Code Description'.
       FIELDCAT_LN-FIELDNAME = 'FLTCT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 51 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'CLVFX'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C500'.
       FIELDCAT_LN-NO_ZERO = 'X'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 52 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'CRVFX'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-NO_ZERO = 'X'.
       FIELDCAT_LN-EMPHASIZE = 'C500'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 53 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'XRATE'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-NO_ZERO = 'X'.
       FIELDCAT_LN-EMPHASIZE = 'C500'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 54 TO COL_POS.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'CRVLC'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-NO_ZERO = 'X'.
       FIELDCAT_LN-EMPHASIZE = 'C500'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 55 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Module Description'.
       FIELDCAT_LN-FIELDNAME = 'MDLNT'.
       FIELDCAT_LN-COL_POS = COL_POS.
       FIELDCAT_LN-EMPHASIZE = 'C700'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 56 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Iss Resvld'.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'ISRES'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 57 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Date Code'.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'DCODE'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 58 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Ignore Stats'.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'ISTAT'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 59 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Labr Claimed'.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'LABCL'.
       APPEND FIELDCAT_LN TO FIELDCAT.
       CLEAR FIELDCAT_LN.
       ADD 60 TO COL_POS.
       FIELDCAT_LN-SELTEXT_L = 'Matl Claimed'.
       FIELDCAT_LN-REF_TABNAME = 'ZWRNTITM'.
       FIELDCAT_LN-FIELDNAME = 'MATCL'.
       APPEND FIELDCAT_LN TO FIELDCAT.
    ENDFORM.                    " BUILD_ALV_COLUMNS

  • Template having export to excel functionality with filter values in WAD

    Hi,
    I need to create a template which has export to excel functionality with all the filter values that the user has selected in the selection screen.
    export to excel can be done but how can be the output excel sheet contain only those values which we see in browser  when the report is executed with some filters.
    Regards,
    Apeksha

    Hi Apeksha,
    you can achieve this requirement (unless I do not know the detailled requirement) perhaps by using this way of implementation:
    1. Create a new template which contains an info_field which does a data binding to the variable values or the characteristic you want to display. Set the visibility of the top container to "hidden". Add a empty data provider to this template. However be aware that the name for the (empty) data provider must match the name of the data provider within the original template you want to print.
    2. Open your original template and include the template you created in step 1 (Advanced: Web Templates and technical name of the web template created in step 2). Choose the appropriate location (above/below the analysis item).
    3. Check the settings of your export command: do not set a special web item to be printed.
    If you export the template within web the second template should be printed correctly displaying the variable settings chosen in step 2 for the info_field.
    Brgds,
    Marcel

  • Ssrs report export to excel along with parameter filters

    HI,
    In ssrs reports export to excel along with parameter filters,is it possible or not?
    Could you please help me..
    indu

    Hi Sriindu,
    According to your description, you want to export the report into an excel file with the report parameter and filters. And you want to filter data in excel. Right?
    In Reporting Services, the components for exporting report into a file called Reporting Services Rendering Extension. There are three types of Reporting Services rendering extensions: Data Render Extension,
    Soft page-break renderer extensions, Hard page-break rendering extensions. All these three extension are only for rendering data. It can't keep the filters and parameter in the report. Also excel can't support Reporting Services filter in
    an excel file. So your requirement can't be achieved.
    Reference:
    Exporting Reports (Report Builder and SSRS)
    Interactive Functionality for Different Report Rendering Extensions (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou

  • Export to excel. Subreport blank rows generated.

    Dear Forum
    Hoping you can help with a query.
    I have a report that has 3 subreports all are supressed if blank and not shown during preview or print.
    When i try and export the report to excel the returning result is a series of blank rows in excel.
    I know the subreports are the root cause of the issue as when each of them is supressed my blank row count reduces accordingly.
    Is this a know issue or is there indeed a resolution.
    Thank you forum for your assisatnce as ever
    With Kind Regards
    Paul Marks

    Hi Paul,
    Sorry to be a downer but It has been my experience that the more complex a report is the more problems I have when exporting especially to excel.
    Below is a link to the export limitations of Crystal 10...I haven't found a newer version for XI or 2008.  This document doesn't give an exact explanation for each limitation but sometimes it's enough to know that there is an issue related to exporting your report.  In your case there are limitations related to exporting suppressed items to an excel spreadsheet.
    [Crystal Reports 10 - Export Limitations|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0b01060-3a62-2b10-73a1-d03a6c634914]
    I don't know how much data you have but my suggestion is to try exporting your report to a csv file instead because suppression is not as much a problem when exporting to that format.  CSV files can be opened directly by Excel you are just missing any nice formatting.
    If you need a nicely formatted spreadsheet, create a standalone spreadsheet formatted the way you want and either paste in the data from your exported Crystal report or link to the data in the csv file.  I have found this type of conversion takes a little longer to set up but is much easier to maintain. 
    If you do decide to export to csv format i must also suggest that the report be formatted for export (this also helps with data dumps to excel):
    1. Start rows of data at the left most margin and align any subsequent rows with this position.
    2. Make sure the next column (to the right) always starts where the last column ends.  This ensures no blank columns get inserted between your data.  Subsequent rows should have columns aligned in size and count to ensure proper layout.
    3. Make sure all objects in a row have the exact same height and use the "fit to section" command to prevent extra rows from being generated.
    4. Suppress all sections that do not contain any objects needed in your export.
    5. If your data isn't too wide (less than 256 bytes but it can be more if the printer driver used can print at a high dpi setting) consider using a formula to create each row of data i.e. properly padded for space delimited or with the commas where you want them for csv etc).  This also gives you more control on how each data type is formatted.
    Sorry to be so long winded but I hope this helps with your exporting.
    Marshall

  • Gui_Download export to excel delivering only one row in excel output

    Hello,
    I am using Vista Os with the SAP front end logon 710 and Office 2007. Also my company is using Ecc6.0 in the server.
    I am able to export the Itab data to excel but all the rows are on the first row in Excel.
    If i have 3 rows in ITAB then all the 3 rows are on the First row of Excel
    I have supplied these parameters
    filename = 'C:\ITAB2XLS.xls'
    FILETYPE = 'ASC'
    WRITE_FIELD_SEPARATOR = 'X'
    SHOW_TRANSFER_STATUS = 'X'
    tables
    data_tab = itab[]
    FIELDNAMES = headingTab[]
    Is anyone having the same issue like me ?
    Thanks.

    Hi,
    I tried commenting the Field seperator but it didnt change anything. I am still having the same problem.
    I am pasting my code sample.
    data:begin of itab occurs 0,
    grp type c,
    val type i,
    end of itab.
    data:begin of headingTab occurs 0,
    TEXT(10) type c,
    end of headingTab.
    itab-grp = 'A'.
    itab-val = 100.
    append itab.
    itab-grp = 'B'.
    itab-val = 200.
    append itab.
    headingTab-text = 'GROUP'.
    append headingTab.
    headingTab-text = 'VALUE'.
    append headingTab.
    call function 'GUI_DOWNLOAD'
    exporting
    filename = 'C:\ITAB2XLS.xls'
    FILETYPE = 'DAT'
    WRITE_FIELD_SEPARATOR = 'X'
    SHOW_TRANSFER_STATUS = 'X'
    tables
    data_tab = itab[]
    FIELDNAMES = headingTab[]
    I think there is some problem with the Vista / Office 2007 with SAP.
    Any suggestions?

  • Export to Excel problem in Signal Express 2012

    Equipment used: PXIE-8102 CELERON T3100 1.9GHZ Controller Windows 7, PXIE-1071 4 Slot Chassis, PXIE-4140 4-Channel SMU 1.7.5 version.
    I am using Signal Express 2012 and the SMU to plot the I/V characteristics of FET and other active devices. I am able to obtain the anticipated curve traced results but I am not able to Export the data to Excel directly from the Data View using the Microsoft Excel option. The error message is: Data could not be sent to Microsoft Excel. Please ensure you have a properly licensed version of Microsoft Excel. See attachment.
    We have checked our version of Microsoft Office, it is Professional Plus and has the correct volume license so it does not revert to a home or student version.
    I have been able to use the Export to Excel function directly from the Dataview when I was using one of the waveform tutorials supplied with Signal Express so I suspect it is a function of the SMU.
    In conversations with an NI support engineer he felt it may be a problem with "an active x call is just not seeing the license for some reason", his suggestion is to drag the data into Excel rather than use the Data view tab. Because the SMU is being used in a production environment it is not really appropriate to have the operator work at this level so I would rather figure a way to have the data exported using the Data View tab.
    Anyway please can you let me know if there are any known work around for this issue.
    Thank you

    Calvin1957,
    I am not seeing any attachments in the first post or this latest post. The images should be added using the attachments section when creating the post. You should also be able to insert an image using the insert image button in the toolbar. Let me know if you have any questions. Thanks!
    Robert B
    Applications Engineer
    National Instruments

  • Weird Problem with Add Row Button in Master Detail Page

    I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
    In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
    Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
    I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
    The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
    Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?

    I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
    In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
    Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
    I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
    The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
    Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?

  • Export in excel without displaying all rows

    Hello,
    I use OBIEE version 10.1.3.4.1.
    I have a report in "table view" with thousands of rows.
    I would like to export a report to Excel, without displaying the data. Is possible to set the execution as an export in Excel?
    Alternatively I enabled the "Page Control" by 50 "row per page." Is possible to export to excel all the row of the report without to see them all?
    Thanks
    Sara
    Edited by: Sara C. on 25-gen-2010 6.23

    Hi Sara,
    you have 2 options:
    1. use ibots to deliver your report in the form of an excel. This would avoid the generation of report.
    2. Use "download to excel" option. This option downloads the entire content and NOT the ones displayed on the screen.
    Hope this helps.
    cheers,
    Vineeth

  • Export to Excel Problem - Page server Error

    Post Author: Preethig
    CA Forum: Exporting
    Crystal Reports were designed using the Seagate Crystal Reports Developer Version 8.5.3.975.The reports does designed are published in the Seagate Crystal Enterprise 8.0.2.6725  across the web.
    When we try to the export these reports to excel from the Crystal report viewer of the Crystal Enterprise it throws up an error" The export format 'U2FXLS:5' is not supported. &#91;on Page Server : <webserver>.pageserver&#93;."
    The webserver as the Following ConfigurationWindows Terminal Edition - Windows 2000Service Pack 4.Seagate Crystal Enterprise 8.0.2.6725
    The Client system on which the "Export to Excel" is performed has the following Configuration.Windows XP Professional Operating SystemService Pack - SP2.Excel 2002 (10.2614.2625).
    We have tried uninstalling the Crystal Enterprise 8.0.We have also checked for the u2fxls.dll and Crxf_xls.dll in the C:/ <% system Root%> /Crystal.
    Kindly help us to figure out the problem. It has been working fine for quite long and flawed only recently.
    Thank You in advance.
    Thanks and regards,
    Preethi

    Post Author: Preethig
    CA Forum: Exporting
    Cyril,
         Thank You For your tip. But the problem of export To excel could be solved after I renamed the Crxf_xls.dll in the  <%System root%> /Crystal folder which allowed the dll U2fxls.dll to Excel export work just as fine as explained in the Knowledge Base of Bussiness Object.
    Thank you
    With Regards,
    Preethi

  • Underlay row not exported to excel to a single row

    Happy New Year to all,
    I have an underlay function in Details a section.  I also have Details b thru Details z sections.  When using the underlay feature in Details a, it lines up beautifully with Details b row.  However, when I export to excel data only, Details a appears on its own row above Details b.  What can I do to have the underlay row, Details a export alongside Details b in the same row?
    Thanks in advance,
    Regards,
    Zack H.

    Hi zack
    Iam not giving yout he straight forward solution. but here are my inputs,
    1. please check exportingto PDF? if it is fine, then we have to align the report in such a way that export to excel will bring desired result. ioe we have to design, Keeping the result in mind.
    Because, the technique used to export to oexcel is line by line scanning method here as to PDF it is snap shot kind of.
    Best regards
    usama

  • Excel Problems with Mt Lion

    Funny with an Excel file with many sheets (14) on my 17" MacBook Pro, using Mail, if I click on the Excel file to open it, all I get a sheet however all the data does not display in the Excel file. 
    However if I take the same file and drag it to my desktop, letting it create a new file then open the file all the data is in the Excel spread sheet.
    Just wondering if any one else is having a problem with Excel, Mail, & Mt Lion?
    thank you for any reply John

    I've upgraded to Leopard and also have had difficulty printing in excel (using Office for Mac 2004 Student/Teacher Ed)....Word, Powerpoint, and Entourage all print fine.....and I print fine off the internet and in Apple iWork (Numbers, Pages) and in "Mail" . REally strange.....
    I am able to open files in excel, but cannot print them....
    I'm a former PC guy.....very set in my ways (I was) until I bought my wife an iMac G5 last year, before Intel came out. Anyway....she loved the Mac so when my Laptop hard drive fried, I decide to take the plunge and am I glad i did......
    I'm frustrated about this glitch with excel in Leopard....but for those of us who have attempted to (and succeeded) upgrade Microsoft Operating systems (though you never really succeed....Microsoft just keeps fixing things...with new patches or new service packs!).....well you know what I mean....upgrading to Leopard was a breeze.....I just wish I could figure out this problem with printing in excel!
    I would drop excel and just use "Numbers", but I work with all PC users (using various versions of Office) so I need to make sure they can open my "Numbers and Pages" files and even amend them if needed,...which I don't know they can do??????? i know I just jumped subjects here...but anyone have any thoughts on this too?
    To summarize:
    1. problems printing in excel with Leopard upgrade on macbook.
    2. can PC users with Office 2004 (I don't think any use the new 2007)....open my files from email if I generate them with Numbers or Pages?
    Thanks,
    Steve D.

  • Export Release Build - Problem with Server Settings

    Hello, i have a big problem and i searched the whole day yesterday but didnt found an answer...
    I started a Flex Mobile and PHP Project. The Project has a Data/Services included wich loads some customer from a database (sql)... for the first a
    used Zend and try it local (http://localhost and used the htdocs Folder of Zend)... EVERYTHING WORKS PRETTY FINE... so NOW my problem
    I wanted to export this project to a release build for my android phone... so the first warning of Flash Builder ist that the project ist currently configured to access data services from a local url. Before exporting the application, you may need to deploy your services to a remote server, then change the server root URL for your project. Click here to change server settings.
    When i click the button i get the server setting.
    Web root: C:\Program Files (x86)\Zend\Apache2\htdocs
    Root URL: http://localhost
    whe i change it now i get an eror:"The selected web root folder does not exist (i attached i screenshot of it).
    i entered de domain of my server (i also tried the ip) at Root URL. And i think there ist a problem with the Web root...? i get scary

    i know WHY Flashbuilder tells me that i have to change the setting when i deploy on the device
    my problem ist that i got this error...
    and the domain wich i have in the screenshot should only explain how i tried it...
    i entered my server url (the real domain) and i entered the folder "app" wich i have created via ftp on my server...
    BUT i also get this error (lik in the screenshot)
    i think at ROOT URL i cant make lot mistakes .... http://myserver.de or the ip
    but i think maybe my web root ist incorrect? i entered here the folder wich is directliy on my server...?
    i dont know exactly but i got an error like in the screen

Maybe you are looking for

  • Error code 500 internal server error

    I got a computer from my brother. It has windows 7 starter on it. It has been running fine, but now it says that the Microsoft teredo tunneling adapter driver is not working. It also gives me an error code 500 internal server error, when I try to sea

  • Power replacement on 1st generation G5 (100-120V)

    Hello, I'd like to replace the power supply on my 1st generation EMC 2008 Imac 20". Is it possible to replace it with the 2nd generation EMC 2056? Will this allow my imac to work on a power range of 100-220v? Cheers.

  • What DAC is used in Z10? How does Z10 sounds like as a music player?

    Can't find anythere what DAC is used in Z10 device? Is there any information / test result on sound quality (sound quality = quality of audio output through the headphone connector) Solved! Go to Solution.

  • Where do Apple's desktop image files live?

    Hi, I use my own collection of pictures to rotate my desktop image, but there are some from Apple that I like and would like to get in the mix. Does anyone know where these files live so that I can copy the ones I want into my desktop pics folder?? T

  • Thousands of photo duplicates

    Help! I am a new Mac/iPhoto user and am swimming in duplicates of photos, due to indiscriminate dowloading of several backup CDs. Trouble is, I have loaded over 3000 photos into library, and am now stuck because I can't get rid of duplicates without