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

User Exit

Former Member
0 Likes
374

Hi All,

I ahve a user exit.

In include of that User exit, I have writen my code.

with some perform statements.

When I try to activate the user exit include.

It is giving me error . Saying

Incorrect nesting: Before statement "FORM" the structure introduced by "Function" must be concluded by "ENDFUNCTION"

Eg : of my program.

Include XXXXXXX

in this include I have written code.

Select

perfrom XX

form XX

code.

endform.

3 REPLIES 3
Read only

Former Member
0 Likes
349

Check if your select has endselect (if required).

Read only

Former Member
0 Likes
349

hi,

you can't write form implementation inside this include

program (form....endform)

greetings,darek

Read only

Former Member
0 Likes
349

Hi ,

You should write the code directly instead of having a perform in the include. As the code that you are writing in the include is directly within the Function... endfunction statement, you cannot write forms there.

Regards,

Kavitha