cancel
Showing results for 
Search instead for 
Did you mean: 

deleting spaces in sapscript

Former Member
0 Kudos

how i can delete spaces in "mseg-menge"

and to move it to right or left

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

U can use the condense option.

For eg: &mseg-menge(C)&

This deletes the leading spaces.

Thanks,

Vamsi.

Former Member
0 Kudos

i have &mseg-menge(13)

how i write (C)--condense

Former Member
0 Kudos

hi,

U can write &mseg-menge(C)&.

It will condense the leading spaces.

Or else write it to a character field and then use this option.

data:v_menge type char17.

v_menge = mseg-menge.

use this varaible for printing.. like &v_menge(C)&

Vamsi.

Former Member
0 Kudos

&mseg-menge(C13)& will condense and restrict it to 13 characters.

&mseg-menge(C8)& will condense and restrict to 8 characters.

&mseg-menge(C10R)& will condense, restrict to 10 characters, and right-justified.

Answers (0)