Web Table Interface

Hi,
Is there any way that i can delete the rows of a particular column(for example material column).I'm using the WEB ITEM "TABLE" in the web template.
If there is any sample code to delete the rows of a column, please do let me know.
Thank you,
regards,
ravi

Hi,
for this you have to use the so-called query table interface.
see documentation here: How to Enhance your Web Query with the Table Interface
If hiding a column would be an option you can find a how-to paper here:
How to Hide a Column in your Web Query with the Table Interface
regards,
jürgen

Similar Messages

  • "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

  • 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

  • Web reporting -- Table interface --Sorting table

    Hi.
    We want to display an extremely complex query in the Web, which returns about 40.000 rows.
    Our users are however only interested in the fifteen 'Overall result'-rows of this query. Therefore we try to find a possibility to suppress all the 'normal' data rows.
    I have an idea, where in the Table Interface would like to try to "mark" these 15 rows each with a unique number (from 1..15, in an added column in my table). I would then want to sort this table according to my new column, thus giving me a table that first displays these 15 rows. Now I can set in the WAD: Display the first 15 rows.
    Is this achievable? Could anyone provide coding examples that could help me do this?
    Thank you,
    Jon

    Jon,
    I do not think that would be possible. The table interface is something like a line by line interpreter which interprets the data coming and converts it to HTML.
    Hence for you to be able to mark the result rows would mean that the whole query of 40,000 rows has to be rendered.
    Another option is to use a prequery to retrieve the result rows , and if you display only the result rows of the query , will your purpose be satisfied ?
    Arun

  • Table Interface / Web: value from free characteristic

    Hi,
    i am using 2 queries. In the first query i got the free characteristic "calendar year month". Now i created a link with table interface to jump to the second query. With this link i would like to filter query 2 with calendar year month from query 1. How can i get the value from the calendar year month? With drill down there is no problem to get the value in method CHARACTERISTIC_CELL. But with free characteristics this is not so easy.
    Any ideas?
    Regards,
    M. Erbil

    Hi Erbil,
            Please find below the usage of GET_STATE_INFOS,
    DATA  l_sx_axis_data TYPE rsrds_t_axis_data.
               CALL METHOD me->GET_STATE_INFOS
               IMPORTING
               E_T_SLICER = l_sx_axis_data.
    You can get the 0CALMONTH from the above resultset.
    Cheers,
    Kartheek

  • How do i hide a column in table interface class

    Hi,
    I need to hide a column in Abap table interface class. When i tried to hide from web item properties it didn't work so i am thinking to hide first column in the table interface class
    Thanks,
    mala

    In the WebApplication Designer start Tools -> View Definition -> Based on a Query. Choose your query, change layout to your requirements and save the view. Now just use the view in your webtemplate.
    Pls assign points if answer is useful
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/37289">vitaliy</a>

  • Table Interface "destroys" Excel download

    Hello all,
    i made a webtemplate with 3 dataproviders. To download all into one excel sheet i implemented the How-To-Paper:" Web printing with Excel". It works fine.
    Now i attached a table interface class to the webtemplate which adjust some cells regarding color,....
    If i now download the template to excel for example: a percentage value like 48.59% 8web) is shown in excel 0.48 %; a normal value like 600 (which is normally 599.57 but rounded in webtemplate) is in excel 600 it should be 599.57).
    If i detach the table interface class it works fine again.
    Can anybody help ?
    Thanks
    Marc

    HI,
    I am having the same problem.
    Any solutions for this?
    Thanks,
    Andreas

  • Getting SQL*Net more data from client waits when running a query through web based interface

    Hi, you all,
    We are having this weird behavior when running query through web based interface, we get a lot of "SQL*Net more data from client" waits, the OEM indicates that the current wait event is SQL*Net more data from client
    It's just a very simple query wich invokes a db link.
    When I execute the same query on any PL/SQL tool like toad or sql developer it works fine, but that query inside an application executed through a web based interface, it hangs for ever.
    Where can I start looking for the problem.
    We are working on a 3 Node RAC 11gr2, both databases are on the same RAC.
    Thanks.

    Hi ,
    we managed to reproduce the case in test environment, below are the steps:
    1)have 2 databases on different machines, will call the first one local, the other one remote.
    2)in the local database create:
    a - DBLink to remote database.
    b - read data from remote database(we simply used select count(*) from dummy_table )
    c - insert data into a table on the local database
    d - terminate the connection between the 2 databases (disconnect either machine from the network)
    e - commit on local database.
    what we noticed was the following:
    1)when the local database is disconnected from the network(the machine is not connected to any network at the moment): almost immediately throws an error, and issuing the following:
    select * from dba_2pc_pending;we found some data .
    2) when the remote database was disconnected(the local database is still connected to the network):
    after 7-8 seconds an error is thrown, and issuing the following:
    select * from dba_2pc_pending;did not return any data.
    since this is pretty similar to our case ,we concluded that it's a network issue.
    is this the correct behavior ?
    as a temporary solution till the network issue is fixed ,we did the following:
    1) changed the call of the remote procedure to calling a local procedure that calls the remote procedure.
    2) added pragma autonomous_transaction to the local procedure.
    3) at the end of the local procedure rollback the autonomous transaction.
    it seems that since the global transaction does not use the DBLink database does not issue a 2PC commit.
    this works in my cases since the DBLink is only issed to read data.

  • Hide columns in table interface

    I've used SAP's 'How to ... Hide a column in your Web Query with the Table Interface".  The problem is that if I do any OLAP function my headings reappear.  It doesn't look like the 'structure_cell' method is being called.  Is there a way to force this method to be call?  Or is there a flag to reset in the table class that tells the class that this is the first time running the report.  It seems that the initinal run is different than if you use any OLAP function.

    Make sure the STATELESS navigation state of the template is not set. There is no properties which needs to be set in the class for this.
    Thanks.

  • Table Interface - Urgent

    Hi all,
    I would like to use the table interface to hide a lot of consecutive rows (more than 100) in a web query.
    Therefore I've redefined both DATA_CELL and
    CHARACTERISTIC_CELL method with coding
    move '<!-- -->' to c_cell_content for the referring rows.
    The effect is, that the cell content is hide but all rows are shown furthermore with a minimal heigth.
    Could anybody help me?!
    Bye
    Hagen

    Dear Hagen,
    why don´t use the "show rows" paramter of table item in WAD this will not create (not hide) the rows more than 100 or make a condition top 100 into the query this is better for performance than just hide them.
    If you want to do it by Table Interface you have to change the methode structure_cell as well.
    Regards
    Marcus

  • Get the filter value in the Modify Table interface

    Dear Colleages,
    I use a Table Interface in order to get aditional values in a web template from a table, but I need the filter value used in the query.
    I can get it with "get parameter" sentence:
    GET PARAMETER ID '/BI0/OCALMONTH' FIELD MES1
    But I cannot when I have a filter instead of a variable, it doesn't work using a variable without "manual entry" option.
    ¿How can I get this filter value?
    Regards,
    Jose

    Hi Jose,
    Use method get_state_infos (http://help.sap.com/saphelp_nw04/helpdata/en/32/ab3a3c24b4a00ae10000000a11402f/frameset.htm)
    The dynamic filters are in e_t_slicer.
    If this a a static filter or a variable, you can find them in e_t_txt_symbols.
    Heike

  • Default Table Interface Class - 0TPL_BAP_MASTER

    Hi there
    We are trying to determine which table interface class is used on the default 0TPL_BAP_MASTER web template.
    We have created our own web template, but one of the pieces of functionality delivered with the standard template is the sort (ascending/descending) functionality which is included as arrows on the table column headings. We would very much like to use this on our custom template, and believe it to be implemented in the table interface class, but are not sure what that class is.
    Anybody know the name of the class?
    Cheers,
    Andrew

    Hi Deepu,
         How are you?
    I got a error about 0TPL_BAP_MASTER, when we are exicuting webtemplates in my portal. Can you please tell me what may be the error and how to overcome with this error.
    Thanks,
    Surendra.

  • Table interface: Text aligntment

    Hi All,
    Would you all give me suggestion, I am try to change text alignment specially for header in web reporting what I did change the stylsheet in mime object (se80) this step is not work. And I used STRUCTURE_CELL method of the table interface it works but all alignment for characteristics was change.
    I want to make it all back as default but is not work too.
    It’s highly appreciated of your respond
    Regards
    supriatna

    Hi Lars,
    the example you gave is quite a bad example: display a string instead of zeros can be easily done in the query desginer no need to use the table interface or other programming stuff:
    See Zero Value display
    http://help.sap.com/saphelp_nw2004s/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/frameset.htm
    In general there is no easy answer to this question. It depends on the scenario, for which you needed the table interface. Some things can be done with the query designer, some things can be done with the new Enterprise Reports and for some you would probably need some custom solution (Web Dynpro Program, ...). But this really depends on the scenario.
    Heike

  • Table interface - NW2004s ??

    Hi there,
    I understand that the table interface from BW 3.x does now not exist in NW2004s.
    I had heard from someone that this may be reimplemented using java in upcoming support packages?
    Has anyone heard anything about this ?
    many thanks
    Mark

    See below..
    <i>Official statement in note 931395
    ... The BEx Web Design API for Tables (table interface) and
    related customized ABAP coding that was available within
    the ABAP Web runtime is not available in the Java Web
    runtime.
    Therefore, in the next major SAP NetWeaver Release after
    SAP NetWeaver 2004s, SAP will provide a Java-based
    interface that can offer</i>

  • Web BPS Interface otr text

    Dear All,
    In a web bps interface that I've got in my system.There's the following script implemented on a text component.
    Could you let me where I can find the element corresponding to this :
    document.write ( ' <b><%=otr(ZBPS/001)%></b>' );
    Thanks a lot,
    <script type="text/javascript">
    function fPossible()
    document.write ( '<a href="#1" onclick="top.window.close(); bspSubmit(\'Function_button_Assigned2\'); return false;" class="sapBtnStd"; return true; title="">' );
    document.write ( ' <nobr>' );
    document.write ( ' <%=otr(ZBPS/001)%>' );
    document.write ( ' </nobr>' );
    document.write ( '</a>' );
    document.write ( '</BR>' );
    document.write ( '</BR>' );
    document.write ( ' <TABLE width="650px" border="2" padding="8" text-align="center">' );
    document.write ( '  <TR text-align="center">' );
    document.write ( '   <TD text-align="center">' );
    document.write ( '    <A><%=otr(ZBPS/002)%></A>' );
    document.write ( '   </TD>' );
    document.write ( ' </TR>' );
    document.write ( '</TABLE>' );
    fPossible()
    </SCRIPT>

    Hi,
    Go to transaction bps_wb
    Click on Goto/ OTR /OTR entries
    Select your package ZBPS.
    Hope this answers your question.
    David Thoumieux

Maybe you are looking for

  • UNABLE TO TAKE THE REFERENCE DOC. OF DIFFERENT SALES AREA AT QUOTATION STA

    Hi, When i am copying from one sales area to another sales area at Quotation Stage . Iam getting the following Error as below : "Distribution channels deviate from each other. 13 and/or 11 (reference)" Message no. V2011 Process : First i have created

  • Final settlement of Rebates

    Dear Members When i record a rebate agreement in SAP 4.6C, then after the sales process-delivery , billing and account determination i am able to do both Partial (manual ) and Final settlements. But in 4.7, for final settlement system shows the messa

  • Parameter CAP in UTPRI function

    Hello Payroll Gurus! Could anybody help me with the following problem: In PP 11/2014, we have changed employee's infotypes 0207, 0208, 0209 from WA to CO starting from PP 09/2014. As a result, the system re-calculated taxes for the employee (withhold

  • Custom currency format

    Hi All, I have currency field which needs to be formatted as below : - The last two positions of a dollar amount field are considered as cents and no decimal points.(ie: 100 = 1.00) - Trailing zeros are required for amount fields in order to properly

  • Using Update Resource User

    Hi, I have a requirement where I need to update a user who is not in IDM but in the resource, I need to update few attributes of this user in LDAP. Here is what I am doing to meet this, I am calling the subprocess Resource Object Retries where op =up