Printing Standard TEXT with multiple paragraphs in smartform
I have a requirement that, there is a very long standard text stored in a notification of an order in SAP ISU system. The text contains multiple paragraphs with indentations. I want to print this text directly into the smartform WITH SAME INDENTATION AND PARAGRAPH FORMATTING.
First i am reading the entire text using FM READ_TEXT.
My first problem is even if i read the text into a variable of type STRING , it just prints 255 characters of it.
And secondly if i try to printout it using LOOP AT node in smartforms, it prints the entire content but without any formatting .
Please let me know whether it is possible to print standard text in smartforms or not
ok here is what i understand:
You have seperate Standard text for every order. And you want to print those along with printing the order.
So yeah in your INCLUDE text node, which is still the way to go, you canuse a variable for textname.
In your case it should be &ITAB-ORDER_NO&, same as you can use for example &NAST-SPRAS& for language, the rest of the textheader information like textobject, textid shouldnt be dynamic.
I hope that helps now.