cancel
Showing results for 
Search instead for 
Did you mean: 

Get input value from BSP view

Former Member
0 Kudos

Hi

I have created a BSP view, where I show some order numbers in a list.


<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="c">
      <li><a href="#overdue" data-transition="flip" data-rel="dialog">
      <%= <ls_open_so>-VBELN %>
      </a></li>
      </ul>

The user must select one of the lines from the list, and then I want to show details from the order.

My question is: How do I get the selected line, and then move it into a SAP field, so I can do a select on behalf of the right order no.?

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

it should be better to work with <htmlb:itemList> or <htmlb:link> instead of <a href> in your code. You must pass also a non-repeatable ID to the label, if you want to trap the correct VBELN where user made a click.

See BSP application SBSPEXT_HTMLB, page itemlist.bsp for an example. In event OnInputProcessing you catch the selected element.