cancel
Showing results for 
Search instead for 
Did you mean: 

How to make 2 lines in a webdynpro table cell?

Former Member
0 Kudos

Hi

Is it possiable to create a WebDynpro Table Call that can contains 2 lines in 1 cell ?

Accepted Solutions (0)

Answers (3)

Answers (3)

amy_king
Active Contributor
0 Kudos

Hi Ami,

There are a limited number of UI elements that you may use for a Table Cell Editor, however, with a TextView, you can display text that includes a line break.

The line break is achieved by including the carriage-return-line-feed characters in the Table's data source...

LOOP AT lt_flight_tab ASSIGNING <f>.
     CONCATENATE 'Line One' cl_abap_char_utilities=>cr_lf 'Line Two'  INTO <f>-test.
ENDLOOP.

Cheers,

Amy

0 Kudos

Another way, a little bit more complicated, is to use CellVariants.

former_member210252
Contributor
0 Kudos

Hi Ami,

You cannot divide a Table cell to contain two lines.

Basically a Table cell contain other Webdynpro UI Element.

Regards,

Mohammed

Former Member
0 Kudos

what is a line from your point of view?