Skip to Content
author's profile photo
Former Member

Navigation with htmlb:tableView

Hello,

I have a page with a TableView which shows summary information to different products. I would like to jump to an other page when someone clicks on a specific product, transfering some information to this new page to be able to display detailed information.

What is the best way to do this?

Any help is welcome.

Regards

ALEX

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Apr 30, 2004 at 08:56 PM

    To handle event from HTMLB TableView, use table_event from class CL_HTMLB_EVENT_TABLEVIEW.

    Sample code as follows->

    DATA: table_event type ref to CL_HTMLB_EVENT_TABLEVIEW.

    data wa type ZIXSYM_S05.

    data rowselection type I.

    IF htmlb_event is bound AND

    htmlb_event->name = 'tableView'.

    table_event ?= htmlb_event.

    rowselection = table_event->selectedrowindex.

    read table EXPT_HIT_LIST_RESULT index rowselection into wa.

    chosenref = wa-refnr.

    endif.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      >read table EXPT_HIT_LIST_RESULT index rowselection into wa.

      So I would have to store the original table somewhere, correct?