+ All Categories
Home > Documents > Chapter 01_Introduction to Online Programming

Chapter 01_Introduction to Online Programming

Date post: 03-Jun-2018
Category:
Upload: raul-thomas
View: 223 times
Download: 0 times
Share this document with a friend

of 13

Transcript
  • 8/12/2019 Chapter 01_Introduction to Online Programming

    1/13

    IBM Global Services

    2005 IBM CorporationIntroduction to Online Programming |6.01

    March-2005

    Introduction to Online Programming

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    2/13

    IBM Global Services

    2005 IBM Corporation2 March-2005Introduction to Online Programming | 6.01

    Objectives

    The participants will be able to:

    Recognize the different types of ABAP programs.

    Recognize the elements of an Online program:

    Screen components

    Screen layout

    ABAP program components Processing control

    Program work areas

    Screen work areas

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    3/13

    IBM Global Services

    2005 IBM Corporation3 March-2005Introduction to Online Programming | 6.01

    ABAP Program Types

    Report Programs (produce

    lists )

    Conventional Report

    (do not allow interactionby the user)

    Interactive Report

    (allow interaction by the

    user)

    Online Programs

    (do not produce lists..are a collection of

    screens)

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    4/13

    IBM Global Services

    2005 IBM Corporation4 March-2005Introduction to Online Programming | 6.01

    Developing Online Programs

    Object Navigator SE80

    Screen Painter SE51 ABAP Editor SE38

    ABAP Dictionary SE11Menu Painter SE41

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    5/13

    IBM Global Services

    2005 IBM Corporation5 March-2005Introduction to Online Programming | 6.01

    Screen Components

    Screen Painter

    Screen Attributes

    Screen Layout

    Field Attributes

    Flow Logic

    The Screen Painter is used to maintain all componentsof a screen

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    6/13

    IBM Global Services

    2005 IBM Corporation6 March-2005Introduction to Online Programming | 6.01

    Screen Layout

    1 2

    3

    4

    5

    6

    7

    Some of the elements that can be painted on a screen in the Fullscreen Editor.

    Text Fields

    Radio Buttons

    Check Boxes

    Frame

    Push Button

    Tabstrip Controls

    Text Fields

    I/O Template

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    7/13

    IBM Global Services

    2005 IBM Corporation7 March-2005Introduction to Online Programming | 6.01

    ABAP Program Components

    Top Include (Global

    data declaration)

    PBO Modules

    (Called before the screen is

    displayed)

    PAI Modules

    (called after the user has invoked a

    function code or pressed the Enter

    key)

    ABAP

    Form Include

    (Subroutines)

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    8/13

    IBM Global Services

    2005 IBM Corporation8 March-2005Introduction to Online Programming | 6.01

    Online Program Processing Control

    During the execution of an Online program, control is constantly switching betweenthe DYNPRO and ABAP processors

    ** INCLUDE MZAVGI01

    MODULE CHECK INPUT.

    ENDMODULE.

    MODULE SELECT INPUT.

    ENDMODULE.

    MODULE UPDATE INPUT.

    ENDMODULE.

    ** INCLUDE MZAVGO01

    MODULE CLEAR OUTPUT.

    ENDMODULE.

    ABAP PROCESSOR

    ** SCREEN 9000 **

    PROCESS BEFORE OUTPUT.

    MODULE CLEAR.

    PROCESS AFTER INPUT.

    MODULE CHECK.

    MODULE SELECT.

    ** SCREEN 9001 **

    PROCESS BEFORE OUTPUT.

    PROCESS AFTER INPUT.

    MODULE UPDATE.

    ABAP PROCESSOR

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    9/13

    IBM Global Services

    2005 IBM Corporation9 March-2005Introduction to Online Programming | 6.01

    Online Program Work Areas

    Screen Work AreaProgramWork Area

    PBO

    PAI

    Transport occurs

    if the field names

    are identical

    name

    Aaron

    phone

    215-387-3232

    city

    Philadelphia

    DATAname(10).Aaron

    DATAnum(12).

    DATA city(20).

    Philadelphia

    An Online program consists of two distinct work areasthe screen work area andthe program (module pool) work area.

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    10/13

    IBM Global Services

    2005 IBM Corporation10 March-2005Introduction to Online Programming | 6.01

    Demonstration

    Creation of an online program through transaction SE80.

    Creating a screen for that program to display data for an employee of an

    organization ( name, employee number , designation, etc )

    Attaching a transaction code to the Online program.

    Displaying the screen with employee data, on execution of the transaction

    code.

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    11/13

    IBM Global Services

    2005 IBM Corporation11 March-2005Introduction to Online Programming | 6.01

    Practice

    Creation of an online program through transaction SE80.

    Creating a screen for that program to display data for an employee of an

    organization ( name, employee number , designation, etc )

    Attaching a transaction code to the Online program.

    Displaying the screen with employee data, on execution of the transaction

    code.

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    12/13

    IBM Global Services

    2005 IBM Corporation12 March-2005Introduction to Online Programming | 6.01

    Summary

    You should always use the Object Navigator to create online programsbecause the system will automatically maintain an online programs sub-objects and you will be able to see the hierarchy list of these sub-objects.

    In ABAP, basically there are two different types of programs: Reportprograms and Online programs.

    The Screen Painter is used to maintain all components of a screen: screen

    attributes, screen layout, field attributes, and Flow Logic.

    The Fullscreen Editor supports two modes: Graphical and alphanumeric.

    An online program consists not only of the screens and their Flow Logic, butalso ABAP program components: Global data, PBO modules, PAI modules,and subroutines.

    The run-time environment of an online program is made up of twocomponents: dynpro (online) processor and ABAP processor.

    An online program consists of two distinct work areasthe screen work areaand the program (module pool) work area.

  • 8/12/2019 Chapter 01_Introduction to Online Programming

    13/13

    IBM Global Services

    2005 IBM Corporation13 March-2005Introduction to Online Programming | 6.01

    Questions

    What are the different elements of an online program ?

    What is the difference between a PBO event and a PAI event in an online

    program ?

    What are the two components of the run-time environment of an online program ?


Recommended