Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

tableview iterator: avoid line break between 2 bees

I have a tableview iterator, where i create two textviews (with two different tooltips) that I put into a bee table.

DATA lr_text1      TYPE REF TO cl_htmlb_textview.
DATA lr_text2      TYPE REF TO cl_htmlb_textview.

CREATE OBJECT lr_text1.
lr_text1->id       = p_cell_id.
lr_text1->wrapping = 'X'.
lr_text1->text     = me->get_text( ...).
lr_text1->tooltip  = me->get_tooltip( ... ).

CREATE OBJECT lr_text2.
lr_text2->id       = 'blabla'.
lr_text2->wrapping = 'X'.
lr_text2->text     = me->get_text( ...).
lr_text2->tooltip  = me->get_tooltip( ... ).

CREATE OBJECT lr_bee_table.
lr_bee_table->add( lr_text1 ).
lr_bee_table->add( lr_text2 ).

p_replacement_bee = lr_bee_table.

My problem is:

If both texts get long and are wrapped into mmultiple lines, there will be an additinal line break after the first text.

I would like to achieve it that the second text follows the first text immeadiately, even if the first text spans multiple lines.

Any ideas?

Not what you were looking for? View more on this topic or Ask a question