Column Hiding

Hi All,
I have a problem with Column Hiding. Based on a parameter I want to hide a column in my table. I am writing the code as follows:
<?if@column:./quote_line/lp_flag='Y'?>unit_list_price<?end if?> -header level
<?if@column:./quote_line/lp_flag='Y'?><?List_price?><?end if?> - data level.
The header level info is hiding but at the data level it is showing Null value for that column.
Even I tried with
<?if@cell:./quote_line/lp_flag='Y'?><?List_price?><?end if?> -data level
this is also not working.
Any ideas?

You may need to be more specific about the column on the data level. I assume at the data level you are looping over data ?
If so, then you probably need to come up out of the loop to check the lp_flag ie
<?if@column:../quote_line/lp_flag='Y'?><?List_price?><?end if?>
Notice the second period to get you up a level ie ../ like navigating a directory tree. You will need as many ../ as required to get you up to the header level in the tree.
regards
tim

Similar Messages

  • Column hiding /unhiding based on a condition

    I have a report in which I want to add "State" Column. But it show up only when "Region" = 'Northeast'. And do not show State for other "Region"
    So basically, I want to hide "State" column dynamically based on condition where "Region"='Northeast'.
    Would Siebel On Demand let us do Column hiding /unhiding based on a data condition?
    Please let me know if this is possible.
    Thanks
    Rakesh

    I don't think SOD lets hide/unhide a column based on a condition. All you can do is restrict the number of rows using a filter.

  • Column hiding based on Dashboard Prompt value in OBIEE 10g

    Hi,
    Can you please let me know, whether there is any possibility of "hiding the column based on the value selected in the Dashboard Prompt".
    Your suggestions are highly appreciated.
    Thanks & Regards
    Siva

    Hi,
    Simple way to solve it.
    Steps
    1.) set presentation variable for each columns of your dashboard prompt
    2.) edit your analysis of table/pivot view ---> colums formate header in this place just keep it your presentation variable values like below
    E.x
    @{ccy}
    Then save it and then test out
    Some more reference:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting
    http://total-bi.com/2011/03/obiee-dynamic-column-headings
    Thanks
    Deva
    Edited by: Devarasu on May 17, 2012 8:32 PM

  • Multiple Column hiding in advance table using Switcher

    Hi All,
    I am having requirement of hiding multiple columns in advance table using swithers.
    Lets says I am searching for the the parties in party search page. If the party is of type person then two columns should be visible one is firstName and LastName.
    and If party is of type organization then firstName and lastName column shpould be hidden and only the PartyName column should be visible.
    Is this possible through switchers if yes please explain?
    Br, 903096

    Hi ,
    This can be done through switcher case , along with switcher you also need to use SPEL binding the each of those attribute
    that you wish to hide .
    Go through delete exercise to understand how to implement switchers case .
    Let me know if you need any help .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • JTable column hiding

    Hi,
    How can I hide column in JTable. (without standart remove method using)
    Thanks.

    After you added the JTable to be a TableModelListener of your table model, fire the TableStructureChanged event (see AbstractTableModel), and when your table model
    is being asked for how many columns exist, or the contents, provide the proper data.

  • Columns hided during Mapviewer installation

    hi,
    Version :11.1.1.6
    during map-viewer installation (!) few columns went into hide state. I have tried to look into catalog manager as suggested in this blog but did not find any clue !. My XML file looks like following
    [http://obiee101.blogspot.com/2009/02/obiee-editing-system-wide-defaults.html|http://obiee101.blogspot.com/2009/02/obiee-editing-system-wide-defaults.html]
    ?xml version="1.0" encoding="UTF-8"?>
    <sawsavedformat:metadata xmlns:sawsavedformat="com.siebel.analytics.web/savedformat/v1.1">
      <sawsavedformat:datatypeSavedFormats>
        <sawsavedformat:datatypeFormat xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" datatype="GDT:real">
          <saw:displayFormat>
            <saw:formatSpec suppress="repeat" wrapText="true" visibility="visible" hAlign="right" vAlign="top" imagePlacement="right" interaction="action">
              <saw:dataFormat minDigits="0" maxDigits="0" commas="true" negativeType="minus" xsi:type="saw:number" />
            </saw:formatSpec>
          </saw:displayFormat>
          <saw:tableHeading>
            <saw:displayFormat>
              <saw:formatSpec />
            </saw:displayFormat>
          </saw:tableHeading>
          <saw:columnHeading>
            <saw:displayFormat>
              <saw:formatSpec />
            </saw:displayFormat>
          </saw:columnHeading>
        </sawsavedformat:datatypeFormat>
      </sawsavedformat:datatypeSavedFormats>
    </sawsavedformat:metadata>Please suggest !
    Thanks,
    Hesh

    Hello Hamish,
    This usually happens because of permission problems or incorrect drive mapping. Please make sure that the user, who starts the installations has all permissions over all directories, subdirectories and files of the installation directories. You should be able to invoke /opt/java1.4/bin/java -version in every subdirectory of the installation. Please make sure that you have permissions to execute java as well.
    Best Regards
    Vyara

  • My GridControl column hiding question rephrased.

    I understand in JDeveloper 3.2 that to hide a column in a Grid Control you set the displayed property of the AttributeInfo object to false. For example:
    AttributeInfo MyDataMasterCol.setDisplayed(false);
    But, later in the program execution I want to display the column. Setting the displayed property back to true does not display the column after the displayed property has been previously set to false. I've even tried setting the columnWidth property to 0 and then back to -1 and 50 with the same result. The column hides but never redisplays.
    Is there a reason why a column in a Grid Control cannot be redisplayed after the displayed property has been set to false? Is there a way to get the column to display programatically after the displayed property has been set to false?

    Do a search on this board.. here's a quick hint:
    summary_gc.getTable().removeColumn(summary_gc.getTable().getColumn("LastModDate"));
    I do this to remove a column from a gridcontrol while still leaving it potentially visible to other dacf controls in other frames.
    Note that gridcontrol changes are lost on a Rollback ( earlier posted bug ).

  • Dynamic column hiding

    I have a report with below format:
    dim1 dim2 dim3 measure1 measure 2
    requirement is to hide measure2 column if the entire column doesn't contain any data for say for example a particular date range.
    Note: I don't want to display null or zero..i want the entire column to be invisible if it has all nulls
    can anyone help

    You can try using two views in your analysis, one with the column, one without.
    On your dashboard, put the reports in two separate sections and use the "Show View" option on the reports in the section set to each view - then use a Condition on the section to hide/show the views. This way when the total of measure 2 is 0 (or shows no results in your condition) then one of the views is hidden, when its not 0 (or shows results in your condition) the other view is hidden.
    Hope that helps - mark if it is!!
    Thanks,
    Chris

  • Hide group columns

    Whilie reducing the size of the cell minimizes the real estate consumed by the report, it doesn't resolve the issue of having the group columns in the output. When a report is exported to Excel, these columns create merged cells which limit functionality
    in the worksheet.
    For example: I have a tablix with 3 groups. When the report exports to Excel, my data begins in Column D instead of starting in Column A.
    I have tried hiding the individual cells, hiding the columns (using the hidden property of the column), hiding the group (removes all data), and deleting the columns (removes the groups).
    How can I hide or remove the column without affecting the grouping?

    Never mind. I found the answer in the most obviious place.
    I was deleting the column  and clicking through the acceptance. The default is to delete the column and the group both.
    When I slowed down, I found the option to delete the column only. This resolved my issue.
    My data now starts in Column A as expected.

  • Dynamic Columns in table /ALV

    Hi ,
    I need to decide number of columns at run time out of fixed number of coulmn in  table.
    one way of doing it through ALV column hiding  but problem is what ever coloumns I hide programeticaly user can always to go ALV settings and unhide them and that defeats the purpose.
    is there any otherway I can determine my number of columns dynamicaly.
    It can be a  table or ALV table.
    Thanks
    Gaurav

    Hi gaurav,
    In d Do_init method ,
    read the table following table
    data : ls_function            TYPE        salv_wd_s_a_function_ref,
    Disable Setting on ALV
      READ TABLE wd_this->alv_config_table->
    if_salv_wd_function_settings~t_functions
         INTO ls_function
         WITH KEY id = 'SALV_WD_SETTINGS'.
      IF sy-subrc = 0.
        ls_function-r_function->set_visible( cl_wd_uielement=>e_visible-none ).
      ENDIF.
    reward If Usefull

  • Tree columns autofit in Tree

    Hello Everyone,
            I need to adjust my columns in a tree such that, all the unused columns (which has empty header strings and they are present only at the end) should be deleted and that, the columns should exactly fit my tree. How can I implement this?
    Thanks,
    Vasanth.
    Ya Ya

    I don't mean to barge in, but here's a little bit of code that will autosize the columns without resizing the whole table. Also, you can't really delete columns, hiding them is what you want. The actual value that you'll read from the tree is just the tag from the first column, so any subsequent columns will only display what you put in them.
    Message Edited by Marc A on 01-05-2007 09:28 AM
    Attachments:
    autosizecols.PNG ‏5 KB

  • TableView Filter doesnu00B4t work for added columns

    In my model I have a column type SPRAS with a language key, but I want to render the language text so in the iterator I added a new column (hiding the one with the lang key), and I fill this new column with the following code:
      DATA: lang_txt TYPE string.
      DATA: lang_key LIKE sy-langu.
      FIELD-SYMBOLS: <fs> LIKE model->client.
      ASSIGN p_row_data_ref->* TO <fs>.
      lang_key = <fs>-spras.
      SELECT SINGLE sptxt FROM t002t INTO lang_txt
           WHERE spras = sy-langu
           AND   sprsl = lang_key.
      p_replacement_bee = cl_htmlb_textview=>factory(
           id = p_cell_id
           text = lang_txt ).
    It works good, but the problem comes because filtering doesn´t work with this column.
    Adding a new column to the model would be a solution but I don´t like it very much, it´d be better to solve this problem here in a class associated with the view/rendering od the data instead of changing the model.
    Best Regards!
    Jonathan.

    You can't use a column for filtering which isn't acutally present in your table. With an iterator you only control/change the rendering of your tableview, but the table data stays the same. (Unless you change the data, which would make the iterator useless?) You can not filter values that are not present in your table.
    So, if you want to filter an iterator-changed column, make sure the column contains data to sort/filter, and also provide a way for the user to be able to use the filter (as it doesn't make much sense to enter a filter value when the displayed data does not correspond to the table data.
    Have a look at this thread, it describes how you can add a dropdown to your filter:
    TableView: Filter as Dropdown
    Now if you alter this dropdown generating code to use your descriptive text (that you use in your iterator for display in column) as dropdown display values, then you should have a working filter for your tableview.
    Max
    (goes off writing the weblog promised in the mentioned thread)

  • Performane Management - Column Access BADI

    Hi All;
    The column access BADI: HRHAP_COL_ACCESS, I know can be used to control when the appraisal documnt can be displayed, locked etc. based on the status and sub status.  For example you may want to lock the document and prevent access via ESS and MSS once the document hits a particular status.
    My question:  Can this BADI be used to control which columns within the document can be viewed by whom or is the BADI to conrol the display of the entire document iself ( and ot just parts).
    For example if we have a column defined as "Manager's Assessment'" within the appraisal document, can we prevent the employee  from viewing the column until it is in a paricular status and sub status.
    In my opinion those type of requirements should be controlled via the config and not the BADI.  The BADI itself should be used to control the document itself. Please let me know if this is correct.
    We have a requirement in our project where the functional consultant  is requesting that the actual columns within the form be controlled via the BADI.  The
    Thanks
    Rachel

    Hi,
    Given below is an excerpt from SAP documentation:
    <i>The column access specified for the Part Appraisal (PAPP) and Final Appraisal (FAPP) columns is possible for appraisals with the following statuses:
    In Process
    Completed
    Approved
    Rejected
    </i>
    My understanding as per this is that 'column hiding' is possible by configuration, but not for all the statuses and sub-statuses.
    These settings can be done in tcode OOAM, in tab named 'Column Access' at the template level.
    Hope this helps.
    Regards,
    Vikas Bhatia

  • Reorder or hide columns when exporting

    Hello,
    When woking with Reports and previewing it before sent to the client, may appear the desire to change the report before sanding.
    by ex, one of our customers says: "This would be a nice extension of the column hiding & reordering capability, and would help with customers' requests that their reports come with certain data "eliminated."
    I work mainly with the CrstalReports "ReportClass:ReportDocument" class.
    Well, is there a possibility to hide some columns (when exporting)? To reorder them?
    thanks.

    Hello,
    you could delete report fields and runtime without saving the report.
    I attach code below for CS in VS2005:
    //File Name:          CS__Delete_Field_inproc.sln
    //Created:            April 4, 2008
    //Author ID:          FLI
    //Purpose:            This C# .NET sample Windows application demonstrates
    //                              how to delete a dbfield from a report
    //                              using unmanaged RAS.
    // Note this is available without a dedicated RAS with SP2 for XI R2
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    namespace CS_Delete_Field_inproc
        public partial class Form1 : Form
            // CR Declarations
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject boReportObject;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    DeleteField.rpt");
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                //find the object in the report
                boReportObject = (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject) boReportClientDocument.ReportDefController.ReportDefinition.FindObjectByName("City1");;
                //Delete the object from the report
                boReportClientDocument.ReportDefController.ReportObjectController.Remove(boReportObject);
                //show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button2_Click(object sender, EventArgs e)
                //save report with new title
                boReportDocument.SaveAs("Test.rpt");

  • Internal Error when Exporting to PDF

    Hello all,
    I have created a report in SSRS 2008. My report was running fine until I inserted an extra row. Once I would insert this row,(no matter where I insert it) whenever I try to view the print layout or export to a PDF I get the following error:
    "An internal error occured on the report server. See the error log for more details. (rsInternalError)"
    Checking the error log I found this:
    library!ReportServer_0-90!12f4!01/09/2015-07:46:21:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: ScalableList: Index -1 outside the allowed range [0::5], Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
    An internal error occurred on the report server. See the error log for more details.;
    I have researched a great deal to try to figure out what could be causing this problem. I found several threads that had a similar problem and their solution was to set all "Hide Duplicates" properties to "None." I have checked several
    times and my report has all it's "Hide Duplicates" properties set to "none."
    Does anyone have any idea what could be causing this error?
    Thanks,
    Sarah

    I found out what was causing the error in my report.
    When the original report was created, a parent group was created. When a parent group is created, SSRS automatically adds an extra column with whatever it’s child group was grouped by inside of it. When this column was created, instead of deleting the text
    inside the column or deleting the column, the column was made so small that you almost couldn’t tell it was there. I did not realize it was there until today. Since SSRS is pretty picky, it did not like that column.
    You could do 3 things to get rid of the error:
    Delete the column
    Delete the text inside of the column
    Expand the column so that the text inside it is visible
    I tested all 3 approaches by adding 25 extra rows after applying the solution and all would export to a PDF just fine.
    So basically if anyone out there happens to have the same issues I had, check and make sure you don't have any extra columns hiding anywhere. Hopefully this can help someone someday!
    -Sarah

Maybe you are looking for

  • Error while trying to instanciate IUriMapperService

    Hello, I'm getting an error while trying to instanciate the IUriMapperService. The error I get is the following: Failed to initialize the ServiceFactory: java.lang.NoClassDefFoundError: com/sapportals/wcm/crt/CrtClassLoaderRegistry at com.sapportals.

  • IE not working (again)

    I have built a e-commerce site (cant give you a link because the client hasent finished uploading products, brands, logos ect so it is still private) anyway one function is a "best seller" box. This uses a downloaded JS script which scrolls through t

  • Where to download Oracle Installer v2.3.0.5.0a

    I'm trying to install the latest version of the ODBC driver and it's telling me that I need at least version 2.3.0.5.0a of the installer. I cannot seem to locate where I can get a copy of just that. Do I need to download the client utilities to get t

  • JSP sql - set table name in variable

    I'm trying to set my table name in variable, what is the syntax in sql of selecting from a table which name is set with a variable name?

  • How to simulate pwm wave using labview

    has anyone have a built vi for pulse width modulation(PWM),or give me pointer in building its simulation