Application Development 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: 

What is the purpose of this syntax ?

Former Member
0 Kudos

IF t_vbak[] IS INITIAL.

WRITE : / 'No data found'.

else.

7 REPLIES 7

Former Member
0 Kudos

Hi,

It means,

If no data exist in the internal table. (ie., if internal table is empty.)

Former Member
0 Kudos

Friend,

The t_vbak is an internal table. This condition will check whether that internal table is empty (intiial) or filled with records.

0 Kudos

thanks for this

Former Member
0 Kudos

Hi,

I think in the they r fetching the into table t_vbak. If no data found for ur specified selection criteria then then table t_vbak[] is empty, inthat case ur printing 'No data found'.

Regards,

Srinivas Ch

Former Member
0 Kudos

I means if t_vbak[] (Internal Table with header line) is empty then

write to output with new line :'No data found'.

Former Member
0 Kudos

Hi,

if the header line or work area of internal table is empty then it writes data not found

Regards

Former Member
0 Kudos

Hi,

This code tells:

if t_vbak[] array is blank tha is it is not having any value then print No data found...

i.e. No data is selected.

Regards,

Pooja