cancel
Showing results for 
Search instead for 
Did you mean: 

HTMLB:listBox table

Former Member
0 Kudos

Hello,

I need to help for the following question:

In the option for the tag under HTMLB:listBox I've taken "selections" for multiple choices.

After Event data ?= cl_htmlb_manager=>get_data( request = request name = 'listBox id = 'box1' ),it was filled with 3 entries like "k1", "k3" and "k9" (selections) - It means I selected 1,3 and 9'th in the box.

Then jump to 'goto next page' and 'set parameter(navigation->set parameter( 'selection').

How can I find out the entries for this table "selections" in the new page again?

I tried to the following way:

loop at selections.

write:/ 'selection´value:', selections.

endloop. It doesn' work.

Thank in advance,

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

former_member184111
Active Contributor
0 Kudos

Hi Gauguin,

Have a look at the page LISTBOX.BSP of application SBSPEXT_HTMLB.

Actually SELECTIONS is of type String and it contains all the selected values seprated by commas. So you have to extract the comma seprated values from this string.Loop will not work with SELECTIONS because it is not a table.

Thers an atribute LISTBOX->SELECTIONS that is a standard table and contains all the selected values from the listbox.

Hope it helps.

Regards,

Anubhav.

Answers (0)