Start of Content Area

Background documentation How can I get a blank cell using the iterator?  Locate the document in its SAP Library structure

Problem

I want to insert a blank cell in my TableView using the Iterator. However, blanks do not have any meaning in HTML. What can I do?

Solution

The solution for BSP is to render   sequences (non-breaking space).

Use the simple approach outlined below when working with the iterator:

DATA: nbsp_bee TYPE REF TO CL_BSP_BEE_HTML.

CREATE OBJECT nbsp_bee.

nbsp_bee->ADD( html = ` ` ).

Return this BEE as the replacement BEE for all cells that you want to keep blank. As this BEE is so simple, you only need to create it once. You can then use it as the return parameter in iterator calls for replacement BEEs whenever you need it..

selectionMode: LINEEDIT MULTISELECT MULTILINEEDIT

 

 

End of Content Area