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

about the initial value

Former Member
0 Likes
624

hi folk,

if t_kna1 is initial. wat exactly the stmt means?

if t_kna1 is not initial. wat exactly the stmt means?

5 REPLIES 5
Read only

Former Member
0 Likes
605

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

Read only

Former Member
0 Likes
605

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

Read only

rainer_hbenthal
Active Contributor
0 Likes
605

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.

Read only

Former Member
0 Likes
605

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

Read only

Former Member
0 Likes
605

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.