2007 Dec 19 1:01 PM
HI all
Please tell me
i have the sales orders to display
in alv_grid_disply..
so i Have to display the sales order 0000000376
but it is displying 376
How to disply with zeros 00000000376
i have padded zero but output it is taking only the 376..
in alv_grid_disply when i pressed f4 it is giving 376
but i want 000000376 i have used lzero = 'X" in field catalogealso it not working..
thanks in advance
2007 Dec 19 1:22 PM
Hi,
In building the field catlog, dont pass the ref field name.. you will get the desired output.
regards,
Niyaz
Hi,
In building the field catlog, dont pass the ref field name.. you will get the desired output.
regards,
Niyaz
2007 Dec 19 1:04 PM
Hi,
You can use UNPACK command.
For Example,
Data : temp(10) value '25'.
write : temp.
*The Out put is 25.
UNPACK temp to temp.
write : temp.
*Now the output is : 0000000025.
Thanks.
or you can use this FM.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = TEMP
IMPORTING
OUTPUT = TEMP.
WRITE : TEMP.
Edited by: Viji on Dec 19, 2007 2:05 PM
2007 Dec 19 1:17 PM
Hi,
Use FM Conversion_EXIT_ALPHA_INPUT before populating the data to your internal table.
Thanks,
Lalit
2007 Dec 19 1:19 PM
Hi,
Try using FM 'CONVERSION_EXIT_ALPHA_INPUT'
Thanks,
Sriram Ponna.
2007 Dec 19 1:22 PM
Hi,
In building the field catlog, dont pass the ref field name.. you will get the desired output.
regards,
Niyaz
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |