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: 

Can I use a expression as part of filter operand in abap?

S0020961829
Explorer
0 Kudos
403

Can I use a expression as part of filter operand in abap?

eg. (zdate = sy-datum - 1)

Here zdate is a field

3 REPLIES 3

Sandra_Rossi
Active Contributor
235

0 Kudos
235

Hi sandra.rossi ,

I am getting the following error : " The current ABAP program attempted to execute an Open SQL statement

containing a dynamic entry. " on using the above filter mentioned in the example.

0 Kudos
235

Sorry, I thought you were talking about the FILTER construction operator.

Please share the whole ABAP statement, not only "(zdate = sy-datum - 1)" (edit your question).

Thanks.