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

Pop up data not visible when using Iterator ?

Hello All,

I'm having a wierd situation ! It's like this :

1. I have created a BSP Application and this shows the output in a table view .

my main page is default.htm and the popup page is details.htm.

2. When I select one of the record from the table view of default.htm page and press the Button called DETAILS a popup must open with the details of the selected row.

3. I created a page details.htm and I'm calling this page from my main page i.e default.htm as follows :

m_script = '"details.htm",null,"top=300,left=300,height=200,width=900,status=no,toolbar=no,menubar=no,location=no");'.

The Button Layout code is :

          <htmlb:button design        = "emphasized"
                        disabled      = "false"
                        id            = "details_id"
                        onClientClick = "<%= m_script %>"
                        text          = "<%= otr(/BSHP/FM_BSP/DETAILS) %>"
                        width         = "20" />

The layout code of the details.htm is :

<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title="<%= otr(/BSHP/FM_BSP/DETAILS) %> " >
      <htmlb:tableView id                  = "details_tab"
                       table                = "<%= gt_stad_details %>"
                       visibleRowCount     = "15"
                       width               = "100%"
                       design              = "alternating"
                       footerVisible       = "TRUE"
                       selectionMode       = "singleselect"
                       columnHeaderVisible = "TRUE"
                       *iterator            = "<%= iterator %>"*
                       filter              = "server" >

** Initialization Event :*

* Get Details of the Execution
  REFRESH gt_stad_details.

  CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      name                  = 'details_list'
      application_name      = runtime->application_name
      application_namespace = runtime->application_namespace
      username              = syst-uname
      session_id            = runtime->session_id
      data_name             = 'gt_stad_details'
      data_value            = gt_stad_details[].

* Column Headings


4. Now the problem is : When I use the iterator for the table in the details.htm page I'm not able to see the data but when I remove the iteratot then I'm able to see the data .

Can anyone tell me what's gng on there ?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 30, 2008 at 07:54 PM

    Can you post your Iterator code here?

    Also check your itab gt_stad_details[] has value after reading from server side cookie.

    Raja T

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Raja,

      Thanks for ur reply.

      Actually the problem was with the field names which I used to build the iterator.

      I corrected the field names and now it's working fine.

      Sorry for the trouble.



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.