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

Testing a Module Pool

Former Member
0 Likes
2,076

Good Morning,

I need to test a Module Pool but i can't. I receive a system message saying that the object cannot be executed.

Best Regards,

Pedro Gaspar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,669

hi,

is the object syntactically correct and activated properly.

regards,

Navneeth.K

12 REPLIES 12
Read only

Former Member
0 Likes
1,670

hi,

is the object syntactically correct and activated properly.

regards,

Navneeth.K

Read only

0 Likes
1,669

hi,

U need to activate at each and every screen, u have to activate the screen editor the program corresponding to it in se38 and also in se51.

hope it solves your problem

regards,

Navneeth.K

Read only

0 Likes
1,669

Hello Navneeth,

Yes, the object is activated and syntactically correct.

Regards,

Pedro Gaspar

Read only

0 Likes
1,669

Although i've activated everything and created a transaction, the program returns a ABAP Dump "SUBMIT_WRONG_TYPE".

Also when i try to execute the transaction i receive the following message:

"Screen 0001 of program <my program> is not a selection screen".

This is strange, i've created Module Pools in the past and can run them directly in se80...

Also i've compared my initial (and only) screen with other initial screens in module pool programs and i can't find any diference...

Regards,

Pedro Gaspar

Read only

0 Likes
1,669

just check the type of ur program

i hope its m

Read only

0 Likes
1,669

Hi,

I think while creating a transaction, u hv mistakenly selected the option Program with a selection screen.

Instead seect the option Program and screen.

Give the screen number as the first screen which u wud like to display.

Regards,

Himanshu

Read only

0 Likes
1,669

Hi,

Program type should be "M"( module pool ).Check it.And also while calling a screen try to give Call Screen <Screen No>.In this case ,I think

u have given as CALL SELECTION-SCREEN which is wrong.

Read only

0 Likes
1,669

Thanks Himanshu,

You're right (this one was basic...), i was using a transaction already created to make tests and i forgot to check the type of transaction.

Thanks to all of you, i'll distribute the points...

Best Regards,

Pedro Gaspar

Read only

former_member491305
Active Contributor
0 Likes
1,669

Hi,

U can execute Module pool program thru Transaction code.

Create a T-code in SE93 for thr program.Give Program name and initial screen no.,

GUI Capability etc.Execute that transaction.

Read only

Former Member
0 Likes
1,669

Hi,

U need to assign a transaction to the Module Pool Program.

Only executable reports an be directly execurted. Module Pools, Includes, Subrotuine Pools cant be directly executed.

Transaction codes can be assigned using SE93 transaction.

Regards,

Himanshu

Read only

Former Member
0 Likes
1,669

HI,

Goto SE80, and give the Program name , then right Click on the program name then select the Activate button. then goto SE93 and create a transaction code for this Program, You can execute Module pool program thru Transaction code.

Regards

Sudheer

Read only

Former Member
0 Likes
1,669

hi pedro

u can test a screen directly

but if u want to test the entire module pool prog u nees to assign it to a transaction via se93 and run that transaction

regards

navjot

reward if helpfull