09-30-2008 12:20 PM
Hi Experts ,
i have a requirement to make the numeric field "blank" in some rows of internal table .
its about vendor
whenever any vendor will repeat , i need to display 3 numeric fields "blank" , in that particular row .
please help me on this issue .
thanks in advance .
vijeta
09-30-2008 12:24 PM
Hello,
You can't make a numeric field value blank because the initial type value is zero. Instead I suggest you to convert these field to character and then make these new fields blank.
Regards.
09-30-2008 12:24 PM
Hello,
You can't make a numeric field value blank because the initial type value is zero. Instead I suggest you to convert these field to character and then make these new fields blank.
Regards.
09-30-2008 12:29 PM
Hi,
One very important thing we cannot make numeric field as blank is can be made initial i.e. 0.
So we have to make the field as character then we can make it blank by initializing it.
thanx.
09-30-2008 12:35 PM
Please use a CHAR field instead of desired length.
When you need to perform any operations, declare a run time integer variable and by type casting assign the char field to this variable.
This will solve the problem.
10-03-2008 2:53 PM
Hi ,
it will be helpful if u provide an example .
thanks in advance.
vijeta
09-30-2008 1:29 PM
can i have any example .
thanks in advance .
vijeta
Edited by: Vijeta Aharwar on Sep 30, 2008 2:38 PM
10-03-2008 3:30 PM
If you are using the WRITE statement, you can use the NO-ZERO option; with this option the entry which has zero value in the table is displayed as spaces.