Skip to Content
0
Former Member
Sep 11, 2007 at 06:30 AM

"Hide" Problem

41 Views

Hi,

I hace used the statement "HIDE" as follows:

<code>

loop at itab1.

Write:/ itab1-flag as checkbox

itab1-field1,

itab1-field2,

itab1-field3.

Hide:

itab1-flag,

itab1-field1,

itab1-field2,

itab1-field3.

endloop.

uline. "Err00

write:/ 'end of report'. "Err00

</code>

... ...

... ...

<code>

do.

read line sy-index field value itab1-flag.

if sy-subrc<> 0. exit. endif.

check not itb1-flag is initial.

if not itab1-field1 is initial.

.....

endif.

</code>

But the problem is,

The program always repeat last records 2 times, I means, the system will get 3 same records for last contents of itab1; but if I remove above statements

which commtent 'Err00', error will not appear.

Please kindly advise.

Thanks and best regards.