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

error in subroutine

Former Member
0 Likes
500

Iam calling a subroutine which is in a include program. I added the include program inside the main program and calling the subroutine. It is giving an error message saying now that

" Incorrect nesting: Before the statement form the structure introduced by Function must be concluded by endfunction."

i do not use any function modules , all the conditional statements are also ended . I do not why this error message keeps on coming. can anyone help me on this please.

Thanks,

Rose.

1 REPLY 1
Read only

Former Member
0 Likes
328

hi i had created the subroutine like that...check this..

se38> program ztest--->perform data(double click on the data) -


>choose new include>yes>yes--->in that include write perform data1(double click it ) -> yes>choose the include that you crated ---> yes ....then the sub routine was created..

regards,

venkat.