Skip to Content
author's profile photo Former Member
Former Member

Dropdownlistbox within Table View Iterator

Hallo,

due to Brian McKellar's Weblog "BSP Programming: HTMLB Table View Iterator" I created a BSP-Application. I have problems to fill the dropdownlist.

The reference me->m_currencies_ref is filled but there is no entry in the dropdownlist:

p_replacement_bee = CL_HTMLB_DROPDOWNLISTBOX=>FACTORY(

id = p_cell_id

selection = m_row_ref->CURRENCY

table = me->m_currencies_ref

nameOfKeyColumn = 'NAME'

nameOfValueColumn = 'VALUE' ).

Many thanks for any help

Andreas

Andreas

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 07, 2004 at 03:41 PM

    Andreas,

    Will it help you if I append my example code enblock? Should I do it in future for all weblogs so that you do not have to type it in?

    ++bcm

    Add a comment
    10|10000 characters needed characters exceeded

    • <b><u>OnLayout</u></b>

      <%@page language="abap"%>
      <%@extension name="htmlb"  prefix="htmlb"%>
      
      <htmlb:content design="design2002">
        <htmlb:page>
          <htmlb:form>
      
          <htmlb:tableView id              = "tv1"
                           visibleRowCount = "5"
                           selectionMode   = "lineEdit"
                           table           = "<%=flights%>"
                           iterator        = "<%=iterator%>" />
      
          </htmlb:form>
        </htmlb:page>
      </htmlb:content>
      

      <b><u>OnCreate</u></b>

      SELECT * FROM SFLIGHT INTO TABLE flights.
      CREATE OBJECT iterator TYPE CL_BCM_SDN_ITERATOR.
      runtime->keep_context = 1.
      

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.