OR operation in DMC_ACSPL_SELECT for different fields
Using the handy steering table of DMC_ACSPL_SELECT.
An interesting requirement I have: I need the whole FI history for a particular G/L Account and all the data (irrespective of G/L Account) for year 2015 and up.
In other words to filter table BSEG by Year GJAHR with particular years or G/L Account SAKNR with Particular Account Numbers. Something to result in a statement
WHERE GJAHR >= '2015'
OR SAKNR = '0000051138'
Now if I maintain records as follows, the job just stops with an error in the source...
Dmitry Kuznetsov replied
Ok, I checked short dumps on source system and, apparently, the generated select is using AND operator anyway without asking you after the "change" of field .
Which means it is not possible to use an "Or" operand. Still would be nice to see what are the other options for such selections...