Vous êtes sur la page 1sur 7

Module Pool Programming

SAP ABAP Training Document

SAP ABAP Training Document Module Pool Programming

Table of Contents
TABLE OF SYMBOLS TYPOGRAPHY TRANSACTIONS USED OVERVIEW GLOSSARY COURSE MATERIALS 1. USING MODULE POOL PROGRAMMING IN SAP 1.1. 1.2. 2.1. 2.2. 2.3. 2.3.1. 2.3.2. 2.3.3. 2.3.4. 2.3.5. 2.3.6. 2.4. 2.5. MODULE POOL PROGRAMMING HOW DOES MODULE POOL PROGRAM WORKS CREATING A MODULE POOL PROGRAM ACTIVATING THE INCLUDES IN THE MAIN PROGRAM. WORKING WITH SCREENS. DEFINING SCREEN ATTRIBUTES. DESIGNING, CREATING THE SCREEN. SELECTING SCREEN FIELDS. ELEMENT LIST. FLOW LOGIC EDITOR. MODULE POOL EVENTS. CREATING TRANSACTIONS. CALLING TRANSACTIONS. -3-3-3-4-5-6-6-6-6-9-9- 11 - 12 - 13 - 14 - 15 - 16 - 17 - 19 - 20 - 22 -

2. DESIGNING STEPS

-2-

SAP ABAP Training Document Module Pool Programming

TABLE OF SYMBOLS
Icon Meaning
Path to find transaction in SAP Menu/SAP Customizing

Note

Example input data Prerequisites, configuration, configuration master data or roles needed before working on a transaction

TYPOGRAPHY
Icon
Example text Ex am pl e te x t

Meaning
Words or characters that appear on screen. It includes screen names, field texts, button names, names menu names and options. Words or phrases that the user will type when required.

TRANSACTIONS USED
Transaction
SE80 SE93 SE51

Name
Object Navigator Transaction Menu Screen Painter

-3-

SAP ABAP Training Document Module Pool Programming

OVERVIEW
Transaction, in an R/3 system is an operation that lets user make necessary changes to the database. The entire R/3 system is nothing but a set of business Transactions. Module pool programming lets a user create user defined screens and generate a Transaction for the screens. With the help of Module Pool Programming a user can enter the data in the database, display the data and update it. At the end of this document youll successfully learn how to create a Module Pool Program. Assign a transaction to the program and use it.

-4-

SAP ABAP Training Document Module Pool Programming

GLOSSARY
ABAP/4 Advanced Business application Programming. /4 represents that its a fourth Generation language Dialog In SAP terminology a Dialog refers to a Screen. Dynpro Dynpro is a cumulative name for screen and flow logic. We can say Dynpro = screen + Flow logic. Object Navigator A platform on sap where you can create Objects like screens, Transactions, Programs, Interfaces etc. Screen Painter A platform to design and develop screens. Layout Editor A platform for designing and placing Screen Elements on the screen. PBO Process Before Output Event. PAI Process After Input Event. POV Process On Value request. POH Process On Help Request Transaction Interface through which specific operations are performed like creating new database entries, Updating the existing ones and displaying the required data.

-5-

SAP ABAP Training Document Module Pool Programming

COURSE MATERIALS
1. USING MODULE POOL PROGRAMMING IN SAP
1.1. MODULE POOL PROGRAMMING

A Module Pool Program is nothing but usual ABAP/4 program which consists of set of Modules and data declaration. Module Pool Programming is called by many names such as Dialog Programming, Transaction Programming, Interface Programming and Dynpro Programming. It is called as Transaction Programming because it deals with the creation of transactions. Module Pool program is called as Dialog (Screen) programming as a Transaction is nothing but a sequence of screens .The reason behind Module Pool Programming being called as Dynpro programming is the meaning of Dynpro is something as Screen + Flow logic. A Module Pool Program is used to generate Transactions as per the clients requirement. For an SAP system, Transaction is nothing but a sequence of steps called as dialog steps and for the user it is sequence of screens which appear one after the other depending upon the option he is selecting.

1.2.

HOW DOES MODULE POOL PROGRAM WORKS

A Module Pool Program comprises of a main Program with four modules. It consists of screens and transactions. Each screen has its own screen components called Attributes, Screen elements and Flow Logic. As ABAP/4 is an event driven language there are screen events that get triggered and these events are handled in flow logic of the screen. They are

-6-

SAP ABAP Training Document Module Pool Programming Note Please read the GLOSSARY ABAP/4 Advanced Business application Programming. /4 represents that its a fourth Generation language Dialog In SAP terminology a Dialog refers to a Screen. Screen Dynpro Dynpro is a cumulative mulative name for screen and flow logic. We can say Dynpro = screen + Flow logic. Object Navigator A platform on sap where you can create Objects s like screens, Transactions, Programs, Interfaces etc. Screen Painter A platform to design and develop screens. Layout Editor A platform for designing and placing Screen Elements on the screen. PBO Process Before Output Event. PAI Process After Input Event. POV Process On Value request. POH Process On Help Request Transaction Interface through which specific operations operat are performed like creating new database entries, Updating the existing ones and displaying the required data. terms to help you understand the following steps. Throughout the document each action will be explained on how it must be configured for a correct corr program execution. They are Process Before Output (PBO) Process After Input (PAI) Process on Help Request (POH) -7-

Vous aimerez peut-être aussi