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

subroutine in PAI

former_member182371
Active Contributor
0 Likes
1,358

Hi,

i´m developing a modulpool and in an INPUT module there is a sentence: perform do_selection.

This form does exist in an include MZSDXXF01 but when i double click on it says that it does not.

I´ve noticed as well that although all my form/endform´s are in an include MZSDXXF01, this include does not appear in the corresponding folder of transaction SE80.

does anyone know why is this happening?

Best regards.

1 ACCEPTED SOLUTION
Read only

former_member182371
Active Contributor
0 Likes
1,294

Yes, this include MZSDXXF01 does exist and when i double click it shows correctly.

Hi,

i´m developing a modulpool and in an INPUT module there is a sentence: perform do_selection.

This form does exist in an include MZSDXXF01 but when i double click on it says that it does not.

I´ve noticed as well that although all my form/endform´s are in an include MZSDXXF01, this include does not appear in the corresponding folder of transaction SE80.

does anyone know why is this happening?

Best regards.

8 REPLIES 8
Read only

Former Member
0 Likes
1,294

Hello,

Are you sure that line "INCLUDE MZSDXXF01." exists in the main program of your module pool?

Regards,

Yacov

Read only

Former Member
0 Likes
1,294

Hello,

Are you sure that line "INCLUDE MZSDXXF01." exists in the main program of your module pool?

Regards,

Yacov

Read only

Former Member
0 Likes
1,294

In your main program SAPMZSDXX, check if your INCLUDE MZSDXXF01 statement is commented out.

Srinivas

Read only

former_member182371
Active Contributor
0 Likes
1,295

Yes, this include MZSDXXF01 does exist and when i double click it shows correctly.

Read only

0 Likes
1,294

Can you give us the main program code which shows all the include statements?

Also, please try to activate your main program and then in the menu, under 'Utilities', do 'Update navigation index'.

If you are not getting a syntax error when activating the module pool, then the issue is updation of navigation index. Make sure that all the relevant includes are uncommented in the main program.

Read only

Former Member
0 Likes
1,294

Did you create this include in a regular way?

I mean, point main program -> right click -> create -> include -> MZSDXXF01.

If you create include independently and then add "INCLUDE <include-name>" into the main program manually, it may behave as you described.

Read only

former_member182371
Active Contributor
0 Likes
1,294

Srinivas Adavi was right, thanks to all of you.

One last question: how comes that i needed to "update navigation index"? what´s the explanation of needing this update?

Regards

Read only

0 Likes
1,294

Typically when you create programs and activate them, the navigation index(this is what allows you to double click on something to navigate to the object) should be updated automatically. But for reasons that I am unaware of, sometimes this does not happen. In such cases, you need to do this 'update navigation index'.

Also, basis folks can schedule a job in production for running the program SAPRSLOG that updates all the navigation indexes. This will make sure that all the navigation indexes are updated properly.

Regards,

Srinivas