‎2007 Dec 07 9:51 AM
hello experts,
I hv devloped an alv report but in that i want leading zero in one column
EXP. IF OUTPUT COMES <b>09</b> THAN MY ALV REPORT GIVES OUTPUT only <b>9</b>.
i want a leading zero
i hv used function module
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = wa_agr_1252_del-LOW
IMPORTING
output = wa_agr_1252_del-LOW.
still not working
pls help me on this.
points will be rewarded !!
‎2007 Dec 07 9:54 AM
Hi. Rajan..
To display the value with Leading zero incase of ALV.
You have to set the Field catalog attribute (No Edit Mask) that refers to Coversion exit .
Just fill that attribute in the Field catalog for this field.
It will work.
‎2007 Dec 07 10:01 AM
hello sir
thanks for your help ....
<b>edit_mask type slis_edit_mask, </b>
here what i hv to set in edit mask so that my leading zero displays
‎2007 Dec 07 9:58 AM
Hi,
In the fieldcat table use this,
data: lw_fcat type slis_fieldcat_alv.
lw_fcat-no_zero = 'X'.
and undate the particular fieldname in the fieldcatalog interanl table and pass it to functuion module reuse_alv_list_display or reuse_alv_gird_display..
regards,
Santosh Thorat
‎2007 Dec 07 9:58 AM