2007 Apr 02 6:14 AM
Hi,
I was a doing a coding in the include of an user exit.In the code I used perform statement.However when I concluded the code with endform,I got an error stating: Incorrect nesting.Before the statement " Form",the structure introduced by Function must be concluded by endfunction.I checked my code thoroughly but I had concluded each form with endform.There were no other errors.Please help.
Hi,
I was a doing a coding in the include of an user exit.In the code I used perform statement.However when I concluded the code with endform,I got an error stating: Incorrect nesting.Before the statement " Form",the structure introduced by Function must be concluded by endfunction.I checked my code thoroughly but I had concluded each form with endform.There were no other errors.Please help.
2007 Apr 02 6:16 AM
Hi,
Between Function and ENDFUNCTION you can't write the form...endform.
write the perform here and go to the main program of that Function group and there you can add your FORM..ENDFORM code.
reward if useful
regards,
Anji
2007 Apr 02 6:17 AM
Hi,
When the error comes just click on the change icon the cursor will automatically go there where the endfunction is missing, also check that u have not written the form - endform between function-endfunction.
Regds
Seema
2007 Apr 02 6:38 AM
This is because you have deleted the endform. Please check it and if it will not there , insert the code I endform).
Second possibility is that you have not written the endloop and after that .
Check all the syntax of your UE.
Dhiraj
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |