05-28-2008 6:55 AM
plz help.
this is my new material number ZREVA. infront of the name there are some spaces how to remove the spaces?
05-28-2008 6:56 AM
Hi
Do like
SHIFt LEFT DELETING LEADING SPACES.
HOpe it helps.
Praveen
05-28-2008 6:58 AM
05-28-2008 6:59 AM
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.
05-28-2008 7:00 AM
Hi,
Use
CONDENSE ZREVA.
If you don't have any spaces in between material number
you can use ZREVA NO-GAPS.