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: 

hi all - module pool

Former Member
0 Kudos

hi

does dialog prog creat any include at the time of creating any prog in se51.

thanx in advance

rocky

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

If you go and create the module pool program in SE80 (starting with SAPMz* or SAPMy*), four includes will be created by default as below.

INCLUDE MYTEST1TOP . " global Data

INCLUDE MYTEST1O01 . " PBO-Modules

INCLUDE MYTEST1I01 . " PAI-Modules

INCLUDE MYTEST1F01 . " FORM-Routines

and from SE51 (Screen painter) we can create the screen and we can handle the PBO and PAI events.

Edited by: Ravi Kumar on Jun 16, 2008 12:20 PM

5 REPLIES 5

Former Member
0 Kudos

hi,

yes.we can create it. but it is easy to create the entire application in se 80.

thanks

karthik

Former Member
0 Kudos

HI,

If you go and create the module pool program in SE80 (starting with SAPMz* or SAPMy*), four includes will be created by default as below.

INCLUDE MYTEST1TOP . " global Data

INCLUDE MYTEST1O01 . " PBO-Modules

INCLUDE MYTEST1I01 . " PAI-Modules

INCLUDE MYTEST1F01 . " FORM-Routines

and from SE51 (Screen painter) we can create the screen and we can handle the PBO and PAI events.

Edited by: Ravi Kumar on Jun 16, 2008 12:20 PM

0 Kudos

hi

could you please give me the names of those includes.

thanx

rocky

0 Kudos

Hi

There aren't obligatory names to call the includes, if you want u can create onlu one include or insert all in the mai program.

Anyway it's a good rule to create a different include for every kind of objects:

- DATA;

- Routine (form)

- Module (for input)

- Module (for output);

- Event

There's a name convetion to call them: if yuor module pool is called SAPMZXXXXXX

- Include for data: MZXXXXXXTOP;

- Include for form: MZXXXXXXF01;

- Include for module (PBO) MZXXXXXXO01;

- Include for module (PAI): MZXXXXXXI01;

- Include for events: MZXXXXXXE01

Max

Former Member
0 Kudos

Hi,

it wont create any include program when u r creating dialog program with SE51.

but if you r using se80 for creating dialog program. that time when u are double clicking on the program name once you creating..then it will create 4 include programs...

each include program you can double click on it and activate it, then use what ever the purpuse.

top include : it is for creating global data declarations

o01include : it is for writing the code related to PBO module

i01include : it is for writing the code related to PAI module

f01include : it is for subroutine code

Regards,

venkat n