‎2005 Oct 18 2:53 AM
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..
‎2005 Oct 18 3:24 AM
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
‎2005 Oct 18 3:00 AM
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.
‎2005 Oct 18 3:40 AM
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.
‎2005 Oct 18 3:24 AM
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
‎2005 Oct 18 5:18 AM
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.
‎2023 Mar 11 5:09 PM
Hi ,
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.
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 .