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: 

The operator OR is not working on a query

0 Kudos

Hi,

--SESELECT T0."DocEntry", T0."TaxDate", T0."CardCode", T0."CardName", T0."DocNum", T0."PTICode" FROM OINV T0 WHERE T0."FolNumFrom" IS NOT NULL AND T0."TaxDate" >=[%0] OR T0."CardCode" = [%1] --

The operator OR returns all values for CardCode, its dosen't matter what value i put in the variable.

I would appreciate any suggestions or comments, thx

  • SAP Managed Tags:
1 REPLY 1

moshenaveh
Community Manager
Community Manager
0 Kudos

Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html, as that will help you when submitting questions to the community.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

Now for some specific suggestions on how you might improve your question:

* Outline what steps you took to find answers (and why they weren't helpful) -- so members don't make suggestions that you've already tried.

* Share screenshots of what you've seen/done (if possible), as images always helps our members better understand your problem.

Should you wish, you can revise your question by selecting Actions, then Edit.

The more details you provide (in questions tagged correctly), the more likely it is that members will be able to respond.

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

  • SAP Managed Tags: