Monday, August 23, 2010

SELECT-OPTIONS : tips on how to use them

SELECT-OPTIONS EXCEPT For PA0002-PERNR."PERNR-PERNR.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The statement above is to get the drop down list in your seletion screen make sure you put a pa table
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LOOP AT EXCEPT.
IF PERNR-PERNR in EXCEPT. "<=============COMPARE THE EXCEPTION CASES
EXCEPTIONCASE = 'Y'.
EXIT.
ENDIF. " EXCEPTION CASES
ENDLOOP.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
in order to get all the selection do the statement above and you will be able to access what ever range or single value
make sure you put the "in"

Thank you Siti Sarah my colleague for teaching me!

No comments:

Post a Comment