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

problem while doing SPAU activity to activate a function group

Former Member
0 Likes
880

Hi all,

I am currently working for upgrade project. I completed all the SAPU activities. but not able to activate one function pool.

I getting below error.

"Incorrect nesting: Before the end of the program, the structure introduced by "FUNCTION" must be concluded by "ENDFUNCTION". -"

Please give some idea to activate this pool.

any updates

Regards,

sarath

Edited by: sarath kumar on Feb 23, 2011 11:14 AM

1 ACCEPTED SOLUTION
Read only

prasoon_sahay
Participant
0 Likes
697

This type of error comes when you miss some ENDIF or ENDLOOP in the Function Module.

Check the code again.

3 REPLIES 3
Read only

former_member186491
Contributor
0 Likes
697

Hi sarath,

It seems that this function must be a custom FM, otherwise standard FM happens to be properly closed.

You need to check that FM as ENDFUNCTION command must be missing.

Go into that, check the code, add the ENDFUNCTION there, check again and finally activate it.

This way, your problem would be over.

Thanks.

Kumar Saurav.

Read only

0 Likes
697

@ kumar

thanks for the replay.

thats correct. Now its working fine.

Thanks to all for reponding.

Read only

prasoon_sahay
Participant
0 Likes
698

This type of error comes when you miss some ENDIF or ENDLOOP in the Function Module.

Check the code again.