Warning: include_once(http://erpgenie.com/_borders/topabap.htm) [function.include-once]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Warning: include_once() [function.include]: Failed opening 'http://erpgenie.com/_borders/topabap.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Tips and Tricks arrow General arrow Types of ABAP Processing Blocks
Types of ABAP Processing Blocks PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Kevin Wilson   
Monday, 21 July 2008
  • Types of ABAP Processing Blocks
    All ABAP programs are made up of processing blocks. You cannot nest processing blocks. When a program is executed, its processing blocks are called. All of the statements in an ABAP program, apart from its global data declarations, belong to a processing block.
    • Dialog Module: Defined between the MODULE...ENDMODULE statements in type 1, M, and F programs. Has no local data area and no parameter interface. Called using the MODULE statement in screen flow logic. Processes screens.
    • Event Block: Defined by one of the event key words. N o local data area and no parameter interface.  Reacts to events in the ABAP runtime environment. (Exceptions: AT SELECTION-SCREEN and GET are implemented internally using subroutines, and have a local data area).
Reporting events
            • INITIALIZATION
            • START-OF-SELECTION
            • GET
            • END-OF-SELECTION

Called by the ABAP runtime environment while a type 1 program is running; contain application logic for report programs.

Selection screen events
        • AT SELECTION-SCREEN OUTPUT
        • AT SELECTION-SCREEN ON VALUE REQUEST
        • AT SELECTION-SCREEN ON HELP REQUEST
        • AT SELECTION-SCREEN ON <f>
        • AT SELECTION-SCREEN ON BLOCK
        • AT SELECTION-SCREEN ON RADIOBUTTON GROUP
        • AT SELECTION SCREEN
        • AT SELECTION SCREEN ON END OF <f>

Called by the ABAP runtime environment following a user action on a selection screen in a type 1, M, or F program; process selection screens.

List events
        • TOP-OF-PAGE
        • END-OF-PAGE
        • AT LINE-SELECTION
        • AT PF<nn>
        • AT USER-COMMAND

Called by the ABAP runtime environment while a list is being created or after a user action on a list in a type 1, M, or F program.

    • Procedures: ABAP contains the following procedures. They have a local data area and a parameter interface:
  • Subroutines: Defined by FORM...ENDFORM in any program except for type K; called using the PERFORM statement in any ABAP program.
  • Function modules: Defined by FUNCTION...ENDFUNCTION in type F programs; called using CALL FUNCTION from any ABAP program.
  • Methods: Defined by METHOD...ENDMETHOD in global classes in programs with type K, or in local classes in any ABAP program; called using CALL METHOD from any ABAP program for global classes, and, for local classes, from the program in which the class is defined.

Related Items:

 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 333
Sample Code: 164
Total Contributions: 550

Member Activity
Members: 6244 since 2/1/2007!
New: 0 since yesterday!
Visitors: 1080669
We have 8 guests online

Newest Members

Welcome our newest members:

Google Ads


Warning: include(http://erpgenie.com/_borders/bottom.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22

Warning: include() [function.include]: Failed opening 'http://erpgenie.com/_borders/bottom.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22