|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Adding Leading Zeroes
We generally have situations wherein we need to add the leading zeroes to a particular field. Following are the two methods to achieve the same:
Using the function module CONVERSION_EXIT_ALPHA_INPUT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
Second Method:The field could simple be moved to a numeric and then back to the character field. The N field should be the same length as the C field.
data: c(10) type c value '12345'.
data: n(10) type n.
n = c.
c = n.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards