cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALLIGNEMENT PROBLE IN SCRIPT

NAeda
Contributor
0 Likes
210

Hello frnds

the decimal value is not dispaying properly in script

value type p decimals 4.

ex value :_______ 0.2353

but i need

value : 0.2353

the spaces i dont need... how can i do that...

plese guide me regarding this

and please let know all formatting options in Scripts

Thnks

regards

Edited by: Aeda N on Mar 21, 2008 3:40 PM

Edited by: Aeda N on Mar 21, 2008 3:41 PM

View Entire Topic
Former Member
0 Likes

Hi Aeda,

SPACE COMPRESSION:

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)&

Example

Assuming ' Albert Einstein ' is the symbol value,

&symbol& -> Albert Einstein

&symbol(C)& -> Albert Einstein

Leaving content frame

OMITTING LEADING ZEROES:

Certain symbol values are printed with leading zeros. If you want to suppress these, use the Z option.

Syntax

&symbol(Z)&

Example

Assuming the current date is 1.1.1994,

&DAY& -> 01

&DAY(Z)& -> 1

Leaving content frame

For more formatting options try the following link:

Link: [http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm]