Tableview in BSP

I would like to display some info in htmlb table view.
cud anyone help me ?

Hiya,
The tableview HTMLB element itself has quite complete documentation (look in tag browser, SE80, under
<i>BSP extensions/Transportable/HTMLB/<htmlb:tableView></i>
SAP help has a detailed work through of some sample applications that include the use of table views on several pages (i.e. see results page)
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/c8/101c3a1cf1c54be10000000a114084/content.htm">Creating Web Applications with BSPs</a>
Then for a bit more complexity ..one very useful Blog on this site is:
<a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator Programming: HTMLB TableView Iterator</a>

Similar Messages

  • Adding new rows in tableview of BSP

    Hi all,
       I am facing the very serious problem with using the tableview in bsp .The requirement is to add new rows to the tableview and update this content to internal table.The problem is when i enter some value in column and hit any button or triggered any event ,the value of column in table view gets cleared and i couldn't able to captur the value to internal table ...
    can anyone please help me to  sort out this problem.

    Hi Senthil,
    I think this would provide solution to your problem.
    the problem is whenever you edit the value in the tableview view the associated internal table of the table view has to be updated with the new values. for that you need to read the cell value from the table view.
    as its a tableview, you should read the value from the exact cell whose value has been modified and update that value in the internal table. here is the psuedocode. hope it helps.
    loop thru the selected rows of the table,
    'selectedrowindextable'  this info you can get from
    table_event TYPE REF TO cl_htmlb_event_tableview.
        LOOP AT selectedrowindextable ASSIGNING <i>.
    itab is the table which actually stores that data
    which you pass to the table view
          READ TABLE  itab INTO wa_itab INDEX <i>.
          i_rownum = <i>.
          CONDENSE i_rownum.
    construct the id of the Cell whose value is to be read
    for table view name, if u r showing it as a view in a
    tray object prefix the table view name with tray object
    id followed by '_'
    to read column 'totalcost' in 5th row the cell name
    would be 'trayid_tableviewid[5].totalcost
    Alternative you can get this format from the
    request->get_form_fields method also
       CONCATENATE 'tabviewname[' i_rownum '].colname' INTO req_cell.
       CONDENSE req_cell.
       l_value = request->get_form_field( req_cell ).
       CONDENSE l_value.
       wa_itab-colname = l_value.
       MODIFY itab FROM wa_itab INDEX <i>.
    ENDLOOP.
    Let me know if you have any questions.
    thanks and Regards,
    Kumar

  • About tableview in BSP?

    Hello,
         I hava a question about tableview  in BSP. How to get many records not only one from tableview in OnInputProcessing .
         I am forward to your help . Thank you !

    Hi,
    Multiple line select in TableView
    here you can find a good guideline for your problem
    grtz
    Koen

  • Grouping Key Rows In HTMLB Tableview BSP

    Hello Experts,
    I've a HTMLB Tableview in BSP Application. I need to group the key rows with same value into one.
    Current Layout
    KEY  VALUE 1    VALUE 2
    A       X                 Y
    A       X                 Y
    B       X                 Y
    B       X                 Y
    Required Layout
    KEY  VALUE 1    VALUE 2
    A       X                 Y
              X                 Y
    B       X                 Y
             X                 Y
    It's somewhat similar to grouping the key rows in ALV. Not sure how to achieve this in BSP.
    Please help....
    Regards,
    Satyajit
    PS: Posted this thread in BSP Forum earlier and haven't got any response yet. So reposting it in ABAP General for a quick response.

    Hi Satyajit Mohapatra,
    please refer to fixedColumns. Therefore check on your system:
    BSP: SBSPEXT_TABLE
    Page: TableViewFixedColumns.bsp
    There you can find the solution.
    Regards, Jonas

  • TableView Iterator in WebDynpro as in BSP

    Hi all,
    i'm planning to move from BSP to WebDynpro ABAP and have a question:
    Does WD ABAP provide the same kind of <htmlb:tableView> as BSP? Especially, does it support the concept of an tableview iterator?
    Thx & Regards,
    Daniel

    Yes you'll find everything.
    You'll find also the ALV extension of a table.
    I was familiar with iterator and I like it so much; in WDA you can reach the same result but in a different way.
    Basically you have to prepare, in advance, all the data in the table rows and then in the table configuration you'll describe the rules for each column (even with variants per row).
    You have to study the Table UI object with table cell variant and then ALV features.
    Sergio

  • BSP Changing the Column name

    Hi experts,
    I have used tableview in BSP . In the output it displays the column name as per the table which i have referred. I want to change the name of the column. How Should i do that.. anyone plz explain me with an example.
    Thanks in Advance
    Edited by: Vijay Babu Dudla on Apr 28, 2009 12:59 AM

    Hi ,
    If you want to change the column name, you can put your code following:
    <htmlb:tableViewColumn columnName    = " "
               *title        = " put the cloumn name here"*
               </htmlb:tableViewColumn>
    Please try.
    Any doubt let me know.
    Regards,
    Chris Gu
    Edited by: Gu Chris on Apr 28, 2009 5:26 AM
    Edited by: Gu Chris on Apr 28, 2009 5:26 AM
    Edited by: Gu Chris on Apr 28, 2009 5:27 AM

  • Passing paramters and calling a PCUI screen from a BSP Application

    Hi,
    We have developed a custom BSP application which displays a list of Opportunities in a HTMLB table view based on a search criteria.
    When I click on a particular opportunity no., I should call a PCUI screen which should display that particular opportunity details.
    Any help is greatly apperciated.
    Thanks,
    Vasu.

    You are going to have to be more specific in what you want.
    First I would read the following pieces of info.  They will help you with general problems, also with creating an Iterator and read the select rows of a table.
    BSP Element - Dynamic tableView with Internal Table
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>
    Just shooting from the hip I am assuming you are clicking on a selected ROW in the tableView where you defined the tableView with <i>selectionMode="SINGLESELECT"</i> and <i>onRowSelection="MySelectEvent"</i> then on the OnInputProcessing Event Handler you read the selected row (see <a href="TableView and selected row)
    So and of course once you read the selected row in the OnInputProcessing event handler you can do further porocessing.
    However if you are wanting to provide the user with the ability to click an icon or text link in the row then please refer to the Iterator for that.

  • Freeze the column headers for htmlb:tableView using CSS

    Hi
    I am using a <htmlb:tableView > in BSP to display data.
    i want to freeze the column headers so that they dont scroll when table data is scrolled.
    Is it possible ?
    Regards
    Rajendra

    Hi Rajendra,
    Have a look at the links below:
    [Freeze tableview header-I|https://forums.sdn.sap.com/click.jspa?searchID=24813847&messageID=3088768]
    [Freeze tableview header-II|Freeze table header in HTMLB Tableview]
    [Freeze Columns of tableview|https://forums.sdn.sap.com/click.jspa?searchID=24813847&messageID=3517748]
    Search the forum and you will find information on this.
    Regards,
    Anubhav

  • Merging cells in Tableview

    Hi,
    I am creating a tableview in which I would like to merge few cells for few of the rows (based on some condition). I am also trying to make use of Table Iterator for the same but not getting proper clue.
    Can someone please help.
    Thanks and regards,
    Sachin K

    There are about a millions sources here in this forum for that A quick search will provide several for you.
    Here are some links you should check out...
    BSP Element - Dynamic tableView with Internal Table
    And of course the basics...
    <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>
    Here is a code sample of doing something in the <b>IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS</b>
    method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS .
      FIELD-SYMBOLS: <def> LIKE LINE OF p_column_definitions.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
      <def>-COLUMNNAME = 'SID'.
      <def>-TITLE      = 'System'.
      <def>-WIDTH      = '10%'.
      <def>-SORT       = 'X'.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
      <def>-COLUMNNAME  = 'STATUS'.
      <def>-TITLE       = 'Status'.
      <def>-WIDTH       = '10%'.
      <def>-SORT       = 'X'.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
      <def>-COLUMNNAME = 'CREATIMEDA'.
      <def>-TITLE      = 'Date'.
      <def>-WIDTH      = '10%'.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
      <def>-COLUMNNAME = 'CREATIMETI'.
      <def>-TITLE      = 'Time'.
      <def>-WIDTH      = '10%'.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
      <def>-COLUMNNAME = 'ALERTMSG'.
      <def>-TITLE      = 'Text'.
      <def>-WIDTH      = '50%'.
      <def>-WRAPPING   = 'X'.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
      <def>-COLUMNNAME = 'UNAME'.
      <def>-TITLE      = 'Assigned User'.
      <def>-WIDTH      = '10%'.
      <def>-SORT       = 'X'.
    endmethod.
    Follow that with the code from <i><b>IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_ROW_START</b></i>
    method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_ROW_START .
      m_row_ref ?= p_row_data_ref.
    endmethod.
    and ending with this code from <i><b>IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START</b></i>
    method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START .
    * Data Declarations
      DATA: dataValue TYPE STRING,
            tmp TYPE STRING,
            tmptext TYPE STRING.
      CASE p_column_key.
        WHEN 'STATUS'.
          dataValue = m_row_ref->STATUS.
          case dataValue.
            when ''.
              tmp = '@5B@'.
              tmptext = m_row_ref->STATUST.
            when 'C'.
              tmp = '@5B@'.
              tmptext = m_row_ref->STATUST.
            when 'D'.
              tmp = '@5D@'.
              tmptext = m_row_ref->STATUST.
            when 'E'.
              tmp = '@5C@'.
              tmptext = m_row_ref->STATUST.
          endcase.
          DATA: image TYPE REF TO CL_HTMLB_IMAGE.
          p_replacement_bee = cl_htmlb_image=>factory( id = 'img'
                      src = tmp
                      alt = tmptext ).
      ENDCASE.
    endmethod.

  • Table view in Hierarchical list

    Hello All,
           I want to display the output details of my
    application in a tableview.
    1, But,the output list must be Hierarchical.I need to
       show the  header table and item table details
       <b>alternatively and grouped</b> .
    2, Is it possible to have an Hierarchical list in the
       Tableview in BSP HTMLB ?
    3, If it is then please let me know how can it be
       acheived ?
    4, <b>I'm not using MVC Model</b>.
    Regards,
    Deepu.K

    Hi Dhananjay,
              Thanks dude...This is a really good idea .
    But in my case i have to display the item details in the first view only .
    End-user requirement is as such.
    Is it possible ?
    Anyways i'll try ur solution and try to convince the Client.But plz let me know if the other way is possible or not ?
    I'm not assigning full points as I needed the Hierarchical list in the initial view itself.
    Plz don't mind.
    Regards,
    Deepu.K

  • Zipper utility required....

    Hi All,
      In SUS I am sending a questionnairewhich consists of
      25 pages.The receiving system is an BSP application.
      But because of system limitation, sometimes the
      operation goes to dump.My question is, can I send the
      questionnaire in Zipped format? If so how can I do  
      that?
    Plz help me on this..
        Sender - SRM-EBP
        Intermediate System - XI
        Receiver  - SRM-SUS  
       Regards,
           Amitabh

    Hi Amitabh,
    If you got your answer then plz close your last How can I incorporate dropdown in tableview in BSP else reply.
    Regards,
    Narinder Hartala

  • Java script error  when click on the  Tableview  in the BSp screen

    Hi All,
              I am getting a javascript error saying
    Line : 7770
    Char :5
    Error : 'rows' is null  or not an object
    Code : 0
    URL : http://saperpdev01............
    I checked the source code on the BSP displayed page. It don't has that line 7770 specified in the error.
    My Layout code is :
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "Open Work Screen with Pre Approval and Rejected Invoices ">
        <htmlb:form id = "openwork" method = "post" >
    <%
      data: l_num_msgs  type i,
      l_condition type string,
      l_message   type string,
      l_severity  type i.
    %>
        <img align="left" src="hl_invoicing.gif"/>
          <BR>
          <p align="left">      </p>
          <p align="left">      Complete the form below to create and submit a vehicle repair invoice to Schwans Home Service.</p>
          <p align="left">      See
          <htmlb:link id            = "paymenttermslink"
                      text          = "Payment Terms"
                      onClientClick = "return parent.EPCM.doNavigate ('ROLES://portal_content/com.schwans.tsfc.The_Schwans_Food_Company/HS/iView_folder/External_Content/KM_iViews/Fleet_Payment_Terms', 1);"
                           />
          for payment details.</p>
          <%
              l_num_msgs = page->messages->num_messages( ).
              do l_num_msgs times.
              clear : l_message, l_condition, l_severity.
              call method page->messages->Get_message
              exporting index     = sy-index
              importing condition = l_condition
              message   = l_message
              severity  = l_severity.
              if l_condition eq 'error'.
          %>
          <h3 align="left"> <font size=2 color="Red"><b>      <%= l_message %></b></font></h3>
          <%
              elseif l_condition eq 'warning'.
          %>
          <h3 align="left"> <font size=2 color="orange"><b>      <%= l_message %></b></font></h3>
          <%
              endif.
              enddo.
          %>
          <htmlb:group id     = "groupone"
                       design = "sapcolor" >
         <htmlb:groupHeader>
            <table width="100%" border="0" cellpadding="5" cellspacing="1" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv1"
                                      text    = "Select a  Work Order Number"
                                      design  = "HEADER1" / >
                    </td>
                </tr>
            </table>
        </htmlb:groupHeader>
        <htmlb:groupBody>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv2"
                                      text    = "Pre-approved work"
                                      design  = "HEADER2" / >
                    </td>
                </tr>
            </table>
        <table width = "100%">
          <tr>
          <td>
          <htmlb:tableView id               = "openwork"
                           table            = "<%= INVOICE->AT_OPENWORK %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_OPENWORKSELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Open Work Exists"
                           keyColumn        = "OPENWORKNO"
                           onRowSelection   = "openworktable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName = "OPENWORKNO"
                                     title      = "Reference Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "DOC_TYPE_TEXT"
                                     title      = "Document Type"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Created On"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "VMRS_TEXT"
                                     title      = "VMRS Code"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
          </td>
          </tr>
          </table>
        </htmlb:groupBody>
        </htmlb:group>
        <htmlb:group id     = "grouptwo"
                       design = "sapcolor" >
         <htmlb:groupHeader>
         </htmlb:groupHeader>
        <htmlb:groupBody>
             <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv3"
                                      text    = "Rejected Invoices"
                                      design  = "HEADER2" / >
                    </td>
                </tr>
            </table>
          <table width = "100%">
          <tr>
          <td>
          <htmlb:tableView id               = "rejectedinvoice"
                           table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Rejected invoices Exists"
                           keyColumn        = "INVOICENO"
                           onRowSelection   = "rejectedinvoicetable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                     title              = "Reference Number"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Invoice Date"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                     title      = "Reason for Rejection"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
          </td>
          </tr>
          </table>
      </htmlb:groupBody>
    </htmlb:group>
    <htmlb:textView id     = "tv1"
                    text   = "Select a Reference Number from the table above and click the Select button - or - Click the Create New button to create a new invoice."
                    design = "LABEL" />
         <table width="100%" border="0" cellspacing="1"  align="center" >
           <tr>
           <td  align="center" nowrap="TRUE">          
             <htmlb:button    id            = "selectbtn"
                              text          = "SELECT"
                              onClick       = "btnselect" />
             <htmlb:button    id            = "createnewbtn"
                              text          = "Create New"
                              onClick       = "btncreatenew" />
             </td>
           </tr>
          </table>
        </htmlb:form>
        <%@include file="footer.htm" %>
      </htmlb:page>
    </htmlb:content>
    What may be wrong????
    If I click anywhere on the table view it's giving a javascript error. If I try to select a row from the table also it's giving error for one or two times and on the third time i am able to select the table content and can able to navigate to the next page.
    Thanks for your help in advance.
    Thanks,
    Greetson

    Hi Raja,
         please kindly recheck the code if mine i have two tables ..... one for heading and another one for Body.
    it looks correct to me.
    <table width = "100%">
    >     <tr>
    >     <td>
          <htmlb:tableView id               = "rejectedinvoice"
                           table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Rejected invoices Exists"
                           keyColumn        = "INVOICENO"
                           onRowSelection   = "rejectedinvoicetable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                     title              = "Reference Number"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Invoice Date"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                     title      = "Reason for Rejection"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
    >     </td>
    >    </tr>
          </table>

  • Looking for a way to "deselect all" and "hold page" for bsp tableview

    Hallo Experts,
    I'm quite new to bsp programming. My first application is nearly complete, but I'd like to add some more convenience. I got two issues to solve, both connected with the tableview element.
    1) User is clicking through the pages of the table control, marks some lines and hits submit button. After the submit, the table is back to page 1. Is there a way to keep the page that was last viewed?
    2) Same situation. After the user has hit the submit button, I retrieve a list of all marked table lines. After I'm done, I'd like all lines to be unmarked. Does anyone know how to achieve that?
    Any help or hints are highly appreciated.
    Christian

    Hi Chris,
    1)User is clicking through the pages of the table control, marks some lines and hits submit button. After the submit, the table is back to page 1. Is there a way to keep the page that was last viewed?
    declare a global variable gv_visiblefirstrow.
    In EventHandler
    when 'submit'.
    gv_visiblefirstrow = request->get_form_field( 'your_tableview_id_visiblefirstrow' ).
    In Layout:
    Add the below line to code of your tableview
    visibleFirstRow     = "<%= gv_visiblefirstrow %>"
    2) Same situation. After the user has hit the submit button, I retrieve a list of all marked table lines. After I'm done, I'd like all lines to be unmarked. Does anyone know how to achieve that?
    After you are done..just add the code..
    Data: lv_total_rows type i.
          describe table itab lines lv_total_rows.
          cl_htmlb_manager=>check_tableview_all_rows(
          rowcount = lv_total_rows
          request = request
          id = 'tableview_id'
          check = ' '
    As suggested by Raja,pls search the forum before posting a new thread.
    Regards,
    Anubhav

  • BSP htmlb:tableView Row index

    Hi All
      I stack at a point and need ur help/ suggestion . I have BSP page displaying data in HTML:TABLEVIEW in single select mode .
      Now if i select a row OR Click on a cell , i wnat to know the index number of row selected.
    I am using MVC model so For this i went into  Controller's DO_HANDLE_EVENT in this on debugging mode i found following values :
    htmlb_event                    {O:34*\CLASS=CL_HTMLB_EVENT_TABLEVIEW}
    htmlb_event->server_event      MyEventCellClick
    htmlb_event->row_index                  2
    means i got index htmlb_event->row_index but when i am write the statement :
           qa32clobj->v_index = htmlb_event->row_index.
    it gives me syntax error  :
    Class ZCONTROL_QA32,Method DO_HANDLE_EVENT
    Field "ROW_INDEX" is unknown. It is neither in one of the specified
    tables nor defined by a "DATA" statement. "DATA" statement.     
    please help me.
    Regards
    Sachin Sharma

    Dear Sachin Sharma,
    You can try with this following code.
    data:  loc_table_event type ref to cl_htmlb_event_tableview,
              cnt type i.
       call method cl_hrrcf_iterator=>get_tv_attr
            EXPORTING
              p_tv_id        = 'your tablename'
              p_component_id = me->component_id
              po_request     = me->request
            IMPORTING
              po_tv_event    = loc_table_event.
          if loc_table_event->SELECTEDROWINDEX is INITIAL.
            date_msg = 'Display your error message'.
            return.
          else.
            cnt = loc_table_event->SELECTEDROWINDEX.
          endif.
          if loc_table_event is not INITIAL.
            read table <your tabletype> index cnt into <your structure> .
    Like this you can get your selected row index & get the value.
    Appreciate if its Helpful.
    Regards,
    Anita Vizhi Arasi B

  • BSP htmlb:tableView id="TV_VBAK" table= "//select/I_VBAK"

    Hai Experts,
    I have a small doubt in bsp appllication,
    shall we write like...
    <htmlb:tableView id="TV_VBAK" table= "//SELECT/I_VBAK">
    I am using Class
    ZCL_CONTROLLER_SALES1
    in controller.
    thanks in advance...
    with regards
    babu

    hai
    than q for ur reply.
    point will be rewarded...
    with regards
    babu
    Edited by: babu rs on Mar 5, 2008 4:49 PM

Maybe you are looking for

  • Batch determination at sales order level

    Dear All, We are using my sap erp ecc 6.0.We are using the batch determination at sales order level.We had a problem whenever customer requested deliver date is beyond the RLT date then all the old batches which are already assigned and dispatched wi

  • Need help setting an indesign CS4 file to open in Photoshop CS4.

    I've saved up the file as an eps, psd, jpg, and tiff with no avail.

  • IPhoto Sharing with Facebook - Privacy issues

    When I Share a photo or album from iPhoto to Facebook and select "Friends" the privacy settings for said pictures get overwritten once in FB to "Only Me". I have to log into the FB browser and manually chg the settings. Why does this happen?

  • Circle JButton

    Hi everybody, I'm doing a constraints solver program for my studies and I have made a graphical interface but I want to make it more funny by adding JButton but not rectangular . If somebody have an idea to help me... Thanks

  • Mars and InDesign

    Are there plans to create exports/save as from standard applications such as Adobe InDesign. Also for something like InDesign to be able to open a Mars file and edit it?