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

Similar Messages

  • 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

  • "own checkboxes" in Web with Table Interface?????????u00DF

    Hi to all experts,
    i have the following scenario:
    I am using a query in web. Well in the lines there is a characteristic (for example sales org) and in the columns a keyfigure with an exception and a top10 condition. I think exception and condition are not important for my problem but the table is. Now i want to see in front off all lines a checkbox.  That means i have - for example - now 10 sales organizations in my query and in front of all sales orgs there should be a checkbox. I think that should be realized with table interface. Now the user should be able to mark two ore more checkboxes to jump with the Report Report Interface by using a link to another Web report? Is that possible? Sounds hard i think or isnt it?
    Regards,
    M. Erbil

    Hi Memo,
    try the following. Create a template with a web item table. Than by using se24 create your own class for table interface. Change method DATA_CELL.
    method DATA_CELL.
    *CALL METHOD SUPER->DATA_CELL
    EXPORTING
       I_X                   =
       I_Y                   =
       I_VALUE               =
       I_DISPLAY_VALUE       =
       I_NUMERICAL_SCALE     =
       I_NUMERICAL_PRECISION =
       I_CURRENCY            =
       I_UNIT                =
       I_ALERTLEVEL          =
       I_IS_SUM              =
    CHANGING
       C_CELL_ID             =
       C_CELL_CONTENT        =
       C_CELL_STYLE          =
       C_CELL_TD_EXTEND      =
      data: l_cell_content type string.
      if i_x = 2 and i_is_sum <> 'X'.
        concatenate l_cell_content '<INPUT type=checkbox value=ON name='
        '' filter '' '>' into
        l_cell_content.
        c_cell_content = l_cell_content.
      endif.
    endmethod.
    You can hold the value from characteristic in method CHARACTERISTIC_CELL:
    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 =
    data: l_filter type string.
    Store characteristic value of current row
    if i_x = 1 and i_is_sum <> 'X'.
    l_filter = i_chavl.
    endif.
    endmethod.
    Please note that "i_chavl" holds the key value from characteristic.
    Now back to method DATA_CELL and insert something like this:
    filter = l_filter. "l_filter is set in method characteristic cell
    so it look like this:
    method DATA_CELL.
    *CALL METHOD SUPER->DATA_CELL
    EXPORTING
       I_X                   =
       I_Y                   =
       I_VALUE               =
       I_DISPLAY_VALUE       =
       I_NUMERICAL_SCALE     =
       I_NUMERICAL_PRECISION =
       I_CURRENCY            =
       I_UNIT                =
       I_ALERTLEVEL          =
       I_IS_SUM              =
    CHANGING
       C_CELL_ID             =
       C_CELL_CONTENT        =
       C_CELL_STYLE          =
       C_CELL_TD_EXTEND      =
      data: l_cell_content type string,
            filter type string.
      if i_x = 2 and i_is_sum <> 'X'.
    filter = l_filter.
        concatenate l_cell_content '<INPUT type=checkbox value=ON name='
        '' filter '' '>' into
        l_cell_content.
        c_cell_content = l_cell_content.
      endif.
    endmethod.
    Hope it works
    Regards,
    Adem

  • How to create own Web Items for Web Application Designer

    Hi all,
    is it possible to create own Web Items for the Bex Web Application Designer? Each Web Item has a Master Web Item and a class that is responsible for rendering data. I need a solution to get the Web Item's data - i.e. the content of a table (if Web Item = table). So my approach would be to create an own (Standard) Web Item with an own class. For example I would like to change the table's Web Item parameter <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/> to an own class...
    Is this possible?
    Or ist there any possibility to get the Web Item's data by an interface?
    Any support is welcome...thanks in advance!
    Best regards,
    Dominik

    if you want to create your own webitem check out the link given by other sdner.
    if you want to be able to execute BW query using abap you can check out the following weblog.
    /people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
    Regards
    Raja

  • How to Fix Table Header of Analysis Web Item in BEx Web Template

    Hi,
    I am using an Analysis Web Item to display line item report in BEx Web Template. Is there any way to fix the table header of the like in Excel for better navigation?
    Thanks in advance.
    Regards,
    Joon

    Thank you all for your quick responses (I will award points once this is sorted)
    On the information you have supplied this has opened up yet another new part of WAD that I have not experienced ...TAGs
    Shubhranshu - I have done what you said but as I have never used tags I have just had a look around and found that I can insert Any Tag but not sure if I should be doing that.  If it is inert any tag , I chose FONT from the drop down and cbmAttributes defaulted into the custom tab for the class name but not sure what it wants in the Attributes and CSS Style tab, it won't accept what I am putting which is leading me to believe that I shouldn't be doing it that way.
    Venkat - thanks for the links they will prove very useful.  I've had a look and although they talk alot about the XHTML code for tags they don't actually say how you do it in the editor - I would like to produce one that way first and then see the code it generates for it.  I'm a bit apprehensive with changing the code direct as I don't want to mess anything up.
    Thanks again for your help

  • How to render web items based on the authorisation profile of the user

    Hello,
    Is there any way to render web items based on the authorisation profile of the user. The only way i can think of is:
    - Write ABAP to look up into the security mapping tables.
    - Convert the ABAP report into RFC-Enabled FM. The selection variables will be part of the import/export parameters of FM and table can be used to display the result.
    - Create HTML template using WAD, write Java Script to call the FM and map the import/export parameter. Display the result in Table.
    But i don't know How to use the Java Script to call Function Module (FM) and get back the authorization through parameter.
    Is anyone know about it or is there any other method to do it? I can't find any solution and it is very critical for me.
    Any help is highly appreciated.
    Rajat

    Hi Rajat,
    Do you mean that you want certain users to be able to use only certain web items? I think you can use the libraries for that and assign them to roles:
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/0f813b420ce60ee10000000a114084/content.htm
    Hope this helps...

  • BI 7 properties of web item to change background,...

    Hi,
    I try to find how to change the background color or no backgoround color of web item (for example text element) in BI 7
    I don't find any properties as in previous version like background color,...
    Do you know how can i manage it except in CSS style.
    Thanks
    Cyril

    Hi,
    You can always write HTML tags for a web item and assign properties to that object within that tag.
    For example if you have put your web items in a table structure. You can change the background of the cell in which the item is placed.
    For eg:
    <html>
    <body>
    <table>
    </table>
    <tr>
    <td bgcolor="#30688" width="80%">
    Place your web item here
    </td>
    </tr>
    </body>
    </html>
    Regards,
    Kishore

  • How to pass parameter values to a customer exit web item (WAD)

    Hi gurus,
    I have a wad with a data provider and a filter panel filtering that dp by using a variable. There is also a customer exit which saves the values of that variable into a z table.
    How can I pass the values of the filter panel to the customer exit web item?
    Thanks in advance,
    Rob

    Can you clarify your scenario? Which is the case you're talking about?
    1) You want to pass a parameter from OmniPortlet to a PL/SQL procedure.
    2) You want to pass a parameter from a PL/SQL procedure to OmniPortlet.
    In both cases the most obvious way of doing it is through request (URL) parameters.
    Render a link in your portlet (either in OmniPortlet or using PL/SQL) that invokes a portal page, containing the other portlet.
    Both OmniPortlet and PL/SQL allow you to wire and access page parameters.
    Take a look at the Using Parameter and Events section of the Portal User's Guide and the Parameters and Events section of the Portal Developer's Guide.
    Hope this helps,
    Peter

  • Web item for a custom large block of text

    Hi all,
    I want to include a large block of text in one of my web templates. I could just type it there in a table or something like that, but I'd like it to have the same look and feel as the rest of the web items.
    Is there any web item I can use to include that text, so that I can have the nice blue, collapsible boxes, with a title and all the works?
    Thanks a lot in advance for your help.

    Assign a BEX-style-class to your text.
    You could insert your text into a cell of a table and assign a style to that cell.
    <td class=SAPBEXstdItem>'your text'</td>
    Regards,
    Beat

  • User manipulation of web item properties

    Hi everyone,
    I have a requirement from a client where they want to be able to dynamically manipulate web item properties, more specifally they want to change the number of columns of a report displayed on the web.
    For instance, lets say I have a web template that has a query assigned to it and displays a report. In the bex web designer, you can set the number of columns displayed in the properties section of the web item. I want to be able to change this property directly from the web with the help of a drop down box.
    Is it possible to do this, and if so, how?
    I have tried to search the forums for a similar questions but with no luck.
    Thanks!!
    best regards,
    Dionisios

    Hi,
    Are you referring to the Table item property named DATA_COLUMN_TO? Aren't you able to change it by adding it at the end of your url with the desired value?
    If you need to add a button or a new context menu entry then you will need to add some javascript to your web template.
    Please, check how to guide about adding a new context menu entry (How to enhance context menu).
    Hope it helps,
    David.

  • Web items Migration

    Hi All,
    We are Migrating 3.X Web Templates to 7.2
    I need some help with the Web Items.  BW Stats display 5,765 web items based on the BI Object Type for Web Item.  However table RSZWITEM only finds 21 of the items (I checked  OSS Note 832712).  So I am not certain how many web items need to be converted but I know that we need to convert the web items based on the usage of the web items in the 225 web templates.  Any expertise and help that can be provided in determining the appropriate web item count is greatly appreciated.
    Please help me.
    Thanks
    Prakash

    Hi All,
    I find the table RSZWOBJXREF based on the usage of the web items in the all web templates which are using in the system.
    Thanks
    Prakash

  • Web Item Analysis Modification Modules

    Samples provided by SAP for Web Item Analysis Modification are
    4) Negative Number module (com.sap.ip.bi.rig.NegativeNumber)
    Depicts negative numbers in a column or entire table in red.
    Hi SDN Community,
    I have recently been exposed to Web Interface in BI7, (having previously worked in BW35 on Table Interface Class)
    How do we ensure that the modules are activated as per the SAP documentaiton.
    Are there transactions/documentation available?
    Finally, once I get past this point, i found a document on the web that explains how to use one of these Exception modules,
    In the case of the negative number module, do you know if the numbers are displayed in red font when negative, (and in the same column)
    Thank you.
    Simon

    Part success!
    I used this module, and sure enough, the negative colours are red.  It must have been already active.
    Now, to change the sign, to positive...  is there a standard module, or will this require some ABAP or java coding.
    for example, do i require to do this?
    ABAP Class for the Custom Extension Web Item 
    Thank you.
    Simon

  • Web Item Analysis Moodule in BI7 - How to Activate

    Samples provided by SAP for Web Item Analysis Modification are
    4) Negative Number module (com.sap.ip.bi.rig.NegativeNumber)
    Depicts negative numbers in a column or entire table in red.
    Hi SDN Community,
    I have recently been exposed to Web Interface in BI7, (having previously worked in BW35 on Table Interface Class)
    How do we ensure that the modules are activated as per the SAP documentaiton.
    Are there transactions/documentation available?
    Finally, once I get past this point, i found a document on the web that explains how to use one of these Exception modules,
    In the case of the negative number module, do you know if the numbers are displayed in red font when negative, (and in the same column)
    Thank you.
    Simon

    It seems that you simply use the RIG module in the web template, and save.
    This essentially activates it.

  • Data Binding in Web Items

    In 3.5 it was possible to assign mulitple dataproviders to a web item.  For example it was possible to assign 2 datprovider to the navigation block.  This was useful where a web template had 2 dataproviders for a table and chart. Of course there would need to be common characteristics in both data providers.
    Navigation changes made would effect both the table and chart.
    In 2004s it does not appear to be possible to assign more than 1 data provider to a web item under data binding.
    Does anyone know if this is the case OR is it possible to assign more than 1 dataprovider.
    Thanks
    Ian

    It is possible: (refer to HTML below) Refer to setting "Affected Data Providers"
       <P><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="NAVIGATIONBLOCK_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DataProvider(1)"/>
             <param name="CLOSED" value="X"/>
             <param name="SHOW_AXES_GROUPING" value="X"/>
             <param name="TARGET_DATA_PROVIDER_1" value="DataProvider(2)"/>
             <param name="TARGET_DATA_PROVIDER_2" value="DataProvider(1)"/>
             ITEM:            NAVIGATIONBLOCK_1

  • How to use "Context Menu" web item in WAD 7.0 ?

    Hi Experts,
    Kindly tell me How to use "Context Menu" Web item in SAP WAD 7.0 ?
    How to attach this Web item to my Graph/Chart ?
    Plz provide some documents on this.
    Full points will be given.
    Thanks.
    -Jay Jay
    Edited by: jayaprakash j on Oct 10, 2008 1:47 PM

    Hi Jay
    Web items and HTML elements (for example, tables, texts, and images) that you insert into a Web template, as well as the Web template itself, have a context menu. This context menu has context-sensitive menu entries that you can use to call various Web Application Designer functions. You can, for example, use the context menu to save a Web item (for which you have specified properties by using the parameters) as a reusable Web item, call the properties dialog box for this Web item, copy the Web item and paste it into another Web template, or delete the Web item from the Web template.
    for more info go to following link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/2f/776b3d32390968e10000000a114084/frameset.htm
    Regards
    Vivek

Maybe you are looking for

  • Function Module for creating Functional Location BOM and Equipment BOM

    Hi All, Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???

  • Drill down report without using heirarchies in OBIEE11g

    Hi, Can we create multiple column drill down report without using hierarchies in OBIEE11g? Kindly let me know the solution. Thank you! -Harshith

  • Calendar events

    One of the many issues I have found with Mavericks is driving me to distraction. Scheduled activities / events in Calender work when they feel like it which isn't very often. For an automated backup on our server I use an App called SmartBackup and k

  • Probably the exception - not the rule

    I've been messing around with computers since the days of the Radio Shack Commadore Vic 20. It can be a frustrating hobby - to say the least. I've had the typical Adobe free stuff on my computer for years, and fooled around with Photoshop on other pc

  • Passing a variable from a non DB block to a DB block

    Im getting the error FRM-41003 when I try to pass a variable from a search screen i created to a results screen which is tied to a DB block. Ive searched this error and nothing seemed to match exactly what Im dealing with. Is it possible to do this?