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: 

Module Pool Program

Former Member
0 Kudos

Hi,

I am new to Module Pool program, in SAP there is a demo program named DEMO_DYNPRO_INPUT_OUTPUT, when I copy the program and execute the program in ABAP editor it is showing the error at 'call screen 100' that is "Screen cannot accessible".

I designed the screen as same as the demo program even the attributes are also same as it is .

Please tell me how to overcome this problem and what is the solution for it. If possible can anybody tell me step by step process of it.

Thanks,

Sriram.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You should be able to run it from SE38, you don't need a transaction code in this case, as there is a call screen 100 in there.

How did you copy the program? In SE38, enter the program name and press copy. It should give you a pop-up screen with a bunch of checkboxes. Select all of them and press copy again. That should copy all the objects to your Z program. You then need to activate all of them. In SE38, enter your Z program name and activate. It will give another pop-up with object and obj. name columns. Select all of them again and then press activate.

Hope this helps,

Srinivas

7 REPLIES 7

Former Member
0 Kudos

You cannot execute a module pool just like a report, you need to call the module pool with a transaction (TCODE) and make sure the screen number that is called in the module pool is the same screen number of your program.

Former Member
0 Kudos

You should be able to run it from SE38, you don't need a transaction code in this case, as there is a call screen 100 in there.

How did you copy the program? In SE38, enter the program name and press copy. It should give you a pop-up screen with a bunch of checkboxes. Select all of them and press copy again. That should copy all the objects to your Z program. You then need to activate all of them. In SE38, enter your Z program name and activate. It will give another pop-up with object and obj. name columns. Select all of them again and then press activate.

Hope this helps,

Srinivas

0 Kudos

I di not see the program that you were trying to copy. It is indeed an executable program, not a module pool, therefore Srinivas is right, you don't neet a transaction as you would for a real module pool. So go ahead and follow Srinivas' instructions to copy the program, if you have already copied the program and did not copy all the elements, copy it again (the system will delete the previous one) and select all the options.

Former Member
0 Kudos

if you created the screen 100 from se51, then you need to create transaction for this.

else if you created screen from se38 like

type CALL SCREEN 100. then double click 100 and created screen.

then it will be executable from se38 itself.

regards

surpreet

why this happens, even i would like to get it clarified.???????????????

Former Member
0 Kudos

When you copy a program in se38 , did you select all the checkboxes like screen, variants etc. Also you have to activate all the objects that got copied , the copied objects are in inactive state after copying . You have to activate R3TR CUAD , R3TR REPS etc. All will appear in list when you try to activate the program in se38. Select all inactive objects in this dialog box while activating.

Cheers.

Former Member
0 Kudos

u say that you have copied the program and designed the screen yourself. please make sure of the following:

1) the number of the screen designed by you is 0100 (as in the sample program)

2) the screen is assigned to the copied program

you can verify this in se80....type the program name and then expand the screens node...you should see your screen there...

rgds,

PJ

0 Kudos

Please award points for helpful answers, and close the post if answered completly.

Regards,

Rich Heilman