Hi Experts,
I have a problem with table control in module pool. Below is the code for populating the table control:
loop at GT_NEW_ABAN
into GT_NEW_ABAN_WA
with control TAB_FAC_ABAND
cursor TAB_FAC_ABAND-current_line.
module TAB_FAC_ABAND_get_lines.
*&spwizard: module TAB_FAC_ABAND_change_field_attr
endloop.
The internal table GT_NEW_ABAN and the work area GT_NEW_ABAN_WA are declared as below:
DATA: GT_NEW_ABAN LIKE ZTABANDON OCCURS 0 WITH HEADER LINE,
GT_NEW_ABAN_WA LIKE ZTABANDON ,
while debugging the value of a field in GT_NEW_ABAN_WA is coming as 0.00, but in the screen display it is coming as space.
In the structure ZTABANDON the data type of the particular field is CURR, and in the layout it is DEC.
How can I fetch the same value 0.00 as coming in the work area to the screen display? How to change the space to 0.00?
Regards,
Soumya.