Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

removal of space

Former Member
0 Kudos

plz help.

this is my new material number ZREVA. infront of the name there are some spaces how to remove the spaces?

4 REPLIES 4

Former Member
0 Kudos

Hi

Do like

SHIFt LEFT DELETING LEADING SPACES.

HOpe it helps.

Praveen

Former Member
0 Kudos

Hi,

you can also try this

CONDENSE ZREVA NO-GAPS.

Former Member
0 Kudos

Hi,

you can use

shift <variable> left deleting leading spaces.

Example:

DATA V_CURR(17).

V_CURR = ITAB-CUR_FIELD.

SHIFT V_CURR LEFT DELETING LEADING SPACE.

WRITE / V_CURR.

Also you can use Condense for the same purpose.

Example:

Say ur amt field is var_amt.

Create a char variable say wl_char(20).

then do

Write var_amt to wl_char.

Condense wl_char.

now use wl_char for printing in ur report.

Regards,

Raj.

Former Member
0 Kudos

Hi,

Use

CONDENSE ZREVA.

If you don't have any spaces in between material number

you can use ZREVA NO-GAPS.