Application Development and Automation 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: 
Read only

What is dfference between module pool and executable

Former Member
0 Likes
3,773

Hi experts,

I want to create transaction(dialog programming).

i am confusing what's the program type i need to enter.

what is difference .

please help..

1 ACCEPTED SOLUTION
Read only

Former Member
1,990

Patric has covered it correctly. So when you are creating the transaction code, you have to first know what type of program you wrote and choose the appropriate type. If you wrote a screen based dialog program, then choose the 'Dialog program' radio button, and if created a report program, then select the second one for an executable report.

If you choose it incorrectly you will get a short dump. You can always go and change it by choosing 'Change transaction type' from the menu.

Srinivas

5 REPLIES 5
Read only

former_member221770
Contributor
0 Likes
1,990

Hi Ramesh,

Quick overview - A Module Pool program is a Dialog Program (a number of screens that are linked together and use the PBO and PAI events). An Executable programis a Report which generally has a selection screen and a output screen (these types of programs use the Start of Selection, End of Selection, etc events). Also a Executable program can be run via SE38/SE80, but a module pool program must be run from a transaction code as you need to specify the starting screen.

Let me know if you need more info.

Hope this helps.

Cheers,

Pat.

PS Kindly assign Reward Points to the posts you find helpful.

Read only

0 Likes
1,990

Few Basic differences between Executable Programm And Module Pool are as follows.

Executable Program

---Type 1;

---introduced with the REPORT statement;

---can be started by entering the program name or using a transaction code;

---can be called using SUBMIT;

---can have its own screens.

Module Pool

---Type M;

---introduced with the PROGRAM statement;

---can be started using a transaction code;

---can be called using CALL TRANSACTION or LEAVE TO TRANSACTION;

---have their own screens.

As far as your problem is concerned for dialog programming you need to go for Module Pool.

You can use executable program, even for Dialog Programming but thats not a good Practice.

Read only

Former Member
1,991

Patric has covered it correctly. So when you are creating the transaction code, you have to first know what type of program you wrote and choose the appropriate type. If you wrote a screen based dialog program, then choose the 'Dialog program' radio button, and if created a report program, then select the second one for an executable report.

If you choose it incorrectly you will get a short dump. You can always go and change it by choosing 'Change transaction type' from the menu.

Srinivas

Read only

Former Member
1,990

Hi Ramesh,

As how others said .. A Module pool programming(Dialog programming) cannot be executed directly. A transaction code has to be assigned to it (in SE93)

So ur program type will be - M

Execution can be done accordingly

1. goto SE93.

2. Type in the Dialog programming name

3. Click Create

4. Give any transaction text

5. Give the program Name ( ur dialog programing name)

6. Give the screen number ( the first screen which u want the users to see and enter the data )

then for running/executing the program give the transaction code ....

All the best

Cheers,

R.Kripa.

Read only

0 Likes
1,990

Hi ,

  • Executable program:

1. We can execute the executable program either through transaction code or directly (Se38).

2. type of the executable program is "1".

3. All the standard reports are executable programs.

ex: ME2L, ME2K and ME2M.

  • Module pool Program :

1. We can execute the Module pool program only through transaction code.

2. type of the Module pool program is "M".

3. All the standard Transactions are Module pool programs.

Ex: XD01 and XK01 .