‎2010 Mar 23 6:10 AM
Hi folks,
iam clearing the internal table data based on some conditions,but one of my field in my internal table is numeric.so that field data is showing in my final internal table as 00000000 and it is appending one empty record.how to clear that record..after appending my final internal table , i wroter clear statement..though it is showing..
Thanks in advance..
‎2010 Mar 23 6:15 AM
hi,
Try to Refresh your internal table.
hope this will help.
Regards,
Neha Rai
‎2010 Mar 23 6:17 AM
hi
The initial value is 0 for numeric.change field datatype as character
In write statemet you can aviod by no-zero.
‎2010 Mar 23 6:33 AM
>
> Try to Refresh your internal table.
> hope this will help.
Yes certainly, it will help her to show the EMPTY Alv on the out-put screen.
Cheers
Amit.
‎2010 Mar 23 6:24 AM
Hello Swetha,
CLEAR will delete the entire table contents & set the fields to the initial value (because of which you get 00000000 for your numeric field).
Can you share the code you are using ?
BR,
Suhas
‎2010 Mar 23 6:29 AM
Thanks solved...
i have changed the final internal table field as character type...
‎2010 Mar 23 6:34 AM
hi shweta,
with clear statement , your table will set to initial value...same is the case is with refresh...since one field is numeric its initial value is 000000, u can change the daata type from numeric to other data type...or you can copy the numeric value to other data field value,if you dont need the table henceforward you can use free command to free the table.
thanks,
tanmaya