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

simple question

Former Member
0 Likes
670

Hello

i did not understand this what is this key word if not intial and if if intail are going to perform

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
647

Hi,

Initial: Initial value

Not initial: Defined value

In case of internal tables initial means no records or empty and not initial means contains records

Regards,

Younus

<b>Reward Helpful Answers:-)</b>

6 REPLIES 6
Read only

Former Member
0 Likes
647

Hi,

if not initial means it is having some value.

if initial means this field is empty and not containing any value.

regards,

Ruchika

reward points if useful.

Read only

Former Member
0 Likes
647

hi,

If not initial means there r some records existing in the table for the condition u have given.

If initial means there r no records.

Read only

Former Member
0 Likes
648

Hi,

Initial: Initial value

Not initial: Defined value

In case of internal tables initial means no records or empty and not initial means contains records

Regards,

Younus

<b>Reward Helpful Answers:-)</b>

Read only

Former Member
0 Likes
647

Hi,

if u say if not initial, when u go to debugging mode u will find some value associated with the variable. like u can say flag is set.

if initial then it is zero .

when u go to debugging mode u can understand alot better .

reward pts if found usefull:)

Regards,

Sathish

Read only

anversha_s
Active Contributor
0 Likes
647

hi,

suppose there is an itab.

thn we want chk whthr it has data or not.

use this.


if not itab[] is initial.
*itab has data.
endif.

similarly we can chk the variables.

Regards

Anversha

Read only

Former Member
0 Likes
647

Hi,

Check this code,

data : flag1 type i value '1'.

If flag1 is initial.

write : 'Flag1 dont having any value'.

Elseif flag1 is not initial.

write : 'Flag1 having some value'.

endif.

Initial means it Contains No value.

Not Initial Means It contains some values.

Thanks,

Reward If helpful.