‎2009 Sep 10 4:17 AM
Hi Friend,
I want to modularise the code inside the include program defined in funtion module exit. but it is giving out errors.
Can any one help on this.
Regards
Gautham
‎2009 Sep 10 4:48 AM
‎2009 Sep 10 5:02 AM
It says incorrect nesting the FUNCTION should be ending with ENDFUNCTION.
‎2009 Sep 10 5:15 AM
You must have made some nesting error. Just paste your code here .
‎2009 Sep 10 12:00 PM
Hi,
Use submit program....statement it wil work....
Thanks,
Shailaja Ainala.
‎2009 Sep 11 9:26 AM
Hello Gautam,
Use the PERFORM (FORM ................. ENDFORM.) for modularizing the code inside the function module exit. You can not use the include inside the function module directly but once u create a PERFORM (FORM ................. ENDFORM.). Inside this FORM ................. ENDFORM .. u can create any number of include's.
I hope it will resolve your problem.
Thanks.
Anurag
‎2009 Sep 14 9:53 AM
Hi,
Is your issue resolved?If not can you send as screen shot of how and where you are trying to modularize the code?
U get this error, if form-endform is defined with function-endfunction.
Sunroutines calls can be written within function-endfunction but there bosy ie. form-endform should be written after endfunction or in some separate include.
Hope this helps.
Deepika