Free SAP Training & Tutorial A Free SAP Functional And Technical Tutorial And Training For ABAP, SAP QUERY, ALV, SMARTFORMS, SD, PP, MM, QM, FICO

   
01.06.2010 | Author: | Posted in ABAP 

Module pool program in SAP is also called dialog program, which is an ABAP program of Type “M”, in this module pool program we can create a form like program using an environment called the layout editor which is similar with SDK (software development kit) you found in any other software such as visual studio .net.

The tcode we’re using to create a module pool program is SE51, you can also use the Object Navigator in SE80.

What we create in SE51 is actually the user interface or screen, so where’s the source code? The source code will still be created in ABAP editor SE38, but we can directly interact with the ABAP editor from the flow logic section in the Module pool program.

As you can see in below picture, you need to have a program first in Se38 because this will become the flow logic (source code) of your program. After that you can put a screen number to create the module program.

pica

Even though the objects (label, textbox, pushbutton) are not as rich as the toolbox you find in Visual studio .net, the tools there are quite enough to create a working form to do the inserting, updating and deleting data in the database, but I usually create my own transparent tables to interact with a module pool program.

Just like other Object oriented programming languages, In Module pool program you also will find EVENTS. There are 2 different events, the first one is Process before output (PBO) which is a part of the Dynpro code, this event is triggered when the form is very initialize or before the user can do anything with the any object or data in the screen.

The second event is process after input (PAI), this event will be triggered after user interacted with the data, e.g input some data or any screen object.

To call a module program you also using TCODE just like report program you create in SE38, the difference is that when you create the TCODE you must choose “Program And Screen (Dialog Transaction)” option.

picb

Popularity: 17% [?]

 


Related Tutorial " ABAP" 

  •  
     
    Recent Tutorials
    Create Table Maintenance Display In SAP Create table display to maintain tables values using SM30
    Create Table Maintenance Generator In SAP Maintaining SAP Transparent table values using maintenance generator
    Table Relationship In SAP Learn How To Find Tables Relationships in SAP
    Convert Number To words Using ABAP Find out how to convert numbers into words Using ABAP
    How To Maintain Long Text Object in SAP Maintain long text object in SAP
    How To Know What TCODE Used In ABAP Program Find TCODE For your ABAP Program Report
    How does CRM Work? Learn how CRM system works to run your business
    Why SAP CRM is the Best Choice? The reasons why CRM application is the best choice
    Difference Between CRM System and CRM Strategy What's the difference between CRM system and its strategy
    CRM for a Better Customer Service Learn how CRM could make your customer service much better
    Costs of Implementing CRM Software Learn the how much cost you need to prepare when implementing CRM
     
    Popular Tutorials
  • Using TYPES as Internal Table Structure in ABAP
  • How To Add Variable Into Your Status Message ABAP
  • Function To Call SNRO Next Number ABAP
  • How To Disabled Selection Screen Parameter Using ABAP
  • SAP Tutorial Manual
  • Printing Several Forms In One Request Using ABAP
  •  
    Categories
    ABAP   Basis & Configuration  
    ALV SAP BW (Business Warehouse)
    BAPI   SAP Interview Questions
    SAP Tables   SAP Overview
    Transaction Codes FI SAP Query
      MM SAP Script  
      PP SAP Tutorial FI Module
      QM   MM Module
      SD   PM Module
    SAP Functional MM   PP Module
      SD   QM Module
    White Papers     SD Module
    Uncategorized   SmartForms  
      User-Exits  
     
     

     

    Home | About | Contribute | Privacy

    Copyright 2011 freesaptutorial.com.

    Free SAP Tutorial is not associated with SAP AG in Germany or in any other country.

    SAP is a registered trade mark of SAP AG.