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

cant execute simple module pool program

Former Member
0 Likes
2,192

i have a simple module pool program  which basically has two input text boxes . when im done with the coding, the program does not execute correctly.

in my screen element list , my first name BOX1 is marked red and when double clicked on it , it says incorrect cursor position or object not included in navigation.

can someone please tell me the solution to this.

my program is very simple and the link is here : http://www.saptechnical.com/Tutorials/ABAP/contextmenu/Index.htm.

please help.

11 REPLIES 11
Read only

Former Member
0 Likes
2,060

its working in my case

.follow steps easilly.

Read only

Former Member
0 Likes
2,060

Hi,

Whenever you create the layout, make sure to fill the screen painter attributes properly. It will come red until and unless you put both the text name and the function code.

Whatever name you want to give it, write it in the text and the name which you give in the function code, you have to give in the coding in the PAI event.

Please find the following picture:

Regards

Purnand

Read only

Former Member
0 Likes
2,060

Hi,

The text box is called the 'Input/Output' field and I think the box you are talking about is called 'Pushbutton'.

In pushbutton along with the name you must enter the FCTCode (otherwise it will be red). Ex. In fctcode you wrote 'SAVE' the you should write the coding in the PAI event:

If sy-ucomm = 'SAVE'.

.......

endif.

Regards

Purnand

Read only

Former Member
0 Likes
2,060

Hi,

Did it solve your query?

Regards

Purnand

Read only

0 Likes
2,060

i have used input text box only.

but now the pogram is executing but the right click does nothing. i cant get the OPTIONS, CUT , COPY, PAsTE, OPEN....dont know why. in the screen element list the box is red in color. when double clicked on the box it says

incorrect cursor position or object not included in navigation......maybe this might be the problem????

MY QUERY IS NOT SOLVED

Read only

0 Likes
2,060

Hi,

Can you send me the screenshot?

Regards

Purnand

Read only

0 Likes
2,060

Read only

0 Likes
2,060

here the right click doesnt work. when i first entered sample in text 1, ron right click TYPE was dis[played.

in the 2nd time for execution, when i entered new, on right click nothing happened.

Read only

Former Member
0 Likes
2,060

Hey , I had seen your Screen Shots ....When ever U Create A MPP Dont Check "Editor Lock". Uncheck & Create New  OR

GO TO SE38

Give the PROG Name

Select "Attributes"

Click on "Change"

Now Uncheck UR "Editor Lock"

Thanks  & Regards

Kranthi Kumar Reddy G.

Read only

0 Likes
2,060

yes the editor lock was already UNCHECKED. im sure there is something else wrong with the program but im not able to find out.

Read only

gaurab_banerji
Active Participant
0 Likes
2,060

try to make your module pool program complex.