Thursday, December 15, 2005

SAP ABAP Programming Step by Steps

DATA Statement

DATA: (length).

Additions:
… TYPE

… LIKE

… VALUES

… DECIMALS

CLEAR . “ Sets a field to the initial value appropriate for its data type.

” Or to initial value defined in the Data Dictionary.

* Declaring Fields of the Same Type : LIKE.

DATA : v_NAME1(25) TYPE C,
v_NAME2 LIKE v_NAME1,
v_NAME3 LIKE v_NAME1.

* In this example, to change the characteristics of all 'v_NAMEn' fields, you need only change the
* characteristics for field v_NAME1.

0 Comments:

Post a Comment

<< Home