Proper sheet name for Excel export

In CR 8.x, name of the Excel worksheet did correspond to the name of the report file.
Same report in CR 2008 when exported keeps default sheet name as "Sheet1"
Is it possible to have report file name being used instead as it was before?

Hi Serguei
You will have to change the Excel sheet name manually after exporting the report.  You cannot retain the report name to the Excel sheet after exporting.
Regards
Girish Bhosale

Similar Messages

  • Change Sheet Name for Excel Report?

    Hi,
    When I create an Excel report out of BI Publisher, the sheet name always matches the file name. For example, if I save the file as test1.xls, when I open the spreadsheet, the sheet's name is "test1". I would like the sheet name to be different from the file name. It doesn't look like BI Publisher has an option for that specific need. So, I looked at the xls file in a text editor and noticed it was HTML...and I don't think there's something I could tweak in the HTML to make the sheet name differ from the file name...is there?
    Any ideas for my problem?
    Thanks...
    Kevin

    Hi Serguei
    You will have to change the Excel sheet name manually after exporting the report.  You cannot retain the report name to the Excel sheet after exporting.
    Regards
    Girish Bhosale

  • Title for Excel Export

    Hi all.
    In BI 7.0, after executing a query, I can download the results to Excel and the description of my query name shows as the first row in the Excel sheet.
    When I use this query in a template that also uses the tab item, the data is dumped to Excel but the name of my query does not show.  I have tried changing the Export command parameters to have a header but that seems to only apply to PDF downloads. 
    I've considered putting in a label item (or something similar) with the title in it,  to download to excel with the data, but I'd rather not if there is a simpler soultion.
    Thanks for your help.
    Jeff

    Hi Jeff,
    when you execute a query from Query Designer, the web Template 0ANALYSIS_PATTERN is used. If you lookup the button group parameters there, you could see what and how it is exported to excel.
    So, you have to add a text item to your web template and bind the text content to the query title. Then it will be exported to excel.
    The parameters according headers, page format etc. is not used for Excel export.
    Look up [note 1178857|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=1178857].
    Best regards
    Arne

  • How to give dynamic name for csv export files?

    Hi,
    how we can give dynamic file name for each csv export file? ex(&item_name.csv)
    I am using apex 4.1 and IE 6,
    thanks in advance
    regards
    Chandran

    Please help me on this
    I am using report template as a csv export..
    when user click on download link on other page he will redirect to csv export temlate page and he is is directly get the open or save window
    but dynamic title name is not working for only for this.
    regards
    Chandran

  • Setting the default Output Name for the Export Media dialog

    In File | Export | Media the Export Settings always show the wrong Output Name, from a project I did several days ago. If I change it for this export, the wrong path just comes back again for the next export.  I don't know how I accidently  got it set for the earlier project.  I don't see any way to set it. Could someone tell me where this is set?  I'm running PrPro CS4.
    Thanks

    dkeubnasoieng wrote:
    I'd read earlier the update wasn't a good one so had avoided it. The
    real frustration comes from not finding how I did it a couple months ago!
    I do not know where you read that but there is nothing wrong with the update.
    Here you will find the latest update.
    http://www.adobe.com/support/downloads/product.jsp?product=98&platform=Windows

  • Is any different between ECC 5.0 and ECC 6.0 for Excel export?

    Dear all,
    As you know, most standard SAP report allow Excel export. I just wonder is any different between ECC 5.0 and ECC 6.0 for excel report in standard SAP reports?
    In ECC 5.0, Reports in profit center accounting, LIS, or PA, etc. has their own different way to export to excel and is any improvement in ECC 6.0? I Thanks.

    In ECC 5.0, a lot of reports don't have Excel export function instead user has to go to system -> List -> Save -> Local file -> spreadsheet.
    I just wonder is any improvement in ECC 6.0? just like LIS report, user can select export -> Transfer XXL to either pivot table or just plain excel but the function only exist in certain reports in some modules and not all.
    Thanks again.

  • Sheet name from excel file

    hi,
    I m not able to figure out the sheet name which has to be included in the select statement.... i only the filename of xls which the user will be uploading but how shall i get the sheet names from that file?

    So you want to read and interpret an xls file in Java?
    I recommend you to use Jakarta POI, they provides an API to do it so: http://jakarta.apache.org/poi/

  • Dynamic excel name for Excel Destination in SSIS

    I have a for each loop container which executes for each advertise rid.For each advertiser it runs a sql query and exports to an excel file.there are seven advertisers and hence there will be seven excel reports.But my requirement is to name them according
    to the advertisername.Can i do it dynamically from the parameter which is coming in to foreach loop.
    Can i name it dynamically. Can anyone please help in doing this.
    Thanks,
    Abhinav.

    Dynamically created Excel worksheets, parametrized connection string: http://www.bidn.com/blogs/KeithHyer/bidn-blog/2554/dynamic-excel-sheet-creation-expanded
    Arthur My Blog

  • Dynamic file name for report export to csv

    If "Enable CSV output" = "YES" for a report region titled "Invoices", the default file name is "Invoices.csv". If I have a parameter, Pn_MONTH, for the month (e.g. Jan 2010, Feb 2010, etc.) and the report only shows data for that month, I would like to have the resulting file named "Invoices_Jan_2010.csv".
    I've tried setting the Report Export Filename to "Invoices_&Pn_MONTH..csv" and setting the region title to be "Invoices_&Pn_MONTH." but the resulting file name is coming up as "Invoices_.csv"'. I even tried "Invoices_:Pn_MONTH.csv" just to be sure but that makes it "Invoices_:Pn_MONTH.csv"'.
    How can I get this to work?

    This same method works for generating dynamic column headings from other page items, but I've never tried it for the download file name.That's the problem. The parameter P_MONTH is itself a page item and this is not consistent with other dynamic substitution. Looking at the page source, the export link is
    f?p=102:9:8985946323211742:FLOW_EXCEL_OUTPUT_R2805111921107129_en-uswhere presumably "FLOW_EXCEL_OUTPUT_R2805111921107129_en-us" is an application process and "2805111921107129" is the internal id of the region. The filename is not part of the link.

  • Identifying Sheet Name in Excel

    Is there any way to get the name of an excel sheet?

    If you are using Apache HSSF package (which is the de-facto standard), it is as simple as Workbook.getSheetAt(0).getName().
    Note it only supports Excel higher than 95 format.

  • Dynamic Resource name for Excel/csv files

    Hi All,
    Reading from a source excel (as well as csv) file, I tried passing the resource name via a variable which is set to contain the name of the file (refresh). However, on execution, the file name shows up with an additional "\" character without being specified in the variable text causing the interface to face on load step.
    The error says:
    ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection <ConnNameHere>.
    Caused By: java.sql.SQLException: ODI-40438: File not found: C:\DirectoryNameHere\ /OTD.
    Is this expected behavior where one needs to escape the special character?
    I've verified that the extra / is not present in either the variable value or the directory for the Physical Schema.
    TIA.

    http://youtu.be/-QMV6cElgsk
    http://youtu.be/V7OzzZ3kYdc
    http://youtu.be/hNqqbZ4sJWA
    http://youtu.be/TMHzhtEwgrA
    http://youtu.be/REJDi584jh8
    http://youtu.be/jE6k5OfWqi0
    http://youtu.be/P3EKyykseps
    http://youtu.be/-QMV6cElgsk
    http://youtu.be/Gl7YvZohVVA
    http://youtu.be/zb1ue5BP9mI
    http://youtu.be/NhPDcc8n4VU
    http://youtu.be/tD_kw5QXmps

  • Excel export & Layout feature for UI element table

    Hello,
      I have a requirement to implement Excel export and saving of user layout in webdynpro table. I am not using ALV table but table UI element. Please let me know how I can implement the same.
    Regards
    Nilanjan

    Let say you have button at table toolbar to export table data into excel. On click of this button you want to perform export:
    you need to convert the content of context node bounded to table into an xstring to be used for export to an external file.
    use following steps to convert your context node data into XSTRING
    1. Get reference to the wd table displaying the data
    2. Create header row for export
    3. Get columns of table
    4. Create export row with field names for excel header row
    5. Collect export attribute names
    6. Get your context node data
    7. Build your export string such that value of attributes in each line are separated by horizontal tab i.e. %_HORIZONTAL_TAB and all lines are separated by newline i.e. %_NEWLINE
    8. Once your export string is ready convert it into xstring using FM:
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text   = lv_export_str
        IMPORTING
          buffer = xstring.
    9. Once XString is ready, use following method to export into yur file type:
    CALL METHOD cl_wd_runtime_services=>attach_file_to_response(
           I_FILENAME = 'exporttabledata.xls'
          I_CONTENT =  lv_xstring
          I_MIME_TYPE = 'EXCEL' ).

  • About excel export for WD!

    i 've seen the thread  <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/edc2f3c2-0401-0010-8898-acd5b6a94353"><b>web dynpro Binary Cache</b></a>.
    <b>i have to got some changes for requirement:</b>
      <b>1.></b>i don't wanna to open a new URL page and a download dialog windows(open/save/cancel option buttion) when i  click excel URL file.i hope it only to pop the download dialog windows;
      <b>2.></b> after i download the excel file to my local computer.i don't wanna to select some options(1.As a XML list;2.As a read-only workbook) to open it.i hope i can open it directly by click the *.xls file.
      <b>3.></b>i don't know how to change the column name for excel file. Liking some blank-letter maybe appear in  the column name. e.g.: <b>First Name</b> not <b>FirstName</b>.
        looking forward to u reply.thanks in advance!

    Point 2 and Point 3 are solvable in the following way.
    Refer the Web Dynpro Binary Cache and there are minute changes that needs to be done.
    Implement the following methods:
    exportToCSV
      public void exportToCSV( com.sap.tc.webdynpro.progmodel.api.IWDNode dataNode, java.util.Map columnInfos )
        //@@begin exportToCSV()
         byte[] excelCSVFile;
         IWDCachedWebResource cachedExcelResource = null;
         String fileName = dataNode.getNodeInfo().getName() + ".csv";
         try
              excelCSVFile = toExcelCSV(dataNode, columnInfos).getBytes("UTF-8");
              cachedExcelResource = getCachedWebResource(excelCSVFile, fileName, WDWebResourceType.getWebResourceType("csv", "application/ms-excel"));
              if(cachedExcelResource != null)
                   wdContext.currentContextElement().setExcelFileURL(cachedExcelResource.getURL());
                   wdContext.currentContextElement().setExcelFileName(cachedExcelResource.getResourceName());
                   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
    To Excel CSV
      public String toExcelCSV( com.sap.tc.webdynpro.progmodel.api.IWDNode dataNode, java.util.Map columnInfos )
         StringBuffer x = new StringBuffer();
         String attributeName, headerName;
         //trimHeaderTexts(columnInfos);
         for(Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();)
              attributeName = (String) iter.next();
              headerName = (String) columnInfos.get(attributeName);
              x.append(headerName)
               .append(",");
         x.append("n");
         for(int i = 0; i< dataNode.size(); ++i)
              IWDNodeElement dataNodeElement = dataNode.getElementAt(i);
              for(Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();)
                   attributeName = (String) iter.next();
                   x
                    .append(dataNodeElement.getAttributeValue(attributeName))
                    .append(",");
              x.append("n");
         wdComponentAPI.getMessageManager().reportSuccess(x.toString());
         return x.toString();
    Regards,
    Subramanian V.

  • Download to a particular sheet  in MS- Excel

    Hi Experts,
    I need to download data from my internal table into a particular worksheet(say sheet1, sheet2..etc ) in MS-Excel.
    Can any one guide me how to do this?
    Thanks
    Dany

    Use FM : EXCEL_OLE_STANDARD_DAT,
    mention sheet name for every internal table and see the example code :
    Tables
    tables : zsdcarton,
             ztruck,
             ztruckstatus.
    Constants
    constants: c_werks(4) type c value '1000'.
    Internal table for Ztruck
    data : begin of i_ztruck occurs 0,
           werks  like ztruck-werks," Plant
           vdatu like ztruck-vdatu, " Delivery date
           ZZTRKNO like ztruck-ZZTRKNO, " Route #
           ZZSHIPTIME like ztruck-ZZSHIPTIME, " Dispatch time
           ZCLTIME like ztruck-ZCLTIME, " Truck close time
           end of i_ztruck.
    Internal table for ZSDCARTON
    data : begin of i_zsdcarton occurs 0,
           lateflag like zsdcarton-lateflag,
           zzslot like zsdcarton-zzslot,
           status like zsdcarton-status,
           end of i_zsdcarton.
    Internal table for Final output
    data : begin of i_final occurs 0,
           vdatu like ztruck-vdatu, " Delivery Date
           ZZTRKNO like ztruck-ZZTRKNO, " Route #
           ZZSHIPTIME like ztruck-ZZSHIPTIME, " Dispatch time
           ZCLTIME like ztruck-ZCLTIME, " Truck close time
           load_compl_c(5)     type n , " Load Complted Time
           status_s_total(5) type n,  " No Scan/Load
           status_l_total(5) type n,  " Late Scan
           end of i_final.
    Internal Table XLS File Header
    DATA: BEGIN OF i_head OCCURS 0,
          field(30) TYPE c,
          END OF i_head.
    Variables
      status couter
    data: status_total(5)   type n,
      no scan / no load
          status_s(3)       type n,
          status_s_total(5) type n,
      good
          status_g(3)       type n,
          status_g_total(5) type n,
      late
          status_l(3)       type n,
          status_l_total(5) type n,
      manual
          status_m(3)       type n,
          status_m_total(5) type n,
      alternative
          status_a(3)       type n,
          status_a_total(5) type n.
    S E L E C T I O N    -   S C R E E N *************************
    selection-screen : begin of block blk with frame title text-001.
    select-options : p_vdatu for zsdcarton-vdatu obligatory
                    default sy-datum.
    selection-screen : end of block blk .
    S T A R T  -  O F  - S E L E C T I O N  ******************
    start-of-selection.
    Get the data from ZTRUCK and
      perform get_data_tables.
    Down load the data into XLS file
      perform get_download.
    S T A R T  -  O F  - S E L E C T I O N  ******************
    end-of-selection.
    *&      Form  get_data_tables
    FORM get_data_tables.
      data : lv_time like sy-uzeit.
      select werks
             vdatu
             zztrkno
             zzshiptime
             zcltime from ztruck into table i_ztruck
                                 where werks = c_werks
                                 and   vdatu in p_vdatu.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given current date'.
      endif.
      loop at i_ztruck.
        refresh : i_zsdcarton.
        clear :   i_zsdcarton,
                  lv_time.
    Get the Scan Status for Every route
        select lateflag zzslot status from zsdcarton into table i_zsdcarton
                               where werks =  i_ztruck-werks
                               and   vdatu = i_ztruck-vdatu
                               and   zztrkno = i_ztruck-zztrkno.
        if sy-subrc eq 0.
          loop at i_zsdcarton.
            case  i_zsdcarton-lateflag.
    late cartons
              when  'X'.
    late and never loaded
                if i_zsdcarton-zzslot = space.
                  add 1 to status_s.
                else.
                  add 1 to status_l.
                endif.
    all other exceptions
              when  space.
    check if scanned
                case i_zsdcarton-zzslot.
    good scan
                  when 'S'.
                    add 1 to status_g.
    never scanned
                  when space.
                    if i_zsdcarton-status = space.
    no scan
                      add 1 to status_s.
                    else.
    no load -> no scan
                      add 1 to status_s.
                    endif.
    manual scanned
                  when 'M'.
                    if i_zsdcarton-status = 'M'.
                      add 1 to status_g.
                    elseif i_zsdcarton-status = 'E'.
    exceprtion -> manual
                      add 1 to status_g.
                    endif.
                endcase.
            endcase.
    add totals
            add status_g   to  status_g_total.
          Late Scan
            add status_l   to  status_l_total.
            add status_a   to  status_a_total.
          No Scan and Load
            add status_s   to  status_s_total.
            clear : status_g,
                    status_l,
                    status_a,
                    status_s.
          endloop.
        else.
          continue.
        endif.
    Get the Load Complete Time
        select single uzeit from ztruckstatus into lv_time
                                       where   werks = i_ztruck-werks
                                       and     lgnum = '100'
                                       and     vdatu = i_ztruck-vdatu
                                       and     zztrkno = i_ztruck-zztrkno
                                       and     tstat = 'L'.
        if sy-subrc eq 0.
          write: lv_time(5)
                  to i_final-load_compl_c     using edit mask '__:__'.
        endif.
    Delivery Date
        i_final-vdatu = i_ztruck-vdatu.
    Route #
        i_final-zztrkno = i_ztruck-zztrkno.
    Dispach time
        i_final-zzshiptime = i_ztruck-zzshiptime.
    Truck Close Time
        i_final-zcltime = i_ztruck-zcltime.
    No Scan/ Load
        i_final-status_s_total = status_s_total .
    Late Scan
        i_final-status_l_total = status_l_total.
        append i_final.
        clear : status_g_total,
                status_l_total,
                status_a_total,
                status_s_total,
                lv_time,
                i_final.
      endloop.
    ENDFORM.                    " get_data_tables
    *&      Form  get_download
          Download the data
    FORM get_download.
      data : lv_file like rlgrap-filename,
             lv_date(8) type c.
      lv_date = sy-datum.
      concatenate 'C:/Truckload'  lv_date into lv_file.
    Fill the Header Values
    Delivery Date
      i_head-field = 'Delivery Date'.
      append i_head.
    Route #
      i_head-field = 'Route'.
      APPEND i_head.
    Dispatch Time
      i_head-field = 'Dispatch Time'.
      append i_head.
    Closing Time
      i_head-field = 'Closing Time'.
      append i_head.
    Load Completed Time
      i_head-field = 'Load Completed Time'.
      append i_head.
    No Scan/Load
      i_head-field = 'No Scan/Load'.
      append i_head.
    Late Scan
      i_head-field = 'Late Scan'.
      append i_head.
      CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
        EXPORTING
          FILE_NAME                       = lv_file
      CREATE_PIVOT                    = 0
          DATA_SHEET_NAME                 = 'TruckLoad'
      PIVOT_SHEET_NAME                = ' '
      PASSWORD                        = ' '
      PASSWORD_OPTION                 = 0
       TABLES
      PIVOT_FIELD_TAB                 =
          DATA_TAB                        = i_final
          FIELDNAMES                      = i_head
       EXCEPTIONS
         FILE_NOT_EXIST                  = 1
         FILENAME_EXPECTED               = 2
         COMMUNICATION_ERROR             = 3
         OLE_OBJECT_METHOD_ERROR         = 4
         OLE_OBJECT_PROPERTY_ERROR       = 5
         INVALID_FILENAME                = 6
         INVALID_PIVOT_FIELDS            = 7
         DOWNLOAD_PROBLEM                = 8
         OTHERS                          = 9
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " get_download
    Thanks
    Seshu

  • PROBLEM IN EXCEL EXPORT. URGENT!!!!!

    hi all,
    I have requriment acco to which i need to download or export the content of the table UI element to excel 2003. I used the a excel export application, but facing problem like. in the below mentioned method name, how are the parameters
    1) com.sap.tc.webdynpro.progmodel.api.IWDNode
    2)java.util.map
    has been taken, i am not able to get this in my application where i need to use this method.
    or is there any other method by which i can export my table data to excel2003. please this really urgent requirment.
    public void exportToExcel2003( com.sap.tc.webdynpro.progmodel.api.IWDNode
    dataNode, java.util.Map columnInfos )
    REGRADS
    SHARAN
    Edited by: saisharan kalla on Dec 20, 2007 6:01 AM

    Hi Sharan,
                    What exactly is the problem u r facing with those parameters??
    U can use this method also for excel export
    /people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
    U can check with this also
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0&
    regards
    Sumit

Maybe you are looking for