Syntax
PARAMETERS name(length) [TYPE type or LIKE obj] DECIMALS d.
Examples
PARAMETERS: char1(20) TYPE C,
date1 LIKE SY-DATUM,
number1 TYPE P DECIMALS 2.
date1 LIKE SY-DATUM,
number1 TYPE P DECIMALS 2.
Options
- DEFAULT
Example:
PARAMETERS p1(5) TYPE C DEFAULT ’you’.
PARAMETERS p1(5) TYPE C DEFAULT ’you’.
- OBLIGATORY
Example:
PARAMETERS f1(10) TYPE C OBLIGATORY.
PARAMETERS f1(10) TYPE C OBLIGATORY.
- MEMORY ID
Example:
PARAMETERS p2(5) TYPE C MEMORY ID pid.
PARAMETERS p2(5) TYPE C MEMORY ID pid.
- LOWER CASE
Example:
PARAMETERS f1(10) LOWER CASE.
PARAMETERS f1(10) LOWER CASE.
- VISIBLE LENGTH
Example:
PARAMETERS f1(10) TYPE C VISIBLE LENGTH 4.
PARAMETERS f1(10) TYPE C VISIBLE LENGTH 4.
- MATCHCODE OBJECT
Example:
PARAMETERS p_belnr LIKE BKPF-BELNR MATCHCODE OBJECT zsh_f4_belnr.
PARAMETERS p_belnr LIKE BKPF-BELNR MATCHCODE OBJECT zsh_f4_belnr.
- VALUE CHECK
Example:
PARAMETERS p_belnr LIKE BKPF-BELNR OBLIGATORY VALUE CHECK.
PARAMETERS p_belnr LIKE BKPF-BELNR OBLIGATORY VALUE CHECK.
- AS CHECKBOX
Example:
PARAMETERS: c1 AS CHECKBOX DEFAULT ’X’.
PARAMETERS: c1 AS CHECKBOX DEFAULT ’X’.
- RADIOBUTTON GROUP
Example:
PARAMETERS: r1 RADIOBUTTON GROUP rad1 DEFAULT ’X’,
r2 RADIOBUTTON GROUP rad1,
r3 RADIOBUTTON GROUP rad1.
PARAMETERS: r1 RADIOBUTTON GROUP rad1 DEFAULT ’X’,
r2 RADIOBUTTON GROUP rad1,
r3 RADIOBUTTON GROUP rad1.
- NO-DISPLAY
Example:
PARAMETERS: f1(10) TYPE C NO-DISPLAY.
PARAMETERS: f1(10) TYPE C NO-DISPLAY.
- MODIF ID
Example:
PARAMETERS: f1(10) MODIF ID GR1.
PARAMETERS: f1(10) MODIF ID GR1.
very nice site
ReplyDeletegood work keep it on.....