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:-
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.