Hide column in Excel output?

I have a .cfm file generating Excel output using CFContent.
The client want to have certain data in a hidden column.
I am already using XML to freeze the header and I tried
hiding the column by using a <LeftColumnVisible> tag within
the WorkSheetOptions (which is what Excel generates when you hide a
column). But it doesn't come through in the CF output.
Any suggestions?
Ken

Thanks. But "Exclude XML output" does not work dynamically. It cannot be set to "No" or "Yes" programmetically.
What I would like is to provide my user a parameter "Show Column X? (Yes/No)". Based on user's choice, the Excel output should display or hide column X.
Thanks for the response!

Similar Messages

  • Clob column in excel output

    Hi All,
    I have a clob column in my RTF. when I preview the output in excel...complete data is not visible in the cell of the spread sheet but when I click on that perticular cell of the spread sheet. I can see the whole data at the top of the spreed sheet. I've searched this forum and came accross same issues but they where left unresolved.
    Is there a way to show the complete data in the cell of the excel sheet ?
    Thanks in advance....

    I've never worked with Clobs in Excel output, but from the sounds of it, all of your data is present in the Excel output, it's just that the column is not wide enough or the cell is not tall enough to display all of the data.
    As "rick_me" wrote in this post Re: Number and cell formatting in RTF
    Excel takes it's cue from the RTF template for how to size the columns.
    You can also give Excel general guidlines as to the row height.
    Put your data into a Table in the RTF template and experiment by altering the height and width of the table cells.

  • How to hide columns in the output table in webdynpro based on input

    Hi Experts,
       I have 2 inputs and 1 input is optional.If both inputs are given proper table output is displayed,but if only 1 input is given a column is empty in the output table  so i want to hide this column dynamically at runtime based on my inputs.And i want to hide some empty rows also at runtime based on inputs.
    Can anyone help me out to solve this.
    Thanks in advance.
    Regards,
    Anita.

    Hi Anitha,
    What i understood from your question is,you want to control the table from your inputs.I have a one question for you what do you want to show defaultly i.e when you run the application what you want to show,either no table or table with some values.
    Any how i am giving solution in this way.
    If both inputs are given proper table output is displayed
    Write your below logic in the WDDOMODIFYVIEW )
    Here i am assuming that you already have a table element in the view.
    Get the values entered in the input fields and compare those 2 values ,if the condition is satisfied then bind the values which you want to show in the table to the context node.
    but if only 1 input is given a column is empty in the output table so i want to hide this column dynamically at runtime based on my inputs
    You are telling that you know the empty column.If so get the view element reference and use the REMOVE_COLUMN to remove the column.
    data:lr_table type ref to cl_wd_table,
           lr_column type ref to L_WD_TABLE_COLUMN.
    lr_table ?= view->get_element( 'TABLE1' ).
    CALL METHOD LR_TABLE->REMOVE_COLUMN
        EXPORTING
          ID          = 'TABLE1_color'
         INDEX      =
        RECEIVING
          THE_COLUMN = lr_column.
    i want to hide some empty rows also at runtime based on inputs.
    Removing the rows is very simple.if you know the key fields data of internal table from your input fields then do in this way.
    delete itab from wa where key1= "12" and key2="abd".
    Now bind the internal table to context node.
    LO_ND_hcm->BIND_TABLE(
          NEW_ITEMS            = it_final
          SET_INITIAL_ELEMENTS = ABAP_TRUE ).

  • Dynamically show/hide columns for DelimitedData output

    My users want to see only dynamic sets of data from the same report query.
    For example, if the query returns:
    Date, Widget1Count, Widget2Count, ..., WidgetZCount
    User1 wants to see Date and counts for widgets 1,2, 5, and 10
    User2 wants to see Date and counts for widgets 2, 3, 4, 5, 10-20.
    Uset3 wants to see Date and widget 99 count.
    I don't want to write a custom report for every single user nor do I want to create Z! number of queries to satisfy every possible request combination.
    I wonder, is there a way to change "Exclude from XML Output" property for a particular query field(s) from a report AfterPForm or BeforeReport trigger?

    Hi,
    I had the same problem, but I saw the Metalink document: 340793.1, which gave the solution I needed.
    In my case, I needed to limit the number of columns being outputted in a DELIMITEDDATA format based on a user parameter.
    I ended up with the following code in my After PForm trigger, which did the job.
    BEGIN
    SRW.ADD_DEFINITION('<report DTDVersion="1.0">');
    SRW.ADD_DEFINITION('<customize>');
    -- For those columns I want displayed, Set the XMLSuppress property to False
    FOR tmp IN 1 .. 10 LOOP
    SRW.ADD_DEFINITION('<object name="col_'||LPAD(TO_CHAR(tmp), 3, '0')||'_title" type="REP_COL_MAP">');
    SRW.ADD_DEFINITION('<properties>');
    SRW.ADD_DEFINITION('<property name="XMLSuppress">False</property>');
    SRW.ADD_DEFINITION('</properties>');
    SRW.ADD_DEFINITION('</object>');
    END LOOP;
    -- For those column I don't want displayed, Set the XMLSuppress property to True
    FOR tmp in 11 .. 100 LOOP
    SRW.ADD_DEFINITION('<object name="col_'||LPAD(TO_CHAR(tmp), 3, '0')||'_title" type="REP_COL_MAP">');
    SRW.ADD_DEFINITION('<properties>');
    SRW.ADD_DEFINITION('<property name="XMLSuppress">True</property>');
    SRW.ADD_DEFINITION('</properties>');
    SRW.ADD_DEFINITION('</object>');
    END LOOP;
    SRW.ADD_DEFINITION('</customize>');
    SRW.ADD_DEFINITION('</report>');
    SRW.APPLY_DEFINITION;
    END;
    I hope this helps with your problem.
    Paul

  • I need app to help me to filter & hide columns in excel sheet?

    Is there any app helps me to filter &amp; hide excel sheet ?

    There are a number of apps that are compatible with Office documents. Apple makes iOS versions of their own iWork apps (Numbers is the spreadsheet) that can be purchased separately. There are also 3rd party combined suites that cost less than the separate Apple apps. Ones often recommended include Documents 2 Go,  Quickoffice and Office2 HD. You'll need to consult the documentation for each app to see if it will have the specific features you need.
    If you want access to the actual Microsoft Excep application and can accept needing a network connection whenever you want to use the application, a server-based solution such as CloudOn might be an option for you.
    Regards.

  • Extra column in excel output report

    Hi
    How do we get rid of extra blank first coulumn when a portal report is output to excel
    Thanks
    APARNA

    Hi,
    There is no way you can do that right now.
    Thanks,
    Sharmila

  • Word wrap in RTF for an excel output : BIP 11g

    Hi,
    If we set the word wrap property in RTF and generate the output in Excel format, it doesnt reflect. However, PDF output reflects the difference.
    Looks like Excel overrides the property set in RTF. Is there anyway to text wrap a column for excel output?
    Thanks,
    Divya

    Sorry but this is a longstanding complaint.
    The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Displaying negative numbers in brackets in Excel output

    Hello all.
    I have an RTF template...I tired displaying negative numbers in brackets like : (123.80) in Excel output
    But, this is working in PDF and not in Excel.
    Please let me know the way to dsiplay the numbers in brackets.

    varma wrote:
    Negative numbers in bracket
    add a conditional statement like below.
    <?if: NUMBER_TO_CHECK < 0?> <?concat('(',NUMBER_TO_CHECK,')')?><?end if?>
    <?if: NUMBER_TO_CHECK > 0?> <?NUMBER_TO_CHECK?><?end if?>
    are you using the same template for PDF and EXCEL ?
    if so, it has to be handled little differently.
    Place this line in the beginning of the rtf
    <?param@begin:_xf;''?>
    add this condition on number column for Excel output
    <?if:$_xf='excel' and NUMBER_TO_CHECK < 0?> <?concat('(',NUMBER_TO_CHECK,')')?><?end if?>
    Try the above one it should work.
    Have a Nice dayThis didnt work.
    Say that I have element named 'market'
    I placed this condiion <?param@begin:_xf;''?> at the beginningof RTF
    Replaced the number field with this condition: <?if:$_xf='excel' and market< 0?> <?concat('(',market,')')?><?end if?>
    This is giving me a blank output in place of the number.
    >

  • In BI Publisher Report of excel output for one column is filled with spaces

    Hello,
    We have issue in BI Publisher report of excel output.
    In Excel output for one column few records are displaying as left alignment
    and few record are displaying as right alignment.
    If you are having any xml tag or any syntax for removing spaces for left side
    Please help on this issue.
    Thanks in Advance.
    Regards,
    Swaraj

    Please post the details of the application release, database version and OS along with BI Publisher.
    Is the issue with all reports or specific one(s) only?
    Do you have the patches in the following docs applied?
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
    Thanks,
    Hussein

  • Excel Output Wrapping columns Xml Publisher

    Hi,
    I am creating a RTF Template in XML Publisher, Need some help regarding the Output Format Excel:-
    When I am generating the excel output everything looks ok except the one i.e. data in some columns is automatically wrapping up and I need
    Data should be display for each line, the excel columns needs to be expended to view the data but I don’t want it
    I have tried so many thing like dynamic columns or word properties but nothing works
    Please help it would be really a big help if any one can resolve my problem.
    Regards,
    Pragati

    Hi,
    Thanks for the reply.
    it was quite helpful for me. But is there any way to display the data in the same line in excel as if we set row height exactly then it works but data going to be display in the next line.
    e.g.
    NASHOBA VALLEY
    MED CTR
    But our requirement to display it like NASHOBA VALLEY MED CTR.
    Thanks,
    Pragati

  • Columns doesnt wrap in Excel output

    Hi,
    I have a Table in RTF template which has 7 fixed width columns. I have couple of description columns in the Table and I have set "Wrap Text" option for those columns so that column width remains the same even for "long" descriptions. This works fine for PDF output and I get output as I see in the template. Problem is with Excel output. In Excel, column width is automatically adjusted to fit text. "Wrap Text" option is set for the column in MS Word. I have also tried using <fo:block wrap-option="wrap">, <fo:inline wrap-option="wrap">, <fo:wrapper wrap-option="wrap">. But still text is not wrapped in Excel. All I want is that the column width should remain constant and it shouldnt be resized to fix text. Can anyone throw some light on the above issue? Your help is much appreciated.
    Thanks in advance,
    Murari

    No light - but I see the same issue - so it is not just your configuration.

  • Missing column data in Excel output

    I have a report where one object is not displaying when output to excel. When refreshing the report in Webi or Deski, the results show, but when it is exported to excel, that particular column is missing data...the column header still shows though. I have tried adding the formula =Trim([Object]) which worked once but is not working in this instance. Any ideas on what may be causing this and potential fixes?

    Hi,
    There are no merged columns. I made sure the table is flush to the top of the report. Also the column header is visible. See below. I highlighted the Summary column in webi to show the formula that had worked previously to alleviate this issue, but as you can see in the excel output, it is not working. Also, I made sure the formatting of that column is the same as the other columns.

  • Fixed column width in Excel output

    Hi,
    Can we fix a column width when we are viewing the report output in excel? Can we do that in RTF template?
    If the column name is too long, it is automatically inreasing width of the column...But I need the column to be of a fixed width.

    You should try Excel templates instead of RTF templates. This is the best method to control Excel output formatting like column width.did you try excel template ?
    for example for 3 nested group?
    from Re: Can XDODTEXE produce BI Publisher output?
    i tested true excel template on ebs r12.1.2 and it works only for one group and for two group the result awful it duplicate and mix data
    IMHO true excel template very limited yet

  • How to remove the white space the in Excel  output

    Hi All,
    I was working with Oracle Apps r12.
    We have developed a custom report using xml and the report output type is Excel. when ran the report it completed with normal and the excel output is generated,We have a column called Amount and its having a white space before the amount.
    So that we cannot able to do any aggregate function with that data.
    For example the column called Amount
    28523.20
    32569.00
    25369.25
    in excel the output is coming like this, So when we select this three column and try to do any aggregate function it not giving any value.
    I have tried Trim but its dos'nt works, because the values are already trimed.
    Can any one could help on this.
    Thanks & regards
    Srikkanth

    Hi All,
    solved.
    Using this link i have removed the white space in my rtf and the white space in excel has removed
    http://office.microsoft.com/en-in/word-help/show-or-hide-formatting-marks-HP005189641.aspx
    Regards
    Srikkanth

  • Amount formating in Excel output of XML Publisher Report

    Hi,
    I have to display my XML output in Excel format. I want the output of amount column to be displayed in form '#,###.00' and the negatives numbers are to be displayed in parenthesis. For eg number -234.5 should be displayed as (234.50).
    I tried <?format-number:AMOUNT;'99G999G999G990D00PT'?> and also <?format-currency:OPEN_BALANCE;'99G999G999G990D00PT'?>.
    Both of these works in PDF output, but its not working for Excel output.
    Any input is appreciated.
    Thanks and Regards

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

Maybe you are looking for

  • Import favorites from IE

    How do you export favorites on IE on a PC to a file to a flash drive which can then be imported into Safari on a Macbook Pro (I'm switching from being a PC user to being a mac user)

  • DOMException after XMLNode.appendChild() with xdk 9.2.0.5.0

    Hi, the XMLNode.appendChild(XMLNode)- method returns a DOMException (Message: Node doesn't belong to the current document. Code: 4) while using the Oracle XDK Java 9.2.0.5.0 Production. Tested on Oracle8 and 9i. Changing to the older Version Oracle X

  • Initial back up didn't finish

    My initial back for time capsule didn't finish, how to restart again

  • HT3702 I had two 13.99 charges on my credit card account

    I have two chanrges on my account for 13.99 Please let me know what these are for.

  • How to fix volume on OS X Yosemite

    Every time I shutdown my Macbook Pro I lose the ability to adjust my volume settings.  I am able to regain them by going to Terminal and entering sudo killall coreaudiod, but I don't feel that should have to be the case and there's probably a more el