06-16-2008 11:16 AM
hi
does dialog prog creat any include at the time of creating any prog in se51.
thanx in advance
rocky
06-16-2008 11:20 AM
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
06-16-2008 11:18 AM
hi,
yes.we can create it. but it is easy to create the entire application in se 80.
thanks
karthik
06-16-2008 11:20 AM
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
06-16-2008 11:22 AM
hi
could you please give me the names of those includes.
thanx
rocky
06-16-2008 11:47 AM
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
06-16-2008 11:34 AM
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