‎2011 Feb 23 9:16 AM
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
‎2011 Feb 23 10:48 AM
This type of error comes when you miss some ENDIF or ENDLOOP in the Function Module.
Check the code again.
‎2011 Feb 23 10:32 AM
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.
‎2011 Feb 23 11:01 AM
@ kumar
thanks for the replay.
thats correct. Now its working fine.
Thanks to all for reponding.
‎2011 Feb 23 10:48 AM
This type of error comes when you miss some ENDIF or ENDLOOP in the Function Module.
Check the code again.