Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

abap programs

Former Member
0 Kudos

are abap programs executable program.

12 REPLIES 12

bpawanchand
Active Contributor
0 Kudos

Hi

By selecting Executable Program you declare your program as executable. This means that the program can run on its own, and that you can start it in the R/3 system without a transaction code. You can also run executable programs in the background.

By selecting Module Pool you declare your program as a pool for dialog module. This means that your program cannot run on its own, but serves as a frame for program modules used for dialog programming. These program modules contain the application logic of a transaction and are called by separately programmed screen flow logic (programming screens using the Screen Painter tool). The screen flow logic itself can be called via a transaction code only.

As well as executable programs and module pools, there are also include programs. An include program is an independent program with two main functions. On the one hand, it contains the program code that can be used by other programs. On the other hand, it modularizes source code, which consists of several different, logically related parts. Each of these parts is stored in a different include program. Include programs make your source code easier to read and maintain.

Regards

Pavan

Edited by: Pavan Bhamidipati on Jul 10, 2008 9:14 AM

bpawanchand
Active Contributor
0 Kudos

HI

ABAp programa are categeriozed into different types

TYPE I -


INclude Programs

TYPE M --- MODULE POOL PROGRAM

TYPE E --- EXECUTABLE PROGAMS

They can be subroutine pool program

Function group program

So ABAp PRograms can be one of the above different mentioned programs

Regards

pavan

Edited by: Pavan Bhamidipati on Jul 10, 2008 9:12 AM

Former Member
0 Kudos

Hi,

There different type of program

Some are executable some are not.

Pls follow the link-

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d74358411d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb2d5a358411d1829f0000e829fbfe/content.htm

Regards,

Sujit

Edited by: Sujit Pal on Jul 10, 2008 9:13 AM

Former Member
0 Kudos

Hi Garvish,

check thislink which gives the complete documentation on types of abap pograms.

http://abaplovers.blogspot.com/2008/04/sap-abap-program-types.html

http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb2d5a358411d1829f0000e829fbfe/content.htm

http://jplamontre.free.fr/SAP/ABAP%20Program%20types.htm

Hope this helps you.

Regards,

Chandra Sekhar

Edited by: Chandrasekhar Gandla on Jul 10, 2008 9:15 AM

Former Member
0 Kudos

hi,

Types of ABAP/4 Programs

u2022 Report programs

An ABAP/4 report is a program that retrieves data from the database, groups/filters according to different criteria and presents it on screen or as a printed list. Report programs support the use of Logical Databases. Logical databases are special ABAP/4 programs that perform complex database accesses. This provides a standard method of database access that can be used by many reports.

Reports are called TYPE 1 program. You can start a type 1 program by entering its program name. For this reason, they are also known as executable programs. When you start a type 1 program, processes are started in the runtime environment that call a series a processing blocks (event blocks) in a predefined sequence. The sequence is oriented towards reporting tasks. This is why executable programs are also known as reports.

The purpose of a report is to read data from the database and write it out. It consists of only two screens. The first screen is called the selection screen. It contains input fields allowing the user to enter criteria for the report. The second screen is the output screen. It contains the list. The list is the output from the report, and usually does not have any input fields.

Remarks: The selection screen is optional. Not all reports have one. However, all reports generate a list.

u2022 Dialog programs (Transactions)

In a typical dialog program, the system displays a screen where the user can input data. As a reaction to the user input, processing continues. The ABAP/4 code written to control the transaction is maintained in a collection of programs that together form the Module Pool. Dialog Programs are called TYPE M programs. Note that type M programs can only be started using a transaction code. A transaction code starts a screen, which consists of the screen itself and its flow logic. Screen flow logic can call special processing blocks (dialog modules) in the corresponding ABAP/4 program. Since type M programs contain mostly dialog modules, they are also known as module pools.

A development object (also called Repository Object) is anything created by a developer. Examples of development objects are programs, screens, tables, views, structures, data models, messages and includes.

All development objects are portable, meaning that you can copy from one R/3 system to another. This is usually done to move your development objects from the development system to production system. If the source and target systems are on different operating systems or use different database systems, your development objects will run as-is and without any modification. This is true for all platforms supported by R/3.

reward me if useful...

thanks

pradeep

0 Kudos

HI,

there are different types of programs like

include prog.

execuitable prog.

module pool prog.

function pool

subroutine pool.

some of them execuitabbel program.

you can see the different types when you are creating new program in se38 in program type field

regards.

sriram.

Former Member
0 Kudos

Some of the ABAP programs are executable. We have different types of programs which are written in ABAP editor.

They are:

Executable program

INCLUDE program

Module pool

Function group

Subroutine pool

Interface pool

Class pool

Only programs having type 'Executable program' are directly executable.

Thanks,

Shailaja

Former Member
0 Kudos

hi ,

there are various kind of abap programs .

1. type 1( executable ) >> Can be started without a transaction code,either directly or in the background.

2. type I (module pool)

Contain program code that cannot be

run on its own.

You call them from another program using

INCLUDE statements.

3.Module Pools for Screen Painter Screens (M)

Contain processing steps for screen

modules from the transaction and can only

be executed with a transaction code or a

menu function.

4.Subroutines (S)

Contain parts of programs (FORM routines) that can be called

using external PERFORM statements.

5.Function Groups (F)

Contain function modules. Function groups and function

modules are managed in the Function Builder. Program

type F is set by the Function Builder, and cannot be changed

in the program attributes.

6.Interface Pools (J)

Contain interfaces. Classes and interfaces are managed (administered)

in the Class Builder; program type J cannot be changed in the attributes.

7.Class Pools (K)

Contain interfaces. Classes and interfaces are managed (administered)

in the Class Builder; program type K cannot be changed in the attributes.

Former Member
0 Kudos

Hi Garvish.

All ABAP programs are not necessarily executable programs.

To check whether that particular program in Executable.

GoTo->SE38->Type your program name->Attributes Radio button and click->Display.

In the Attribute window you can see in TYPE as "EXECUTABLE PROGRAM". If not, there are many other types.

Good Luck.

Harsh.

Former Member
0 Kudos

Hi Garvish;

All ABAP programs are not necessarily executable programs.

abap programs are of various types:

1. type 1( executable ) =

Can be started without a transaction code,either directly or in the background.

2. type I (module pool)=

it has program code that cannot be

run on its own.

3.Module Pools =

It has processing steps for screen

modules from the transaction and can only

be executed with a transaction code

4.Subroutines =

code is written in "FORM" and this is called by "PERFORM"

some others are:

.Function Groups

.Interface Pools

.Class Pools

If you want to verify whether your program is Executable or not follow this step:

se38 ==> write ur program name ===> mark attribute radio button====> click dispaly===> see type?

Former Member
0 Kudos

Hi Garvish;

All ABAP programs are not necessarily executable programs.

abap programs are of various types:

1. type 1( executable ) =

Can be started without a transaction code,either directly or in the background.

2. type I (module pool)=

it has program code that cannot be

run on its own.

3.Module Pools =

It has processing steps for screen

modules from the transaction and can only

be executed with a transaction code

4.Subroutines =

code is written in "FORM" and this is called by "PERFORM"

some others are:

.Function Groups

.Interface Pools

.Class Pools

if you want to verify whether your program is Executable or not follow this step:

se38 ==> write ur program name ===> mark attribute radio button====> click dispaly===> see type?

                  • plz award points******

Former Member
0 Kudos

Hi garvish,

in abap all programs are nt executable type. There can be different types :

Include programs

Execuitable programs

Module pool programs

Function pool programs

Subroutine pool programs

These are generally used. for eg. dialog programs are module pool, reports are execuitable type

i holpe this information will help you.

Regards

saurabh