Nested Structures in ABAP :
Structure with in the
another structure is called nested structure
We can declare the nested
structure in 3 ways
Way1:
*&---------------------------------------------------------------------*
*& Report ZEBRA7
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZEBRA7 NO STANDARD PAGE HEADING.
*// declare the first structure
data : begin of stru1,
stuno type i,
stuname type char10,
end of stru1.
*// declare...
Thursday, May 2, 2013
0 Constants in SAP ABAP
Constants in SAP ABAP :
Constants refers to the fixed values that do not change during the execution of a program. A "constant" is a number, character, or character string that can be used as a value in a program.
A constant can be
a number, like 58 or 1.9
a character, like S or @
a character string, like "this is a SAP"
Using "CONSTANTS" keyword we can declare Constants
Syntax :
CONSTANTS : <Name> TYPE <Data Type> VALUE <' number/character/character string'>
EX :
*&---------------------------------------------------------------------*
*& Report ZCONSTANTS
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT...
Labels:
Constants in ABAP,
Constants in SAP,
Reports,
SAP,
SAP ABAP,
SAP ABAP Key words,
Tutorials
Subscribe to:
Posts (Atom)