Quite sometimes we land up in thoughts for applying the simplest logic and ending up making it complicated, For instance how do we provide a OPTIONS parameters of for a select-option a value? (ans is mesmerizing)
Following are some of my notes that saved me most of the time.
SELECT-OPTIONS <seltab> FOR <f> DEFAULT <g> [TO <h>] ....
You use the DEFAULT addition as follows to address the individual components of the first row:
To fill only the LOW field (single field comparison), use:
To fill the LOW and HIGH fields (range selection), use:
........DEFAULT <g> TO <h>.
To fill the OPTION field, use:
........DEFAULT <g> [to <h>] OPTION <op>.
For single field comparisons, <op> can be EQ, NE, GE, GT, LE, LT, CP, or NP. The default value is EQ. For range selections, <op> can be BT or NB. The
default value is BT.
To fill the SIGN field, use:
........DEFAULT <g> [to <h>] [OPTION <op>] SIGN <s>.
The value of <s> can be I or E. The default value is I.
Example: SELECT-OPTIONS AIRLINE FOR WA_SPFLI-CARRID