Skip to Content

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

How to display a long static text in webdynpro abap

Hi SAP gurus,

I want to display a long static text in my view.

This text contains instructions for a particular scenario.

I want the text to be displayed in one UI element, as it would be static and will not change.

Please let me know the procedure for the same, also if it is done via coding please help me with the code snippet.

Below is the sample text that I want to display.

Regards,
Aakash Awasthi

Former Member
replied

Hi Akash,

As suggested by Tashi, you can achieve your requirement by using FormattedTextView ui element.

Please follow the below steps

  • Create a FormattedTextView ui element in your view
  • You can find "TEXT" property of ui element and  set the text to the element via code or directly you can bind it to OTR text.

     refer link: Steps to Translate OTR Texts in Webdynpro ABAP

  • Fill your text inside OTR text element, so that it can appear in your ui element

Hope this helps you.

Regards,

Rama

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