I want to hide a column in report 6i

hi
I want to hide a column in report 6i,
I used this code
function F_col_qty3FormatTrigger return boolean is
begin
if :color3 is null then
     return (false);
     else
return (TRUE);
end if;
end;
plz note that COL_QTY3 and COLOR3 both are from different table
and resulting gave this error
REP-1314 Format trigger 'F_col_qty3' reference column 'color3' at wrong frequency.

You can format fields from a lower level group using fields from an upper level field, but not vice versa. This is because for the same upper level field there may exist several values of the lower level field. If this can not happen in your situation, there is no reason to place the fields in different groups.

Similar Messages

  • How to hide a column in report when it has all zeros.

    Hi Experts.,
    Is there any possibility to hide a column in report when it has all zeros.
    Thanks in Advance
    Venkat

    Venkat Krishna wrote:
    Hi Experts.,
    Is there any possibility to hide a column in report when it has all zeros.
    Thanks in Advance
    VenkatNot out-of-the-box, but there are several workarounds if you wish to pursue any of them:
    1) Use a View Selector. One report will have a pivot table with the column, the other will have the same report minus the column. Users can switch reports.
    2) Use a Column Selector. The two choices would be that column or a blank. If the blank is chosen (because the user sees there are no values), the column will "disappear" from the report.
    3) Use Guided Nav. This method doesn't involve user intervention. Build a small report using the one column and put a filter on it "is not equal to" 0. Because there is only one column, if all the rows are 0, the report will not return rows.
    Use this report in the guided navigation properties of a section of the dashboard. Set this to "if the report returns rows" and put the report that has the column in this section. Now add another section to your dashboard and in the guided navigation properties of this section, set it to "if the report returns no rows" and point it to the small report as well. In this section put a second version of your report without the column in it.
    When the column contains all zeroes, the second section will display with the column not in it; the first section will not display. When at least one row contains a non-zero value, the first section will appear with the column, and the second section will not.

  • Want to hide Jtable column

    i want to hide Jtable's column and its data but the point is data should remains in table model
    or we can say we acces that data any where from this method.
    table.getModel().getValueAt(...)
    below is the code which i used to hide column from table.
    table coulmn tb= priceTable.getColumn(priceTable.getColumnName(2));
    TableColumnModel tcm= priceTable.getColumnModel();
    tcm.removeColumn(tb);
    but the problem is that this column data still show in table.column already hide.
    what i do for it?

    Setting a column's width to zero -- a hack.
    Using removeColumn -- priceless ;-)
    Works for me:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableExample implements Runnable, ActionListener {
        private JTable table;
        private TableColumn tc;
        public void run() {
            table = new JTable(10,10);
            JToggleButton btn = new JToggleButton("toggle column A's visibility");
            btn.addActionListener(this);
            JFrame f = new JFrame("TableExample");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(table), BorderLayout.CENTER);
            f.getContentPane().add(btn, BorderLayout.SOUTH);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        public void actionPerformed(ActionEvent evt) {
            TableColumnModel tcm = table.getColumnModel();
            if (tc==null) {
                tc = tcm.getColumn(0);
                tcm.removeColumn(tc);
            } else {
                tcm.addColumn(tc);
                tcm.moveColumn(tcm.getColumnCount() - 1, 0);
                tc = null;
        public static void main(String[] args) {
            EventQueue.invokeLater(new TableExample());
    }

  • Report painter-want to hide period columns dynamically if the period is not closed

    Hi All,
    I have made report with 12 columns like JAN, FEB till DEC in report painter (GRR1)
    Requirement is that if say, currently only period no.4(APR) is closed and we are in period no.5( MAY) or system date is in MAY, then the report should not show the data for the current period no.5(MAY), eventhough data is there. Or else it should show data for JAN to APR (closed periods)
    For this I defined 12 different period formula variables in GS11, based on system paramters like
    S008 Year (from Local System Date)
    S002 Month (from Local System Date)
    S003 Day of Month (from Local System Date)
    S012 Current Period in Current Year (per CO Fiscal Yea
    But the issue is that eventhough the variable is defined as formula variables, still the default values are given by system and default value only getting passed to the report and thus data is displayed for the unclosed period.
    But SAP help says that formula variables are without default values unlike the value type variable.
    Any help in this will be highly appreciated.

    Hi All,
    I have cracked it and got the solution with redefining the formula variables.
    Details
    JAN
    FEB
    MAR
    APR
    MAY
    JUN
    JUL
    AUG
    SEP
    OCT
    NOV
    No.of days in each Month
    31
    28
    31
    30
    31
    30
    31
    31
    30
    31
    30
    day number in year
    31
    59
    90
    120
    151
    181
    212
    243
    273
    304
    334
    result available after 15 days
    47
    75
    106
    136
    167
    197
    228
    259
    289
    320
    350
    Formula variable definition for 11 months in current year
    ZTPFR01
    ZTPFR02
    ZTPFR03
    ZTPFR04
    ZTPFR05
    ZTPFR06
    ZTPFR07
    ZTPFR08
    ZTPFR09
    ZTPFR10
    ZTPFR11
    IF '#S005' <47 
    IF '#S005' <75
    IF '#S005' <106 
    IF '#S005' <136
    IF '#S005' <167
    IF '#S005' <197
    IF '#S005' <228
    IF '#S005' <259
    IF '#S005' <289
    IF '#S005' <320
    IF '#S005' <350
    THEN 1
    THEN 2
    THEN 3
    THEN 4
    THEN 5
    THEN 6
    THEN 7
    THEN 8
    THEN 9
    THEN 10
    THEN 11
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0
    ELSE 0

  • SSRS 2005 - Dynamically control the width of columns in Matrix report or Hide any column

    Hi All,
    I just want to hide some column without having white space in Matrix report in SSRS 2005. Although I am aware of that perhaps this feature is not available on SSRS 2005. So, I just want to know if we can handle the width of column dynamically(using expressions)
    in matrix report?
    Please help. Thanks in Advance.
    Regards
    Kumud

    Hi Kumud,
    Based on my test, SSRS is not support column dynamically width. It has property “CanGrow” of text box. If we configure the property to True, it will wraps to next line if needed. In SSRS 2008, we can hide some columns without white space. If possible, I
    recommend you update your SSRS 2005 to SSRS 2008.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6043f1-c458-4540-be59-d37b02feab8a/dynamic-column-width-for-a-report?forum=sqlreportingservices
    Alternatively, I recommend you that submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How to hide/show a column in reports 10g according to the parameter value

    Hi,
    I want to hide a column in the report according to the parameter value, is it possible?
    For example, there is a parameter called P_TYPE. I want to hide a column called 'BALANCE' if the P_TYPE=0.
    This column is not the last one in the table, so if it is hide then that empty space should be occupied by next column.
    Is it possible means please explain me how to do it?
    Thanks in advance,
    SAN

    Create a format trigger (for both the header and the column item) that returns False on you condition.
    Set the horizontal elasticity to Contract (for both the header and the column item).
    Sometimes Contract doesn't work. Try Variable in that case. This has the disadvantage that the field can also expand.

  • Hide the column from ssrs report

    Hello,
    I am creating matrix report , I want to hide the column in which Data Field is null. I did tried by writing this expression
    =IIF(IsNothing((Fields!test_name.Value,
    "matrix1_category")),true,false)
    but problem with this expression is it hide the column on first page,It does not do it on rest of the pages, I have multiple pages grouped on one column and added page break on that group.
    Please give me some solution
    Column 1 -ChildGroup-> Column 2 -ChildGroup-> Coulmn 3  | Column 4 |
        |
    Data      |
    Added Page Break on Column 1 and Column 2
    Thank-you!

    Hi Piyush,
    If I understand correctly, you want to hide the entire column, when it has NULL value of the specify field. We can configure the Column Visibility.
    Please refer to the following steps:
    1. Right click the column, select Column Visibility option.
    2. Select “Show or hide based on an expression” with above expression.
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • RE: Hide a column in web report using table interface class

    Hi,
    I want to hide first column in web template using table interface class. Following is the code i used in CAPTION_CELL and CHARACTERISTIC_CELL. Is this correct?
    method CAPTION_CELL.
    *First column
    if i_x = 1.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    endmethod.
    method CHARACTERISTIC_CELL
    First column
    if i_x = 1.
    save start-time column
    move I_CHAVL_EXT to L_STARTTIME.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    endmethod.
    When i execute the web template it is still displaying the first column. Do i have to code in any other method?
    Thank you,
    Mala Venkatesh

    Hi , the implementation should look like...
    method CAPTION_CELL .
    *CALL METHOD SUPER->CAPTION_CELL
    EXPORTING
    I_X =
    I_Y =
    I_IS_EMPTY =
    I_IOBJNM_ROW =
    I_ATTRINM_ROW =
    I_TEXT_ROW =
    I_IOBJNM_COLUMN =
    I_ATTRINM_COLUMN =
    I_TEXT_COLUMN =
    I_IS_REPETITION =
    I_COLSPAN =
    I_ROWSPAN =
    CHANGING
    C_CELL_ID =
    C_CELL_CONTENT =
    C_CELL_STYLE =
    C_CELL_TD_EXTEND =
    First column
    if i_x = 1.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    Second column
    if i_x = 2.
    close comment tag
    concatenate '--> '
    C_CELL_CONTENT
    into C_CELL_CONTENT.
    endif.
    endmethod.
    method CHARACTERISTIC_CELL .
    *CALL METHOD SUPER->CHARACTERISTIC_CELL
    EXPORTING
    I_X =
    I_Y =
    I_IOBJNM =
    I_AXIS =
    I_CHAVL_EXT =
    I_CHAVL =
    I_NODE_IOBJNM =
    I_TEXT =
    I_HRY_ACTIVE =
    I_DRILLSTATE =
    I_DISPLAY_LEVEL =
    I_USE_TEXT =
    I_IS_SUM =
    I_IS_REPETITION =
    I_FIRST_CELL = RS_C_FALSE
    I_LAST_CELL = RS_C_FALSE
    I_CELLSPAN =
    I_CELLSPAN_ORT =
    CHANGING
    C_CELL_ID =
    C_CELL_CONTENT =
    C_CELL_STYLE =
    C_CELL_TD_EXTEND =
    First column
    if i_x = 1.
    save document-item number
    move I_CHAVL_EXT to l_docitem.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    Second column
    if i_x = 2.
    close comment tag
    concatenate '--> '
    C_CELL_CONTENT
    l_docitem
    into C_CELL_CONTENT
    separated by space.
    endif.
    endmethod.
    Activate the methods/class and add this in the Web Template!
    for example:
    <param name="MODIFY_CLASS" value="ZHCOLAPP">
    ZHCOLAPP is the table interface class in this case.
    Best,
    Michael

  • Hiding a column in report

    HI Apex Community
    I want to hide a column in a report based on an item(#item#) of the same report .
    for ex , if invoice is zero then hide DUE row of that particular client
    I tried with condition value is null equal to #invoice# but it hide the whole column instead of individual column.
    Pls suggest me how to implement this .
    apex 4.1.1 oracle 11gR2 , oc4j , linux.
    thank you

    I've tried this sort of thing before - so you want to add a link if data is present?
    yes when data is present then only show the link else hide link/image
    Under region attributes, make sure you clear "show null as", and define your link target as normal.
    Yes it is blank.
    Alternatively, you can construct the entire link within your SQL, using the NVL2
    Tried with NVL2 , decode case
    it works until ,i assign an image to it .
    i dont know where im doing wrong , since i used the same code as i did in apex 4.2 at apex.oracle.com
    http://apex.oracle.com/pls/apex/f?p=62710:1:
    login
    test/test
    thanks
    Edited by: Hunk09 on Oct 11, 2012 12:34 PM

  • Hide some columns in alv if no values are present for that columns ..

    Hi all,
    This looks like a wierd requirement ..In my ALV report, i am displaying around 30 fields. Among those , based on the input ,data will not be there for some  of the columns .. In the output we want to hide those columns
    eg:
    Matnr     Descr    Column3  Column4
    Mat1      Des1     (No data)  sfsfs
    Mat2      Des2     (No data)  (No data)
    The required output is :
    Matnr     Descr    Column4
    Mat1      Des1     sfsfs
    Mat2      Des2     (No data)
    How to do this in the most simplest / right way?
    Hope my question is clear .
    Thanking you in advance,
    Shankar

    Hi shankara,
    1. In the output we want to hide those columns
    For this,
      a) first we have to know/detect  by looping the table/logic
         that which fields contain no data / are to be hidden
       b) after that we have to use the field catalogue properties.
        c) We have to loop at the fieldcatalogue,
            and set the value fieldcat-NO_OUT = 'X'.
           for those fields.
        (In this manner, those fields/columns won't be shown)
    regards,
    amit m.

  • SQL*Plus report: hide accept value in report

    HI all,
    I have created an SQL Report of an APEX-Application. The output is stored in a HTML file.
    All works fine but one think I want to hide in the HTML report.
    I try to describe what the problem is.
    I prompt the user to put in the application_id of the apex application:
                           accept v_application_Id char prompt 'Appliaction-ID:'
    In the HTML file the following output is shown:
    Report created on:
    25-Jun-2013, 10:06:04
    alt 8: where application_id = &&v_application_id
    neu 8: where application_id = 680
    Workspace
    WORKSPACE
    APPLICATION_ID
    APPLICATION_NAME
    ALIAS
    OWNER
    Q0Q0AUFTRAGSVERWALTUNG
    680
    Q0Q0AUFTRAGSVERWALTUNG
    F680317
    Q0Q0AUFTRAGSVERWALTUNG_ADMIN
    How can I hide the two lines
    alt 8: where application_id = &&v_application_id
    neu 8: where application_id = 680
    from the report?
    I have searched  this forum and toke a look into the documentation but I have nothing found.
    Could anyone please help me?
    Oracle 11g R2
    This is the SQL script what I run in SQL*Plus.
    -- start script
    accept v_application_Id char prompt 'Appliaction-ID:'
    spool C:\a\APEX.html
    set termout off
    SET MARKUP HTML ON SPOOL ON HEAD "<TITLE>SQL*Plus APEX-Report</title> -
    <STYLE TYPE=’TEXT/CSS’><!--BODY {bgcolor: ffffaa background: ffffc6} --></STYLE>"
    clear break
    clear buffer
    clear compute
    clear column
    clear sql
    set feedback off
    set serveroutput on
    -- Report Header
    ttitle left ' ' skip 1
    select TO_CHAR(sysdate,'dd-Mon-yyyy, hh24:mm:ss')  "Report created on:"
    from dual;
    -- Workspace
    ttitle left col 15 '<font face="Arial" size="+2" color="#0000FF">Workspace</font>' skip 1
    set linesize 300
    set pagesize 500
    set serveroutput on
    column workspace format a35
    column application_id format 99999999
    column application_name format a35
    column alias format a35
    column owner format a35
         select
             WORKSPACE,
             APPLICATION_ID ,
             APPLICATION_NAME,
             ALIAS,
             OWNER
         from apex_applications
         where application_id = &&v_application_id;
    ttitle off
         select
             APPLICATION_GROUP,
             APPLICATION_GROUP_ID,
             HOME_LINK,
             PAGE_TEMPLATE,
             ERROR_PAGE_TEMPLATE
         from apex_applications
         where application_id = &&v_application_id;
    set termout on
    set markup html off head '' body '' entmap off spool off pre off
    set feedback on
    set linesize 80
    set pagesize 50
    ttitle off
    set termout on
    set serveroutput off
    spool off
    set echo on
    -- End Script
    best regards
    ben
    Oracle 11g R2

    Hi, Ben,
    The SQL*Plus command to stop those messages is
    SET VERIFY OFF
    Put this command anywhere before the first use of a substitution variable, e.g. before the SPOOL command.
    Those "OLD" and "NEW" messages will stay suppressed until you either end the SQL*Plus session, or issue a SET VERIFY ON command.
    If you use SQL*Plus often, then, when you have a few minutes, look up the SET command in the SQL*Plus manual,
    SET System Variable Summary
    and read a little about each option.  You probably won't remember everything, but you probably will remember what kinds of things can be controlled by the SET command, and have a better idea of where to start looking in the future when you have a different problem.

  • How to add new column in report painter

    Hi Experts,
    I want to add new column in report painter which as to calculate the previous column . value in the new column should be the precentage of previous column existing on left side...

    HI  Pradeep,
    Goto the transaction code (Change Report) GR32.
    Give you library name and report name
    And click on the column (application tool bar or F7) button then place the curser on the screen where you want column (please note you have to keep curser on the header section u2013Red column text) right click and insert element. Then you select formula as selection element  and enter. You will get the enter formula box. Then you can type your formula and continue. This will add new column to the report.
    How to enter formula: you can see the formula components in that id and description.
    Id is columns that are present and description indicates explanation of that column.
    Enter formula according your requirement.
    Examples:
    Enter formula screen:
    ID :    des
    X001  amount
    X002  pt000
    X003  test
    1. Enter formula as: ( X001 u2013 X002)
    The above formula is for fist column u2013 second column.
    2. ( ( X001 u2013 X002) / X003) * 100
    First column u2013 second column and devide by third column after that multiple with 100.
    Hope this will help you
    Regards
    Manohar

  • How to hide the columns at the end user level thru personalization

    Hi all
    how I can hide the columns that are displayed on the portal. Any personalize option for the end user? Any righ click or some thing?
    I am looking at hiding columns not while developing the iViews / Pages, But in the browsers as the end user.
    i can hide the columns what ever i want while creating the iViews for MDM data. but we cant provide the content administrator role to the end user for hiding the columns what ever they want. they want to hide the columns thru pesonalization option at the end user level.
    Can you please let me know whether we can able to hide the columns at the end user level thru personalization ?? is it posible with standard iViews??
    Regards
    Sunil

    Hi Sunil,
    I understood your requirement properly and seems valid and I tried this at my end but i didnt get the solution. Field list is not visible in Personalize option. I dont think it is possible with MDM standard iViews.
    I was thinking an alternative is if some how we manage to give the permissions to end user only on Result Set iView but if it would be possible it will not be a good design.
    Lets wait for some inputs from others.
    Regards,
    Jitesh Talreja

  • Hide a Column in ALV Grid Output

    Hi,
    I want to hide a column in ALV Grid Output through program.
    I am using   lwa_fieldcat-NO_OUT = 'X'. to hide the column in output but it is not working, column in not hided in the output.
    Kindly suggest.

    It should work..
    see the code :
    d_fieldcat_wa-fieldname = 'MATNR'.
    d_fieldcat_wa-seltext_l = 'material number'.
    d_fieldcat_wa-no_out = 'X'. * hide particular field
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    if not please paste your code here.
    Thanks
    Seshu

  • How to hide table column based on country molga value

    Hi Experts,
    I am doing some enhancement in ess application. I want to hide table column based on country code i.e. Molga value.
    I want to hide coulm for only Japan country reset of them i need to be show those coulmn.
    Could you please provide me a sample code.
    Regards
    Chakri

    Hi Chakri,
    Your setting the table value that time you will get the Country Code.
    1.Create the attribute like Country_Column_Visible Data Type bind the com.sap.ide.webdynpro.uielementdefinitions.Visibility this value  you need to bind the table country column.
    2.In Table You need to check the country code Japan is available you need follow this below sample code.
    for(int i=0;i<tablesize;i++)
         tablesithValue=wdContext.nodeTable().getTablenode(i);
         if(null != tablesithValue.getcountrycode)
         if(tablesithValue.getcountrycode.equalsIgnoreCase("Japan"))
              wdContext.currentxxxxElement.setCountry_Column_Visible(WDVisibility.NONE);
         }else
              wdContext.currentxxxxElement.setCountry_Column_Visible(WDVisibility.VISIBLE);
    Use the above code you condition it will work.I hope it will help you.
    BR,
    Durga

Maybe you are looking for

  • Image content not defined in TileList

    I have two images on a canvas, one is directly on the canvas using inline code, the other is embedded in a tilelist. Both images render. When I click and drag the inline image, the drag proxy appears normally. When I click and drag the image in the t

  • How does FCP7 user export QT. movie to DNxHD uncompressed AVI format? format

    dear sir, madam, How does FCP7 user export or convert quick time mov to uncompressed AVI format? thank you.

  • Document count limit under folders

    We are trying to figure out what the library file count restriction is for items under a folder. We can see here: http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#ListLibrary Documents :: 30,000,000 per library >> You can create

  • Workflow Mailer Problem

    Hi all, I am with a problem in a certain server that happens when the process flow gets at a notification stage, the other things of the flow, like the functions called before the notification functions perfectly, but when the flow follow to the noti

  • Podcasts not keeping their saved points when paused

    Since the podcast app was updated yesterday (31 may) it no longer holds a save point, ie if I pause the podcast after a couple of seconds it jumps back to the start.  Podcasts also now do not pause during a phone call, it just lowers the volume. Is t