Delete ZERO?

Question: Hi,

Is there a function in ABAP to delete all beginning Zero's

0000808540

must be: 808540

Adibo.

Answer:
U can Use the PACK and UNPACK Statement to delete and trailing the zero's.

Also u can use the SHIFT Statement for Deleting the Leading Zero from the Value.

Regards,
Vinod

Answer:
tnx..

SHIFT c003-sakn1 LEFT DELETING LEADING '0'.

Answer:
Unless, that is, your variable is of type n

Answer:
Even for Character Type U can Use.

Regards,
Vinod

Answer:
See if there's a conversion routine for the domain... Then use it!

Or even if not, this one will work:

CONVERSION_EXIT_ALPHA_OUTPUT

This has been covered many times here...
_________________
The Doc
Magna Grand Docot of the Tuly Idiot Order

2007 Basic Rules

Answer:

This has been covered many times here...

Copyright ?2007 - 2008 www.jt77.com