Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

APPEND

naveen_inuganti2
Active Contributor
0 Likes
504

Hi...

I am updating internal table wirh new record to display by using appen stetement like following....

itab-f1 = ' '.

itab-f2 = ' '.

itab-f3 = 'one'.

itab-f4 = ' '.

itab-f5 = 'india'.

so with these i have to find new row after the last row of the internal table.. withthree spaces and two entries...

but here iam getting '0' for the 4 th field....actually it was the numaric field... how avoid that '0' in output?

Thank you,

naveen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
487

Declare the 4th field as char field ..

Or

while writing the o/p .. check if field4 is initial.

if so .. just write as

write :' '.

3 REPLIES 3
Read only

Former Member
0 Likes
488

Declare the 4th field as char field ..

Or

while writing the o/p .. check if field4 is initial.

if so .. just write as

write :' '.

Read only

0 Likes
487

Hi....

there is no chanse to change that datatype...

and to write WRITE statement for output...because i am displaying this table in the table control......

Read only

Former Member
0 Likes
487

Hi Naveen,

You told that you have declared field f4 as numeric. So declare it as of CHAR type. Then you can avoid 0 in the output.

Thanks,

Swamy Kunche