cancel
Showing results for 
Search instead for 
Did you mean: 

Removed space in sap script automatically

Former Member
0 Kudos

Hi expert

I have written this code

BOX YPOS '32' CH HEIGHT '0' CH WIDTH '33' CH FRAME 10 TW INTENSITY 5

BOX HEIGHT '3' CH WIDTH '33' CH FRAME 10 TW INTENSITY 5

BOX XPOS '23' CH HEIGHT '32' CH WIDTH '0' CH FRAME 10 TW

1st time it works properly but when i am trying to editing any text of this window ,the space remove for particular portion automatically , I have mentioned it as red bold text .but It's not fix ,basically with in 'CH'  and <any text>  it affects (space becomes removed automatically ).

So all lines and  box are not coming properly....

BOX YPOS '32' CH HEIGHT '0' CH WIDTH '33' CH FRAME 10 TW INTENSITY 5

BOX HEIGHT '3' CH WIDTH '33' CHFRAME 10 TW INTENSITY 5

BOX XPOS '23' CH HEIGHT '32' CHWIDTH '0' CH FRAME 10 TW

So can any one help me about this issue

Thanks & Regards

Rajesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Florian
Active Contributor
0 Kudos

You need to switch to the 'old' Editor. That is a well known problem of the new Texteditor.

Just go to the menu and switch.

http://3.bp.blogspot.com/-B0aj3Usy7pI/Tz1bQaoCeWI/AAAAAAAAAOU/RV47AKC6HgM/s1600/SapScript_2_1.JPG

This is the editor you need.

This happens because of a line break but in the texteditor you sometimes can't see it.

~Florian

Former Member
0 Kudos

Hi Florian,

Yes I am using by default  this editor which you have advice to use for writing codes ,Bellow is the screenshot

I have made rounded in screenshot ,you can check .I am trying to edit so many times by giving space but i could not get any solution ,the space automatically removed .I have also tried to edit this code in text editor but not got any success

Florian
Active Contributor
0 Kudos

Hi Rajesh,

just put your spaces between and save the form first. I never got problems with this editor and I tried it in my system (7.40 SP5 + 7.02 SP??) and everything works fine.

Perhaps you got the wrong string in the copy-paste memory.

I would try to reset your personal buffer via SU53 and if that doesn't affect you can clear the complete memory of the system once with command-codes

/$SYNC - buffers of the application server

/$CUA - CUA buffer of the application server

/$TAB - the TABLE buffers of the application server

/$NAM - the nametab buffer of the application server

/$DYNP - the screen buffer of the application server

But before you do that, make sure you are allowed to do that.

~Florian