10-18-2005 9:40 PM
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.
10-18-2005 9:54 PM
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
10-18-2005 9:43 PM
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.
10-18-2005 9:54 PM
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
10-18-2005 10:04 PM
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.
10-19-2005 4:11 AM
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.???????????????
10-19-2005 4:17 AM
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.
10-19-2005 5:04 AM
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
10-19-2005 5:32 PM