|
How to remove the leading zero's for a numeric type
n and retain its length fixed i.e. 7?
Ans: By using CONCATENATE you can take the value, which is before the decimal place and move it to one variable by keeping length as 7. Then pass that variable into the following function module. There is a function module called "CONVERSION_EXIT_ALPHA_OUTPUT " to remove the leading zero's. Eg., call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
for eg., <variable Name> as ITAB-VNAME. or This is a script output. So in script use this coding: Syntax: &symbol(Z)&
|
|
More Abapers Questions: ABAP Books ListABAP/4 Certification, Programming and Object Oriented Programming Books ABAP Menu:
Return to Index:-
(c) www.gotothings.com All material on this site is Copyright.
|