Tuesday, June 21, 2011

FREE_SELECTIONS_WHERE_2_EX

This FM works the other way round from FM 'FREE_SELECTIONS_EX_2_WHERE'. It converts select statement's where condition into expression that you can use in FREE_SELECTIONS_EX_2_WHERE. I re-use the example in my previous post here.
Conditions:
WHERE hvorg EQ '0600'
AND ( tvorg EQ '0010'
OR tvorg EQ '0011' )
AND augst EQ ''
AND augrd NE '05'. 
 
Input:

Result: