TAKE INPUT FIELD IN ABAP
* There are two types.
1. SELECT-OPTIONS.
2. PARAMETERS.
SELECT-OPTIONS
* Select-options is the keyword which accepts the single value, multiple single values, single range & multiple ranges.
Syntax of select-options: -
Select-options <name of the select-options> for <variable name>.
CODE
REPORT zajay_practice.
DATA: A TYPE I.
SELECT-OPTIONS :S_ID FOR A.
DATA(L) = S_ID-low.
DATA(H) = S_ID-high.
WHILE L LE H.
WRITE: / L.
L = L + 1.
ENDWHILE.
INPUT
OUTPUT
PARAMETERS
Comments
Post a Comment