Regarding table view

Hi All,
                   I am new to BSP and dnt have much knowledge on it. I need some info on table view and its event handling.
Will reward for sure.
Thanks.........

Hi,
            In the Object Navigator (SE80) click on the Tag Browser ->BSP Extensions->Transportable->htmlb. In this you can find all the existing extensions of the BSP. There you can find the info on the table view.. its parameters and its uage.
In the BSP Application  SBSPEXT_HTMLB also you can find the usage of the property Table View and its respective event handlers.
Layout:
<tr>
               <td width=50% colspan=2>
      <htmlb:tableView id              = "tv"
                       table           = "<%= IT_OUT1 %>"
                       headerText      = "Details of Project"
                       headerVisible   = "true"
                       design          = "alternating"
                       visibleRowCount = "<%= var %>"
                       fillUpEmptyRows = "true"
                       width           = "100%"
                       selectionMode   = "LINEEDIT"
                       onRowSelection  = "tblv" >
        <htmlb:tableViewColumns>
          <htmlb:tableViewColumn columnName = "PROJECT_ID"
                                 title      = "Project Id" />
          <htmlb:tableViewColumn columnName = "SPR_PROJECT_ID"
                                 title      = "SPR ID" />
          <htmlb:tableViewColumn columnName = "CIRCLE_ID"
                                 title      = "CIRCLE ID" />
          <htmlb:tableViewColumn columnName = "FLCL"
                                 title      = "FLCL" />
          <htmlb:tableViewColumn columnName = "FLCB"
                                 title      = "FLCB" />
          <htmlb:tableViewColumn columnName = "RQ_STAT"
                                 title      = "PROJECT STATUS" />
          <htmlb:tableViewColumn columnName = "button"
                                 title      = "Status"
                                 type       = "Button" >
          </htmlb:tableViewColumn>
        </htmlb:tableViewColumns>
      </htmlb:tableView>
          </td>
      </tr>
OnInputProcessing:
DATA: tv TYPE REF TO cl_htmlb_tableview.
DATA:  tv_data TYPE REF TO cl_htmlb_event_tableview.
WHEN 'tv'.
  tv ?= cl_htmlb_manager=>get_data(
                                     request = runtime->server->request
                                     name = 'tableView'
                                      id = 'tv'
The above is an example of the table view.
Hope this might help you.
Thanks,
Sirisha.

Similar Messages

  • Any docs regarding Table/View,Function Module for Generic Extraction

    Hello All
    I need to do Generic Extraction,for that if anyone has docs., I need docs on how to create table,view,Function module and infoset query ,on that pl forward to my id
    [email protected]
    Many Thanks
    balaji

    hi Amit
    Thanks for your docs,but this docs i have already,do u have any thing different one,if so please forward?
    Facing a Problem
    Iam trying to create view(database view)for <b>vbak</b> and <b>vbap</b> and given in Tables in <b>Table/Join Conditions</b> tab and clicked in <b>Relationship</b> and the relantionship has been generated automatically,now when i tried to activate this view its saying like "<b>No tables and/or fields are defined for view xxxxx</b>(xxxx-> name of a view)
    what will be the problem?pl let me know how to create a view?
    And also I need to know the diffference between database view,Manintenance view,Projection view and help view?
    Pl let me know on this?
    Many Thanks
    balaji

  • Regarding Table View In visual Composer

    Hi All,
    I am using Visual Compsoer 7.0. I have a table in my iview. When i go to the layout tab and right click the table. I cant see the options like "CUSTOMIZE TOOLBAR", where i can insert a row in my table. How can i have this option in VC 7.0?
    Regards,
    Divya.

    Hi Divya,
    Refer this pdf. It ll be useful to u
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c617533c-0a01-0010-b88e-a6e8e2e419c9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c617533c-0a01-0010-b88e-a6e8e2e419c9</a>
    Regards,
    Hemalatha

  • Help Needed regarding to Table View Control

    Hi Abapers
    In Table View Control which property or system variable keeps the user selected row's row id.
    Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
    With regards
    Anoop.

    Hello Anoop,
    post your questions in the correct forums and you can hope to get a better answer. This forum as you see is the suggestions and comments forum and not the ABAP forum.
    Sameer

  • Regarding Visual Composer table view

    Hi experts,
    1. Can i change the size of the table cells (in table view)  in visual composer?
    regards
    divya

    Hi Divya
    It is not possible to change the size of an individual table cell directly in visual composer. But, you can change the size of an entire column in a table, though!Maybe, if what I've heard is true, it is possible for to change it in the GML files. If someone can confirm this and give some help on how to modfy the GML, it'll be great.
    Thanks
    Manoj

  • Dynamically Hiding Column in a Table View in VC Model

    How to dynamacally hide the columns in a table view in a VC model. Through the expression in Control Property, Form element/field or table view as a whole can be made hidden, however, the individual column can not seem to be hidden.
    I am using VC server version 700.8.0.1.
    Any help would be much appreciated.
    Kind Regards
    Sanjoy

    In this scenario, if the source is SAP BI, you can use the webapi commands. If not, you would have to have 2 separate tables in different layers and you can show and hide those layers or UI elements...

  • How to use a Table View in AppleScriptObjC

    How can I use a table view and add data to it? And how can I display a button cell and image cell in the table? Thanks.

    Hi all,
    Actually i need some more clarification. How to use the same select statement, if i've to use the tabname in the where clause too?
    for ex : select * from (tab_name) where....?
    Can we do inner join on such select statements? If so how?
    Thanks & Regards,
    Mallik.

  • Help needed with conditions in Table View

    Another question regarding the dashboard we are building:
    We use a custom function module to display marketing attributes for a particular customer. There are three kinds of marketing attributes of which we want to display the value:
    - Z_QUADRANT
    - Z_SOW
    - Z_WALLET
    If I use the function module as a data service in Visual Composer and use a standard table view as ouput, we get these kind of output:
    Atnam - Atwrt - Atflv - Atzhl (<-- these are the column labels)
    Z_QUADRANT - 4 - 0 - 0
    Z_SOW - 0 - 5 - 0
    Z_WALLET - 0 - 75.000 - 0
    I just want to display the data as follows:
    QUADRANT: 4
    SOW: 5%
    WALLET: 75.000
    So I need to hide the obsolete fields and values and just need to display the relevant values. How can I achieve this? I was guessing I needed to implement some sort of conditional formula like "IF atnam = Z_QUADRANT, display Atwrt(value)" or something, but I am terrible at these kind of things. Can somebody explain it to me or point in the right direction of some good documentation or guide on this? Thanks in advance!
    Best regards,
    Jan Laros

    I now chose to use a form which uses the output from the tables. This is the table I use as input for the form:
    http://tweakers.net/ext/f/DWmYaePz4gdzVhwMJ3naA5UQ/full.jpg
    I use the following formula for the quadrant:
    IF(@ATNAM=="EU_BP_NPS_QUADRANT",@ATWRT,"0")
    This returns a value of "4" which is correct.
    For SOW I use the following formula:
    IF(@ATNAM=="EU_BP_NPS_SOW",@ATFLV,"WRONG")
    Strangely enough the return value is "WRONG" in the form. What am I missing here?
    Regards,
    Jan

  • :: NWA does not show table view for monitoring reports ::

    Hi,
    We are facing an issue in one of our portal system.
    I click on Portal index page, then I go to Net weaver Administrator --> Monitoring --> Java system reports.
    Here I get the resource utilization graphs.
    The graphs show proper values however when I click on table view it does not show any value or table at all.
    Then I click on Settings button, and click on Persistent radio button.
    It asks to enter the number of days for which the the data should be stored.
    I gave it as 2 days and click on Apply button.
    It shows a message saying "changes would be effective after restarting monitoring service".
    However when I go there i.e. NWA --> Administration --> Applications
    I get below services
    cafruntimemonitoring~ear                 
    com.sap.ip.bi.sdk.monitoring                 
    tclmwebadminmonitoravail~wd            
    tclmwebadminmonitorcomplib~wd            
    tclmwebadminmonitorprovider_ear            
    tclmwebadminmonitorstate~wd            
    tclmwebadminoverviewmonitoring~wd           
    tcmonitoringsysteminfo
    Would you kindly suggest which service from above list should be restarted ?
    Thank you, Regards,
    Girish Garje.

    I think what is being asked is "How do I expose a database view as a schema table in Configuration Manager?"
    This is accomplished by creating a database view within the WCC database schema (and with the WCC schema user as the view owner). The view then will appear as a table in the "table" tab in Configuration Manager.
    One caveat in 11g is that the user created by RCU does not have any privileges to read/create views in its own schema. You may need to grant privileges to views for the WCC schema user before this will work.

  • Display of missing values in a table view.

    Hi everyone,
    I have a table view with 7 columns and 10 rows which displays only those values which are missing in the DataBase Table.
    Is it possible to show only the missing values as '-' in a table view, the table view is having 7 different fields.
    Also when the value is inserted at run time the corresponding field should be updated accordingly and the value will no longer be displayed in the table view as '-'
    please advice.
    Regards
    Neo.

    Welcome to SDN.
    do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
    loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
    <i>Also when the value is inserted at run time</i>
    so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
    search the forum on how to read the user entered value from the table view so that you can update the dbtable.
    Regards
    Raja

  • Input field in a table view control

    Hi,
        I have a table view control, with input field in one of the columns.
        That is meant for entering some values.
        My problem is when i am entering a 3 input field with value and then by   using     mouse control i enter say 20th input field with value.  After that when i use the directional keys to enter the 21st field, the cursor is not in 21st field, it is somewhere else.
    How to correct this problem.
    Regards,
    Vijayalakshmi

    Hi,
    Try to use the TABINDEX property of <input>.
    Best regards,
    Guillaume

  • How to display a table view and a pdf view on one page?

    Hi,
    I want to build a portal page, at the top of the page , there will be a table view,
    containing a list of employee, below that is a pdf file showing the profile of the selected employee.
    i have finished the two parts separately, but since the pdf display require to set the response type of the page, so i think it's not possible in integrate the two parts into one page.
    so do i need to use iframe? or is there any other design to solve my problem?
    thanks and best regards.
    jun

    You can create main page & call other two pages which u already created using
    <b><frameset></b>
    <frameset row = "30%, 70">
      <frame src ="tableview.htm" />
      <frame src ="pdf.htm" />
    </frameset>
    Raja T

  • Unable to create visual composer table view from the Bex Query

    Hi
    I am trying to create the visual composer lay out from a Bex query. The Bex query contains a set of Key figures and a structure.
    These key figure and structure combination is forming a table in the query output. Key figure parameters are coming as rows and Structure parameters are coming as columns.
    example query out put:
    Total, HPC, FDS excel ICe etc are as Structure elements and coming as columns in query out put and
    Invoice value, Gross sale value, Efficient operations etc are as Key figure elements in query and coming as rows in query out put.
    But if I map this query to visual composer table view all these are coming as columns as given below.
    Total Invoice value ,             Total Gross sale value,    Total Efficient operations,      HPC Invoice vale,.........
    And if execute the query will giving the out put in single row.
    Can anybody help me out to map this in the row column format?
    Is it really possible to do in VC?
    I am using CE 7.2. The VC model I need to be embedding in BPM.
    Please help me to solve this issue. I completely stuck up this issue.
    Regards
    Sajith P
    Edited by: Sajith P on Aug 17, 2010 3:07 PM
    Edited by: Sajith P on Aug 17, 2010 3:15 PM

    Hi,
    Try to use some function module which will convert query data into flat tables. (eg., RS_VC_GET_QUERY_VIEW_DATA_FLAT).
    Hope this solves your issue.
    Regards,
    Vinay

  • How to use column with linkToItem in the Basic Table view style mode

    Hi
    I have already changed a normal column that I made to a column with linkToItem as follows.
    <viewfields>
    <FieldRef Name="MyColumn" linkToItem="TRUE">
    and it worked.
    But this column works only at the default view style mode in my case.
    Does anyone know how to use linkedToItem column in the Basic Table mode?
    hope someone help me.
    thanks

    Hi,
    According to your description, my understanding is that you want to use linkToItem in the Basic Table view style.
    Per my test, in the Default style view, we need to use linkToItem=”TRUE”. However, in Basic Table style view, we need to use LinkToItem=”TRUE” instead.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to make a single row as editable in a table view?

    Hello Friends,
    As per the requirement,i have created a new table view with table row level actions. But I am able to achieve the delete functionality. But for edit action, if i lock the corresponding entity also it is not becoming as edit.
    Let me know any ideas to achieve this??
    Thanks in Advance.
    Regards,
    Ravi

    Hi Raviteja,
    In your row level buttons if you want to edit a row you have to fallow this steps..
    1) get the selected record by using index.
    2) get the action mean which action you want to perform ( edit or delete like).
    3) lock the current entity.
    4) get the custom or comp controller instance based on get the current record.
    5) edit the row..
    sample code for this..
    DATA:
         lv_index          TYPE int4,
         lr_current        TYPE REF TO if_bol_bo_property_access,
         lr_entity         TYPE REF TO cl_crm_bol_entity,
         lv_event          TYPE string,
         lv_dummy          TYPE string,
         lr_core           TYPE REF TO cl_crm_bol_core,
         lv_one_click_lock TYPE sysubrc,
         lr_col            TYPE REF TO if_bol_bo_col,
         lr_coco           TYPE REF TO component ctrl class name (impl class),
         lr_cuco           TYPE REF TO custom cntrl class name ( impl.)
       CALL METHOD cl_thtmlb_util=>get_event_info
         EXPORTING
           iv_event = htmlb_event_ex
         IMPORTING
           ev_index = lv_index.
       CHECK lv_index IS NOT INITIAL.
    * Get the current entity
       lr_entity ?= me->typed_context->urcnode->collection_wrapper->find( iv_index = lv_index ).
       CHECK lr_entity IS BOUND.
    * Get the action clicked on
       SPLIT htmlb_event_ex->event_defined AT '.' INTO lv_event lv_dummy.
    * Try to lock the current entity
       lv_one_click_lock = cl_crm_uiu_bt_tools=>set_one_click_lock( me->typed_context->cnode->collection_wrapper ).
       CASE lv_event.
    *   Edit the current Partner
         WHEN 'EDIT'.
           IF lv_one_click_lock <> 2 AND lr_entity->is_send_active( ) = abap_true.
             lr_coco ?= me->comp_controller.
             CHECK lr_coco IS BOUND.
             lr_current = lr_coco->typed_context->cnode->collection_wrapper->find( iv_bo = lr_entity ).
    *       if entity is not yet there: add it to component controller collection
             IF lr_current IS NOT BOUND .
               lr_coco->typed_context->cnode->collection_wrapper->add( lr_entity ).
               lr_current = lr_coco->typed_context->cnode->collection_wrapper->find( iv_bo = lr_entity ).
             ENDIF.
             CHECK lr_current IS BOUND.
             lr_cuco ?= me->get_custom_controller( 'compname/cnameCuCo' ). "#EC NOTEXT
             lr_cuco->typed_context->cnode->on_new_focus( lr_current ).
             me->set_editable( ).
           ENDIF.
    if this is not work then go through this link..
    OCA edit button problem
    Thanks & Regards,
    Srinivask

Maybe you are looking for

  • Are there advantages to using Adobe Bridge with Premiere Pro?

    I frequently use pictures with my videos.  Normally, I use Windows Explorer with the picture viewer to browse for what I'd like to use.  I've experimented with Bridge, finding it to be a memory hog and slow.  It got me wondering - Are there advantage

  • EXCHANGE RATE IN IMPORT PO

    HI, WHEN I AM DOING THE MIRO FOR PLANNED DELIVERY COST WITH DIFFERENT VENDOR IN CASE OF IMPORT PO. AT THE TIME OF MIRO IT IS PICKING THE CURRENT EXCHANGE RATE ENTERED IN OB08,NOT WHAT I HAVE MENTIONED IN PO.THOUGH I HAVE TICKED THE "FIX EXCHANGE RATE

  • Deploy same EAR twice in WLS

    Hi, I have an application developed under Jdev 11g. I prepared my ear file. I need to deploy the ear file twice on the same WLS. I deployed the first time. The second time i was told that the context "CGB" is already user. I created a deployment plan

  • Podcast Page

    Hey Everyone! I've added a podcast page to my site and I have a few questions. I made my podcast in Final Cut Express and Converted it using Quicktime Conversions. I used the ipod format. When I put it on the page iweb warns me that it is a large fil

  • Why is the fan noisy on iMac? And how do I stop the noise?

    Why is the fan noisy on iMac monitor and how do I rectify the problem?