Web item "TABLE" -- How to hide rows of a particular column.

HI,
   In the web item "table", is there anyway that i can hide the rows of a particular column(for example: material column) except the result rows.
Here is the Query result:
Customer
Material
KF1
KF2
KF3
Result__________________________400_____700____300
1001_________________Result_____150_____300____150
_____________________10_________100_____200____100
_____________________20_________50______100____50
1002_________________Result_____250_____400____150
_____________________10_________100_____200____100
_____________________20_________150_____200____50
After formatting the query result looks like:
Customer
Material
KF1
KF2
KF3
Result__________________________400_____700____300
1001_________________Result_____150_____300____150
1002_________________Result_____250_____400____150
How can i hide the item rows except the "Result" rows of the material column?
regards,
ravi

Dear Ravi,
look in the BW WEB API Documentation on help.sap.com for more details (or just search in SDN for it).
In General:
- create class which inherit from CL_RSR_WWW_MODIFY_TABLE
- redifine method CHARACTERISTIC_CELL
- insert coding:
  if i_iobjnm eq '0MATERIAL' and i_IS_SUM is initial.
  free C_CELL_CONTENT.
  endif.
- Insert the parameter MODIFY_CLASS with the name of your new class into your template
result: you see the result of the column but not the single values.
Hope this answer your question.
Regards Marcus
Message was edited by: Marcus Pospiech

Similar Messages

  • How to hide rows?

    Hello folks,
    I just would like to know that how to hide rows except dbms_rls package? I mean, it has been said that I can hide rows to create views but lets said that I have got 200 students and each student can see only their rows in students table, in that scenerio I have to create 200 views, isn't it? I just would like to learn that how to hide rows with using views? Do you have any ideas?
    Note: I know dbms_rls package, except this solution I am tryin to find onather solution.
    Thanks a lot.

    Hi,
    Polat wrote:
    Hello folks,
    I just would like to know that how to hide rows except dbms_rls package? I mean, it has been said that I can hide rows to create views but lets said that I have got 200 students and each student can see only their rows in students table, in that scenerio I have to create 200 views, isn't it? No! As you realized, that's not practical.
    If every student is a separate Oracle user, the USER fucntion will return the name of the current user. A view definition can reference that function, like this:
    CREATE OR REPLACE VIEW view_x
    AS
    SELECT   *
    FROM    table_x
    WHERE   student_account  = USER;If you logged in to Oracle as POLAT, then the view will contain only rows where student_account='POLAT'.
    If you logged in to Oracle as SYSTEM, then the view will contain only rows where student_account='SYSTEM'.
    If students do not have thier own Oracle accounts, then they are probably authenitcated by some procedure in your package. That procedure can set a SYS_CONTEXT variable, or write data to a global temporary table, which you can then use instead of the USER function in view definitions.
    Note: I know dbms_rls package, except this solution I am tryin to find onather solution.Why can't you use dbms_rls, or why don't you want to use it? It's a very powerful tool, and not vey hard to use.
    I'm not saying there's never a good reason not to use dbms_rls; I'm just asking if you have one.
    I hope this answers your question.
    If not, give a specific example of what you want. Post CREATE TABLE and INSERT statements for some sample data for all tables involved. Identify 2 or 3 different students, and show what the contents of the view should be for each student, given the same sample data. If students do not log in to Oracle with their own usernames, then explain how you know which student is currently logged in.

  • How to hide rows with merged cells?

    I would like to know how to hide rows on numbers with merged cells, could do it normally at excel but I am not being able to do it at Numbers.
    thanks!

    Felipe,
    To hide a row with Merged Cells, Un-Merge first, then Hide. Select the Merged Cells and Table > Unmerge.
    Note that this is only a problem with vertically merged cells when you want to Hide a Row.
    If you want to Hide a Column, you can't have a Horizontal Merge that involves that Column.
    Jerry

  • How to hide the data in particular table in oracle 10g

    How to hide the data in particular table in oracle 10g
    i want steps

    If its on Report u can  always hide the column - Keyfigure or Selection - Display - Hide......y do u want to have it on the report if it is to be hided in the first place?

  • Hide row values for certain column in GRR2

    Hi Experts,
    Looking for some help in report painter. I need to hide row values for certain columns in report painter. The requirement is I have 5 columns in the report, the 5 th column is the sum of col 1 to 4 and in my row i have a formula setup to sum of values for each column, what i would like to do is for column 1 thru 4 i didnt want to display the total values in row total but i wanted to dispaly value for column 5 in row total. I have been trying my best with putting formula, but couldnt succeed.
    Could somebody let me know is there an way to get this addressed.
    Thanks in advance
    Best Regards,
    gj

    How was it achieved ? Did you use sections for the columns for which rows needed to be hidden?
    I have a smiliar issue of hiding certain rows for few columns.

  • I cannot figure out how to hide the bookmark/reading list column

    I UPDATED MY OSX  ON 09/26/14 TO THE NEW 10.9.5.  AT THE SAME TIME I UPDATED MY SAFARI SERVER TO 7.1.  HOW DO I  DO CHANGE FOR THE FOLLOWING NEW ISSUE?  THE SIZE OF THE  FONTS HAVE CHANGED UNDER MY DESKTOP FOLDERS.  WINDOWS DO NOT OPEN TO FULL SCREEN AND I CANNOT FIGURE OUT HOW TO HIDE THE BOOKMARK/READING LIST COLUMN TO THE LEFT OF THE WINDOW WHICH IS HIDING THE WINDOW UNDERNEATH,
    <Re-Titled By Host>

    did your CAPSLOCK get stuck on too? ccc

  • How to hide row in JTable?

    Hi all,
    How to hide some specific rows in JTable for user view filtering purpose?
    Thanks

    Try to use the Table Model.
    The "getValueAt" Methode decide what to Display.
    So a simple "if" command can hide the complete row - or a single Statement.
    public Object getValueAt(int row, int col) {
    ArrayList al = new ArrayList();
    StueliTeil tabellenzeile = (StueliTeil) getDaten().get(row);
    switch (col) {
    case 0 :
    return tabellenzeile.getUmfang();
    case 1 :
    return tabellenzeile.getTakt();
    ...

  • Web Item - Table

    Hi all,
    Can anyone tell me how I can increase the cell padding ie the cell size and also the font size inside the cell for table web item.  There is no property to achieve this, we can change the static html code but that doesn't solve my problem.  Do we have to create a custom stylesheet?
    please let me know
    thanks
    Sabrina.

    Hi all,
    I've also a question related to formatting data cell.
    We would like to use custom number format in our web reports and doing so want to present data like 1'3 (#'##) instead of 1.260.000 in the data cells.
    Should we use Java Script within DATA_CELL method or is it possible to do this with the usage of C_CELL_TD_EXTEND?
    Thanks for your reply.
    Best Regards,
    Nuran Adal
    it's been solved with the following ABAP Code in DataCell method...
    DATA : str TYPE string,
           pvalue TYPE p DECIMALS 1.
        IF i_alertlevel IS INITIAL .
          pvalue = i_value / 1000000.
          MOVE pvalue TO str.
          REPLACE '.' WITH '''' INTO str.
          c_cell_content = str.
          ENDIF.
    Message was edited by: Nuran Adal
    Message was edited by: Nuran Adal

  • How  to hide Rows Conditionaly??

    Hi All BOBJ Experts,
    Is it possible to hide measure value conditionaly in WEBI XI 4.0.....i have 3 dimension Objects and 2 measure Objects..(i.e)Product Code,Name,Capacity,Quantity,Unit(Ton,Kg,Litters,etc).....i want to hide rows if Quantity is null...
    thanks in advance....
    Regards,
    Sella Perumal P

    check this:
    HOW TO HIDE A ROW ON WEBI REPORT WITH 0 AND NULL VALUES
    rgs,
    Parth.

  • How to hide rows if all values are Zero  (0) horizontally?

    Hi,
    I have got a requirement to hide rows from the results if all values are equal to zero horizontally.
    Example:
    Region   M1    M2   M3
    East     0      0    3
    West    10     20    0
    South   -5      0    5
    North    0      0    0In the above example only North Region row should be hidden from the results becasue all the measures values are zero.
    Can someone please let me know the logic to achieve this?
    Thank in advance.

    Hi Karthik,
    Your answer was spot on(you are awarded points) but not my question. My client uses some X erp, which removes all zero value records when he clicks to see results. He wanted the same thing for Answers (he does not want to add any filters). Is there anyway to achive that, like using javascript or something?
    Thanks in advance.

  • How to get rows values in a column only ?

    How to get all returned values in rows in a column.
    e.g., a query gives output as :
    123
    234
    233
    12121
    all in different rows. But i want the result like this:
    123,234,233,12121.All in a single row and a single column .
    How is this possible ?

    prakash wrote:
    hi ,
    Use the following example
    CREATE or  replace  FUNCTION fn_return_row
    RETURN VARCHAR2
    IS
    v_row   VARCHAR2 (32767);
    BEGIN
    FOR curr_row IN (SELECT ename
    FROM emp11)
    LOOP
    v_row := v_row ||','|| curr_row.ename;
    END LOOP;
    RETURN v_row;
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN NULL;
    END fn_return_row;
    select fn_return_row from dual ;Thanks,
    P PrakashThere's no need to use PL/SQL when SQL provides adequate functionality to do it.
    The title of the thread is misleading as turning rows into columns is called pivoting, but the description of the issue wanting to join all the rows together into a single column, is actually called string aggregation.
    As already demonstrated it can be done several ways.
    1. with XML functionality
    2. using the SYS_CONNECT_BY_PATH method
    and if you have 11gR2, there's...
    3. the new LISTAGG analytical function.
    There is also an undocumented WMSYS.WM_CONCAT function, though this isn't as flexible as other methods in that you can't control the order of the aggregated data so easily, and using such undocumented functions in production code is dangerous, as the functionality could change in future versions of Oracle, as well as it's use making your code such that Oracle will not provide support if the code with issue is using it.

  • How to split rows based on two columns..

    Hi all...
    I have a requirement.
    I have product column, sell, purchace prices..(total of three columns) in a data set.
    my data set is such a way that..if sale price exists...there is no purchase price and vice versa..
    I need too present in a report ,two tables:
    table 1 consists of only Sale price items
    table 2 should contain only Pruchase Items.
    Please see the below picture for clear understanding..
    Is that doable? Where do we need to impose a condition?I tried to impose a condition but,it didnt seem to work
    http://i51.tinypic.com/29xfdc6.jpg
    Please help.

    Can you send me the template and xml file to [email protected]? I can try to help.
    Did you try to filter out the records by the sale price or purchase price column not equal to null?
    Thanks,
    Bipuser

  • How to set color for a particular column in advance table?

    How can we set the color of a particular column in advance table based on some parameter feteched from vo query in process request?

    i have tried the same way as mentioned in the post but ,its giving error
    java.lang.ArrayIndexOutOfBoundsException: 0
    processRequest code
    OAAdvancedTableBean table =
    (OAAdvancedTableBean)webBean.findIndexedChildRecursive("TimEntAdvtbl");
    if (table != null)
    System.out.println("table");
    OAColumnGroupBean daily =
    (OAColumnGroupBean)table.findIndexedChildRecursive("DailyColGrp");
    if (daily != null)
    System.out.println("daily col");
    OAColumnGroupBean ColGrp6 =
    (OAColumnGroupBean)table.findIndexedChildRecursive("ColGrp6");
    if (ColGrp6 != null)
    System.out.println("ColGrp6");
    OAColumnBean SatCol =
    (OAColumnBean)webBean.findIndexedChildRecursive("SatCol");
    if (SatCol != null)
    System.out.println("col");
    OAMessageTextInputBean sat1 =
    (OAMessageTextInputBean)SatCol.findIndexedChildRecursive("sat");
    if (sat1 != null)
    System.out.println("sat1");
    OADataBoundValueViewObject csssat= new OADataBoundValueViewObject(sat1,"Color");
    sat1.setAttributeValue(oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR, csssat);
    Error Page
    ## Detail 0 ##
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3199)
         at oracle.sql.NUMBER.toString(NUMBER.java:761)
         at oracle.sql.NUMBER.stringValue(NUMBER.java:2090)
         at oracle.jbo.domain.Number.toString(Number.java:390)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.formatObject(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.convertValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.getValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    Please help

  • How to create event alert for particular column get updated

    Hi every one.... plz help me
    How to create oracle event alert when particular column is update. plz help me.... Acutually i need email alert when ever list price for an item column in pricing table get updated+... plz. Its urgent.

    Oracle Event alert is based on update of specific table and not on specific column in table.
    However you can create a trgigger on table which is based on updat of column. And in this trigger you can send a mail using plsql.
    HTH

  • Display one or more rows for a particular column in alv grid display

    Hi,
    My requirement in the report is to display users for a particular workitem id.If a workitem is in the inbox of one or more users(approvers) i have to display all the user names in one field in alv grid output (output-approver id).There are other fields which display details of the workitem also.
    Is there a way to populate multiple rows for a single column or creating one more internal table for users in the alv output table.
    Please suggest.
    regards,
    Sravanthi Chilal

    ALV only can show flat internal table data.
    you should set a sort on the field which you want to show only once.
    Then on the output of the ALV, the field with the same value will show only once.

Maybe you are looking for

  • I Can No Longer Install Palm Desktop on a Reformatted Computer!

    Since I reformatted my computer and patched it all the way back up, I can no longer install the Palm Desktop Software.  I put the disc in and it hangs at the installation dialogue box and slows my entire computer down.  So I pull up the task manager

  • Is it possible to make a partition in Windows 7 and then place OS X on that partition?

    My employer just gave me a new MBP 13" with Windows 7 on it.  It has bootcamp running, but no option to boot in Mac OS.  IT dept. said they deleted Mac OSX Lion due to security concerns (?).  In any case, as I travel quite a bit and have and ipad and

  • Import Internal Table

    Hi guys... How can I import a internal table in a method of Badi? For example: I have the itab_ekpo that I export to memory in a especific program and need to import this table. Hw can I do this in a method ? tks flavio

  • Maps 3d not working in london

    Hi, Can't get 3D buildings to work in London, was there the other day but not now?

  • Extracting from flat file for testing inplace of ECC(r/3)

    Hi Expert, Please help me out and give me your suggestion. We are creating a custom table in ECC it is under progress. I would like to create infoObject, transformation, DTP and Cube and create queries with loading info by flate file. Later on connec