Skip to Content
0
Former Member
May 16, 2011 at 05:29 AM

inserting line feed in text.

1240 Views

HI,

I have a text which needs to be created in header/item texts of sales order.

text ='THIS IS!HEADERTEXT!WELCOME' ..

now it needs to be saved in the header/item text as shown below:-

THIS IS

HEADER TEXT

WELCOME.

i.e., '!' needs to be replaced by the line feed

REPLACE all OCCURRENCES OF '!' in text WITH cl_abap_char_utilities=>cr_lf. .but still am unable to save the text with line feed..

pls suggest me the alternatives.

thanks

sures