2023 Feb 21 6:18 AM
Can I use a expression as part of filter operand in abap?
eg. (zdate = sy-datum - 1)
Here zdate is a field
2023 Feb 21 8:02 AM
Just search. The answer is in the ABAP documentation of FILTER ... WHERE c1 op v1 [AND c2 op v2 [...]].
2023 Feb 23 7:45 AM
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.
2023 Feb 23 8:41 AM
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.