‎2008 Feb 05 2:19 PM
hi folk,
if t_kna1 is initial. wat exactly the stmt means?
if t_kna1 is not initial. wat exactly the stmt means?
‎2008 Feb 05 2:22 PM
Hi
It means:-
if t_kna1 is initial - t_kna1 (field or table) is empty.
if t_kna1 is not initial - t_kna1 (field or table) is not empty.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 5, 2008 4:33 PM
‎2008 Feb 05 2:25 PM
The IF statement uses the expression t_KNA1 IS INITIAL to find out whether ITAB is empty.
if t_kna1 is not initial means that Internal table has some records in it
and t_kna1 is initial means int table has no records in it
‎2008 Feb 05 2:26 PM
it means that you type this statement in the editor, position the cursor on it and then press F1. After that read the online help.
‎2008 Feb 05 2:28 PM
Hi,
t_tab initial means Empty structure
t_tab not initial means contant in that structure
T_tab[] initial means empty table body.
T_tab[] not initial mean contant in the body of table...
<REMOVED BY MODERATOR> ,
Gaurav J.
Edited by: Alvaro Tejada Galindo on Feb 5, 2008 4:34 PM
‎2008 Feb 05 2:46 PM
Hi,
if t_kna1 is initial.
Assuming that t_kna1 internal table doesnot contain any values.
if t_kna1 is not initial.
Assuming that t_kna1 internal table is filled up with some values.
Thanks,
Sriram POnna.