SAP ABAP Training - Beginner Guide - Declaring Variables

Опубликовано: 03 Март 2026
на канале: Pete
34,575
99

SAP ABAP Training - Beginner Guide - Declaring Variables

SAP Training - BEGINNERS GUIDE TO LEARNING SAP ABAP - Declaring Variables

http://www.saptraininghq.com/beginner...

A field is a temporary area of memory which can be given a name and referenced within programs. Fields may be used within a program to hold calculation results, to help control the logic flow and, because they are temporary areas of storage (usually held in the RAM), can be accessed very fast, helping to speed up the program's execution. There are, of course, many other uses for fields.
The next question to examine is that of variables, and how to declare them in a program. A variable is a field, the values of which change during the program execution, hence of course the term variable.
There are some rules to be followed when dealing with variables:
• They must begin with a letter.
• Can be a maximum size of 30 characters,
• Cannot include + , : or ( ) in the name,
• Cannot use a reserved word.


Videos in the series:
Learn SAP ABAP - Video Playlist -    • SAP ABAP Tutorials  

Websites and Profiles:
SAP Training Courses http://www.saptraininghq.com
SAP Academy Courses http://academy.saptraininghq.com
SAP Training on Twitter:   / petermoxon  
SAP Training on Google + https://plus.google.com/u/0/+PeteMoxon
STHQ on Linked-In   / petermoxon  
STHQ on YouTube    / pcmoxon  

More SAP Resources:
SAP site http://www.sap.com
SAP community netwrok http://scn.sap.com
About SAP http://en.wikipedia.org/wiki/SAP_AG
About ABAP http://en.wikipedia.org/wiki/ABAP

Various YouTube channels on SAP:
SAP InnoJam    / channel  
SAP on YouTube    / @sap  
SAP TV on YouTube    / @saptv  
SAP SCN on YouTube    / @sapcommunity