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: 

Syntax error - where condition may contain nulls

Former Member
0 Kudos

I get the message that the condition may contain nulls. How do I correct this?

select *

from resb

where rsnum = s_resit+0(10)

and matnr = s_zresb_material1

and bwart <> '531'.

endselect.

Thanks

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This is just a warning message. You can ignore it.

Regards,

Rich Heilman

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This is just a warning message. You can ignore it.

Regards,

Rich Heilman

Former Member
0 Kudos

Thanks, Rich. This won't cause any problems while executing?

I will award points.

0 Kudos

No. I have gotton that warning message when working with RESB before, in my case it was the VORNR field. I have never had any problems with any of the programs.

To be perfectly honest, I don't know why that message comes, just that it doesn't cause me any problems, so I let it slide.

Regards,

Rich Heilman