cancel
Showing results for 
Search instead for 
Did you mean: 

Need to display Multiple lines of text on ESS Screen.

Former Member
0 Kudos

Dear All,

I have a requirement in ESS Screen design.I need to display declaration text(about 5 lines) on ESS Screen.The text is fixed for all the users and under the text I need to keep two radio buttons for 'accept' and 'Dont accept' respectively.Which UI element I should use in order to fulfill my requirement.

Thanks,

Reddy.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi sudhir,

You can use Text view or Formatted Text view to display text in multiple lines.

Check This..

Cheers,

Kris.

Former Member
0 Kudos

kris,

I am able to dispay multiple lines of text by binding the UI Element FormattedTextView to a string attribute.but I want to format the text like increasing the font and starting a new line at some required position.I tried to use class CL_ABAP_CHAR_UTILITIES but it is not giving the expected result.Please suggest me.

Thanks,

Reddy.

Edited by: ksr_sudhir on May 24, 2011 12:59 PM

Former Member
0 Kudos

Hi sudhir,

If you want to adjust font use text view and in this text veiw properties you can set design as per your requirement.

Cheers,

Kris.

Former Member
0 Kudos

Thanks,How about starting a new line after some text?

Former Member
0 Kudos

Hi sudhir,

Set wrapping property for multiple lines. OR

Try to use FormattedTextView for displaying text with multiple lines. It also supports formatting options like bold, italic as well as more fancy stuff like bullet lists, etc

OR

You can use Explanation UI Element.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a9/42c041e125c917e10000000a155106/content.htm

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/11e345459d7201e10000000a155369/content.htm

Also Check this,..

http://forums.sdn.sap.com/click.jspa?searchID=72114899&messageID=9643177

Cheers,

Kris.

Former Member
0 Kudos

Hi Sudhir,

Use UI element TRANSPARENT_CONTAINER in between 2 UI elements for text. This moves the 2nd element to next line. You can even specify the height which will create a blank space vertically. If you do not specify the height, it simply goes to next line.

rgds, manjunadh.

former_member199125
Active Contributor
0 Kudos

Hi sudhir,

Declare a string variable..

pass all the data into str variable using concatenate.then bind that string to text edit UI element.

while using concatenate for new line, use cl_abap_char_utilities->newline

Regards

Srinivas

former_member199125
Active Contributor
0 Kudos

Hi sudhir,

Declare a string variable..

pass all the data into str variable using concatenate.then bind that string to text edit UI element.

while using concatenate for new line, use cl_abap_char_utilities->newline

Regards

Srinivas