Formatting of Excel worksheet While using Export to Excel

Hello Experts,
I have a requirement to format the workbook according to the user needs while the user clicks "Export to Excel" in the webpage of Web template.
The major problem is with the hierarchy.. when exporting, the hierarchy nodes have triangular symbols.. is there any way to remove them??
What can i do, so that i can make changes to the default export format of the workbook, while exporting it??
Any helpful suggession will be appreciated and rewarded.
Thanks and Best Regards,
Vikas Bittera.

Hi Mark,
Thank you very much for the response.. however this is not the full solution of my problem..
Now, if i execute the same query in the BEx explorer analyzzer, then even this setting does not work... it shows traingles.. wht oue intention is to use Excel grouping function, so that the user will have better navigation in hierarchy..
so is there any way to do this? we need to other formatting of the output.. is it possible that we can change the standard query ouput in excel??
Looking ahead for your response..
Thanks and Best Regards,
Vikas Bittera.

Similar Messages

  • How can I select the existing worksheet while using OLE2 to open the template workboo

    Source:
    application:=ole2.create_obj('Excel.Application');
    workbooks:=ole2.get_obj_property(application,'Workbooks');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'c:\RptTemplate.xlt');
    workbook:=ole2.invoke_obj(workbooks,'Open',args);
    ole2.destroy_arglist(args);
    worksheets:=ole2.get_obj_property(application,'Worksheets');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'Sheet1');      
    worksheet     :=ole2.invoke_obj(worksheets,'Select',args);
    ole2.destroy_arglist(args);
    Problem:
    1. While executing the above code, error -305500 occurs after executing "worksheet := ole2.invoke_obj(worksheets','Select',args)". How can I select the sheet i wanted in the template ??
    2. As I refer to the forms on-line document, it stated that the ole2 programmers documentation can provide all object types and methods that can be used with the OLE2. Does any link can provided to download the specified documentation ??

    The error is probably that your Worksheets variable is actually empty. Looking at your code I think the problem is that you try and get the value of the worksheets collection from the application then you should try and get it from the Workbooks object.

  • Problem with format displayed in output while using Pivot table

    Hi All,
    I am using Pivot table in 10.1.3.4.1 version for displaying dynamic type data. Data is coming fine but it is coming in very strange format. I have following two tables in my RTF Template.
    Table1 using Pivot table
    !http://farm3.static.flickr.com/2570/4092137243_924cca92ca.jpg!
    Table 2 - A normal table
    !http://img5.imageshack.us/img5/6651/table3p.jpg!
    In the output PDF, “Table 2” shows data fine but “Table 1” shows very strange kind of behaviour if the columns exceed more than 5 in “Table 1” . If columns in Pivot table output are more than 5[at present according to my Table1 size] then columns more than 5 are shown on next page after Table 2 instead of displaying inside outer table “Table1“. Anyone has any idea what is the reason behind this strange behavior and how can I avoid it ?
    Thanks
    -Sookie

    Hi All,
    I tried including following piece of code in RTF as mentioned here: [http://winrichman.blogspot.com/2009/05/cross-tab-by-limiting-number-of-colums.html] but as a result it showed blank page in report. Nothing else.
    <?variable:G11;count(xdoxslt:distinct_values(/CUST_SUMMARY/LIST_CLIENT/CLIENT/LIST_OVERALL_ASSET_ALLOC/OVERALL_ASSET_ALLOC/ASSET_LIAB_DESC))?> <?variable:numcol;5?>
    <?template:table1?><?param:cellvalue;1?><?param:maxcolvalue;5?>
    <?choose:?>
    <?when:$cellvalue < $maxcolvalue?>
    !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
    <?call@inlines:table1?><?with-param:cellvalue;(number($cellvalue) + $numcol)?><?with-param:maxcolvalue;$maxcolvalue?><?end call?>
    <?end when?>
    <?end choose?>
    <?end template?>
    Also modified RTf as
    C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
    H
    G <?for-each@column:$c594//C1?><?if@column:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
    ASSET_LIAB_DESC <?./H?>
    E <?end if?><?end for-each?>
    G <?for-each:$c594//R1?>
    PORTFOLIO_NAME <?./H?>
    G <?for-each@cell:.//R1C1?><?if@cell:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
    99.00% <?./M1?>
    E <?end if?><?end for-each?>
    E <?end for-each?>I have this as my xml
    <?xml version="1.0" encoding="UTF-8"?>
    <CUST_SUMMARY>
    <CLIENTID>1034</CLIENTID>
    <LIST_CLIENT>
    <CLIENT>
    <CLIENT_ID>1034</CLIENT_ID>
    <LIST_OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>-3.6085338841885100259678951503326304942E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>2.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>.4</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    </LIST_OVERALL_ASSET_ALLOC>
    </CLIENT>
    </LIST_CLIENT>
    </CUST_SUMMARY>and Original RTF looks like !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
    with code as
    C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
    H <?horizontal-break-table:1?>
    G <?for-each@column:$c594//C1?>
    ASSET_LIAB_DESC <?./H?>
    E <?end for-each?>
    G <?for-each:$c594//R1?>
    PORTFOLIO_NAME <?./H?>
    G <?for-each@cell:.//R1C1?>
    99.00% <?./M1?>
    E <?end for-each?>
    E <?end for-each?>Anyone can now tell my mistake? What wrong I am doing? Why it is showing blank page in output? How to solve this page breaking problem?
    Thanks
    -Sookie

  • Is it safe to format and reinstall partition while using bootcamp?

    I've got a macbook pro running OSX 10.9. Currently, I have my drive partitioned using bootcamp. I would really like to format and reinstall the apple side of my partition without doing anything to windows side. Is there anything to be worried about or will the formatting and reinstilation be the same as normal?

    It will not disturb Boot Camp. Do this:
    Install or Reinstall Mavericks, Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion, Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • In Flex Application Session out while export to excel while using navigateToURL _Self ?

    Hi,
    I am using Flex 3.0 and facing one problem session out while export to excel in Live server not on localhost .
    I have Used navigateToURL (url, "_self"); export to excel. While url is sevrlet call.
    In localhost(tomcat) everything is working fine while another server or live in weblogic server, my session Is Getting Lost and User is re-directed to login screen again.
    what to do to resolve this issue.
    while I tried to use _blank instead of _self then session Is getting preserved but its opening blank new window which user will not accept necessary page.
    please Suggest what to do to preserve The session while using _self ..
    waiting for quick reply.
    Regards,
    prabhat

    I'm not using Flex, but the following preserves session in Flash:
    var url = "http://" + WebServerIPAddress + "/" + ApplicationName + "?data=" + datavalue;
    var cmd:String = "window.open('" + url + "','win','height=768,width=1024,toolbar=no,scrollbars=yes');";
    var request:URLRequest = new URLRequest("javascript:" + cmd + " void(0);");
    navigateToURL(request, "_self");

  • I have a problem in formatting cells in Excel while using OLE method.

    Hi All,
    I have a problem in formatting cells in Excel while using OLE method.
    My requirement is to have certain fields of a cell as text and amount fields should be in number format.
    How to format a cell in Excel in OLE method of downloading data to excel.
    For example I have plant field whose value is 0002 in internal table while coming to excel it is showing as 2 .
    I want that field to be shown as 0002.(text format)
    Material field whose value in internal table is 000000000000000051 is shown as 51 which has to be shown as
    000000000000000051.(text format).
    Amount field should be in number format so that totalling is possible .
    So I need some cells in text format and some in number format.
    Please suggest a sloution.
    Thanks in advance,
    Regards,
    vidyulatha.U

    https://forums.sdn.sap.com/click.jspa?searchID=21931962&messageID=6852860
    hope this helps.

  • To format an Excel worksheet invoked by oracle form using DDE functions

    I'm exporting data from oracle form6 into excel sheet using DDE functions.
    Is there any DDE functions to format the excel sheet.

    Maybe you can use format commands through DDE (if the DDE server suports them) but I personally don't know.
    My approach is to record an excel macro which formats your sheet and then invoke the macro through DDE. You can fill cells with control numbers (like number of rows, number of cells) so you can make your macro even smarter by reading these numbers.

  • Change in report format after exporting from pdf format to excel format.

    Hi,
    I got a problem while exporting the pdf format of the Report to Excel format "Fully-Foramtted Grids and Texts".
    The format gets automatically changed.
    Is there any solution to this problem.

    Can you give some more details?
    Which version are you using (and which patch level - if any).
    Also what formatting is default on the reports and what is the default format in excel.
    What exactly is different between PDF and excel?
    Another possibility is that font substitution is going on??

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

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

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

  • I am using a doc formatted on excel --- how do i resize the doc to fit on one page?

    I am using a document that was formatted in excel (on a PC) --- how do i resize the document to print on one page?

    Hi phylw,
    Here is one way. View > Show Print View. At the bottom of the window is a slider control called Content Scale. Slide to the left to shrink the document.
    Under File > Print... you will see a print preview that tells you how many pages the document now occupies.
    Regards,
    Ian.

  • RDL reports(2008).File name after using Export to Excel is not comming properly in mozilla firefox.

    I am using Export to Excel functionality in rdl report.
    File name should be "Profitabilty By Buyer". It is working as expected in IE and chrome.
    But in mozilla firefox the file name appears as "Profitabilty".
    So the issue is it doesnt consider anything after space and user requirement is such that I cant put underscore("_") also instead of space.
    Kindly suggest the proper solution.

    Hi Mukesh,
    Reporting Services, we use a Web browser to view the report that deploy to Report Service. However, not all report functionally is supported by all browsers. Such as, the print button is not supported in Mozilla Firefox. It works only in Internet Explorer
    due to it uses ActiveX for the print button.
    I have tested it on my local environment, (SQL Server Reporting Services 2008, Firefox 28.0), we cannot reproduce this issue. So the issue can be the custom setting of your browser. Since SSRS reports are not about targeting NON-IE browsers, so in your scenario,
    we recommend you use IE to view report on Report Manager.
    And you said that you cannot put underscore ("_") also instead of space. However we can do this which you can see on the screenshot below.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Error while using the export utility

    Dear all of
    I am getting the following error while using the export utility in the Oracle database 9i
    I have run the catexp.sql and catrm.sql suggested by the experts in this forum. But it did not help me. Kindly help me in solving this issue.
    FOLLOWING ARE THE ERROR ----------------------------
    EXP-00008: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00024: Export views not installed, please notify your DBA
    EXP-00000: Export terminated unsuccessfully
    -----------------------------------------------------------------------------------------------------------------------------------

    Can you go to this discussion please.
    Re: Getting a strange error for Exp
    -aijaz

  • Manipulating excel file while using GUI_DOWNLOAD

    hi all,
    while using GUI_UPLOAD i want to
    1) fix the width of the column of excel file
    2) define the font of the data in excel file
    3) change background color of the cells in excel file.
    please suggest as to how can this be done?

    using GUI_DOWNLOAD you can't change the data in excel sheet...if you want to do the things you need to use OLE concpets for downloading of data to Excel sheet wherein you can do most of the options excel can handle..
    Check within SDN as there are blogs for downloading data to Excel sheet using OLE concepts..

  • Using export slide show from iphoto, I am trying to create a DVD of photos and vid clips in large format. The vid clips do not work using burn software. Any idea?

    Using export slide show from iphoto, I am trying to create a DVD of photos and vid clips in large format. The vid clips do not work using burn software. Any idea?

    Have used large format, but using the 'burn' software, I am not getting seamless video quality on DVD even though I am burning at 2* speed. Any ideas? Do I need better software? Or is there a problem with the SuperDrive?

  • I think I forgot to make a back up copy of bookmarks while using my old firefox. Recetly after formating my PC, I am unable to get my old bookmark. Pls Help

    forgot to make a back up copy of bookmarks while using my old firefox. Recetly after formating my PC, I am unable to get my old bookmark. Pls Help

    Sorry for your loss. I don't know how we can help you.

Maybe you are looking for