2008 Apr 16 10:26 AM
Hi,
Please tell how to add preceeding zeroes to a particular field in the output of a report in an excel.
In internal table preceedings zeroes are coming but in the output preceeding zeroes are not populating.
regards
Ajay
2008 Apr 16 10:36 AM
Hi,
CONVERSION_EXIT_ALPHA_INPUT converts any number into a string fill with zeroes, with the number at the extreme right
Example:
input = 123
output = 0000000000000...000000000000123
CONVERSION_EXIT_ALPHA_OUTPUT converts any number with zeroes right into a simple integer
Example:
input = 00000000000123
output = 123
Pls reward points if useful.
Hi,
Please tell how to add preceeding zeroes to a particular field in the output of a report in an excel.
In internal table preceedings zeroes are coming but in the output preceeding zeroes are not populating.
regards
Ajay
2008 Apr 16 10:29 AM
use FM conversion_exit_alpha_input
but in Excel leading zeros are not shown so you have either chane the type of excel file and make it tabdelimited
do reward if helpful
2008 Apr 16 10:30 AM
Hi,
execl interprets the field as a number. put a littel quote ' before your field or tell excel it's a text field.
Regards, Dieter
2008 Apr 16 10:36 AM
Hi,
CONVERSION_EXIT_ALPHA_INPUT converts any number into a string fill with zeroes, with the number at the extreme right
Example:
input = 123
output = 0000000000000...000000000000123
CONVERSION_EXIT_ALPHA_OUTPUT converts any number with zeroes right into a simple integer
Example:
input = 00000000000123
output = 123
Pls reward points if useful.
2008 Apr 16 11:31 AM
create one variable as char
move this value to that variable and print that in output..hope this helps
regds
Edited by: sudheer sun on Apr 16, 2008 11:31 AM
2008 Apr 16 11:31 AM
create one variable as char
move this value to that variable and print that in output..hope this helps
regds
2008 Apr 16 11:33 AM
Hi,
Please use FM CONVERSION_EXIT_ALPHA_INPUT.
Thanks,
Sriram Ponna.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |