cancel
Showing results for 
Search instead for 
Did you mean: 

## Symbol in Smartform Output

Former Member
0 Kudos

In the print preview of sales document, the text is appearing with ## symbol. The sales document created from portal and user entered free text which get stored in sales document header text. When user taking print copy of sales document the text appearing with ## symbol. This symbol is nothing but Hexa Decimal value of Carriage Return (CRLF / Enter eky). I know how to get rid of this symbol programmtically. But the issue, we are using Smart forms and Text element has been used to display this text.

Now My question, how we can get rid of ## symbol in Smartform.

Note : I have already checked SAP Note 501347, but no success.

Nilesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

While Updating Long Text from Portal To SAP Use SAP Standard FM - CONVERT_STREAM_TO_ITF_TEXT to convert text.

former_member181995
Active Contributor
0 Kudos

Nilesh,

please do not open duplicate thread.

that is not a ABAPER issue.dont worry and contect your basis person and say him to coeerct printer assing to locical destination.

plz close one of either.

Amit.

Former Member
0 Kudos

hi,

in the smartforms, add program lines.

Here write these stmts:

DATA: ws_nline TYPE c VALUE cl_abap_char_utilities=>cr_lf.

replace all occurrences of ws_nline in doc_text with space.

regards,

Subramanian