F Difference between TYPE and TYPES in SAP ABAP | CodeTheta

Difference between TYPE and TYPES in SAP ABAP

April 12, 2020

TYPE - This statement is used to define variable in SAP.
Example :
DATA : LV_VAL TYPE CHAR10.


TYPES - this statement is used to define structure in SAP.
Example :
TYPES: BEGIN OF TY_MARA,
         MATNR TYPE MATNR,
         ERSDA TYPE ERSDA,
         ERNAM TYPE ERNAM,
       END OF TY_MARA.

Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.

Post a Comment

PRODUCTS

LISTS OF PRODUCTS

SERVICES

SKILLS
SOFTWARE DEVELOPMENT
WEBSITE DEVELOPMENT
WEB HOSTING
BULK SMS SERVICE
SEO SERVICE
ANDROID APPS
QR CODE / BARCODE
HARDWARE SERVICE
OUR WORK AREA