on 05-07-2008 10:37 AM
Hi,
I have used a perform in a smartform.When I try to execute the program it is giving error as ' Incorrect nesting : Before the statement "FORM" ,the structure introduced by "FUNCTION" must be concluded by "ENDFUNCTION".
Can anyone tell me why is this error coming?
Regards,
Hema
Hi Hema,
Have you declred In global data,declare data1 ?
Just see the below theard
https://forums.sdn.sap.com/click.jspa?searchID=11523481&messageID=450138
Regards
Kiran Sure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.Check the form ,what u written.Is there any loop or if condition is mismatched.
2.Check the perform also ,where u r called.
3.Mainly,the error is before the form,So check in the form routine option ,where u r declared the Form.
regards,
Shiva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hema,
In the Global Defenitions of a smartform you see a Tab on the right called 'Form Routines'.
Here you can make your formroutines with the code.
Since smartforms will generate the FM with performs. so there might be conflict with perform you are using.
Please close if you get the answer
Edited by: aditya on May 7, 2008 11:54 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.