Tuesday, June 17, 2008

SELECTION SCREEN (Variable)

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME

PARAMETERS: zClmty Like zitab-clmty DEFAULT
'3015'.
SELECT-OPTIONS: ZCLMTY FOR ZITAB-CLMTY DEFAULT '3015'. "adh2008 958

The differences between the both selection is that the top is a single value while the one below is a range type of selection.
This has a affect on the SQL or syntax that you are going to use. Example for the one above

START-OF-SELECTION.
SELECT * FROM ZCLAIM_I
WHERE CLMTY EQ zClmty.


SELECT * FROM ZCLAIM_I
WHERE CLMTY IN zClmty.

This information was provided by Miss Koh

No comments:

Post a Comment