Lesson 9 – Declaration of Variables in SAP

Lesson 9 – Declaration of Variables in SAP

Data : <variable name> type <data types>.

Type :

TYPE is a keyword which is used to declare a variable.

Data :

DATA is the keyword which refers to the data object and it is used to declare the data objects in SAP ABAP.
Ex. Variables, Work areas, Internal tables, etc.

In ABAP, every statement needs to be terminated by a period (.) and if things are continuous comma (,) is required at the end of line.

First Program in SAP ABAP –

LV_COUNT = 10.

One comment

  1. Hey There. I found your blog using msn. This is a very well written make sure to bookmark it and come back to read more of your useful info. Thanks for the post. I will definitely comeback.

Add a Comment

Your email address will not be published. Required fields are marked *