‎2008 Feb 08 2:21 AM
‎2008 Feb 08 2:45 AM
Hi,
The structure of the ABAP programs is
1.Define tables which we used in the program,using TABLES
2.Define type-pools using TYPE-POOLS.
3.Define types using TYPES for defining structures
4.DATA
5.SELECTION-SCREEN.
6.SELECT statement.
7.WRITE statement.
Reward points,
Thanks,
chandu.
‎2008 Feb 08 2:45 AM
Hi,
The structure of the ABAP programs is
1.Define tables which we used in the program,using TABLES
2.Define type-pools using TYPE-POOLS.
3.Define types using TYPES for defining structures
4.DATA
5.SELECTION-SCREEN.
6.SELECT statement.
7.WRITE statement.
Reward points,
Thanks,
chandu.
‎2008 Feb 08 6:15 AM
hi,
ABAP is an event-driven programming language, and as such is suited to processing user dialogs. The
source code of an ABAP program consists of two parts:
Declarations
Declarations include the statements for global data types and objects, selection screens, and (in ABAP
Objects) local classes and interfaces within the program.
Processing Blocks (indivisible program units)
Each processing block must be programmed as a single entity. There are two basic kinds of processing
blocks:
Event Blocks:
Event blocks are introduced by an event keyword. They are not concluded explicitly, but end when the
next processing block starts.
Dialog Modules and Procedures:
Dialog modules and procedures are introduced and concluded using keywords.
The contents of all processing blocks form the processing logic.
When you generate the program, these parts are compiled to form the load version. This is interpreted at
runtime.
PROGRAM sapbc402_rund_test.
Declarations
TYPES: ...
DATA: ....
CONSTANTS: ...
Dialog module
MODULE s_100 OUTPUT.
...
ENDMODULE.
...
...
Event blck
INITIALIZATION.
...
...
START-OF-SELECTION.
...
...
...
...
...
Procedure
FORM calc USING ...
CHANGING ...
...
ENDFORM.
Hope this is helpful, Do reward.
Edited by: Runal Singh on Feb 8, 2008 11:46 AM
‎2008 Mar 03 6:21 AM
Hai ,
Generally the typical structure of an abap program is
Header
body
footer .
Reward points if useful
Thanks and regards,
K.Vinay Kumar