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

Runtime Error in Module Pool

Former Member
0 Likes
498

Hi,

I am developing a module pool, i have to update the transaction through my module pool, so i am using call transaction method . first i have written the perform with recording steps .. but when i tried to activate the main program i am getting an error saying that

Include ZMPPMTR_INCL

Incorrect nesting: Before the statement "FORM", the structure

introduced by "IF" must be concluded with "ENDIF". .

but in my program there is no if ..endif statement , why i am getting this error can any one giv me a solution for this?

waiting for ur reply...

Regards

Srinath

3 REPLIES 3
Read only

Former Member
0 Likes
465

without seeing the code..

I'll guess at a missing period somewhere.

Read only

Former Member
0 Likes
465

hi,

can you give your code here?

Read only

Former Member
0 Likes
465

hi,

in module pool the mail program contains top include and possibly other includes along with screen,

so save all the components of the main program and come to main program and then activate then the system recognizes all the components and activates accordingly.

try the following

use pretty printer to show the indentations.

double click on the error message it will take you to where the error occured.

try to find the if or endif or form or endform.

hope this will serve your purpose.

Thanks and regards

Ramchander Rao.Krish