10-09-2007 7:07 AM
10-09-2007 7:11 AM
Hi,
Say ur variable is var1 and contains 001.
use &var1(C)& to supress leading zeroes.
Regards,
Raghavendra
10-09-2007 7:11 AM
Hi,
Say ur variable is var1 and contains 001.
use &var1(C)& to supress leading zeroes.
Regards,
Raghavendra
10-09-2007 7:20 AM
Hi
use condense in print progrm before this move the value into char field
10-09-2007 1:33 PM
hi jyothsna,
u can use this command.....
&SYMBOL(C)&
This is similar to Abap Command CONDENSE.
example....
Assume 'SAP Script' as Symbol.
&SYMBOL& -
> SAP Script.
where as....
&SYMBOL(C)& -
> SAPScript
reward me if it is useful......
with regards..
10-09-2007 1:40 PM
HI,
The symbol value is viewed as a sequence of words, each separated from the next by either one or a string of space characters. The C option has the effect of replacing each string of space characters with a single space and shifting the words to the left as necessary to close up the gaps. Leading spaces are completely removed. The results are the same as those of the ABAP command CONDENSE.
Syntax:
&symbol(C)&
Assuming ' Albert Einstein ' is the symbol value,
&symbol& -> Albert Einstein
&symbol(C)& -> Albert Einstein
Regards
Sudheer
10-09-2007 1:43 PM
If u want to do it in the driver program then use CONDENSE keyword
else if u want 2 do it in Scripts then while printing the variable in window write as
&variable(C)&
This will surely work out..
Reward if helpful