Skip to Content
0
Former Member
Nov 28, 2008 at 12:37 PM

To Avoid Unwanted characters

175 Views

hi everybody,

i am updating a record which is 5000 characters into a 'Y' Datbase table in a field which

can accomodate this 5000 characters in a single line from text editor.

The data is being inputed in Text editor which can carry not more than 5000 characters and if i press

save then the text which is written on the editor will be saved in the database table.

But the problem is i am some unwanted characters of format '#####" are getting stored in the table

which will dynamically incrase its size and position.

for e,g : 'Terms and Conditons Text#### for Material and Services#######.Services Terms can liable

to CENVAT################.Please follow the below steps' .

The above example shown will be stored ine the database despite i have not entered #####

characters.

I want to Print this text in SAP SCRIPT.

I want to print the text which i have entered in Text Editor as it should be.

Note: The Text Editor is designed using Class CL_GUI_TEXTEDIT with methods

SET_TEXT_AS_R3TABLE

GET_TEXT_AS_STREAM.