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

Syntax error - where condition may contain nulls

Former Member
0 Likes
590

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
541

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

Regards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
542

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

Regards,

Rich Heilman

Read only

Former Member
0 Likes
541

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

I will award points.

Read only

0 Likes
541

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