‎2008 Jun 26 7:46 AM
hi........
i have created one user defined function module 'zfunctionmodule1' which contains the following parameters
and i'm using this module in my program.
""Local interface:
*" IMPORTING
*" VALUE(IM_NUMBER) TYPE I DEFAULT '1'
*" VALUE(IM_TABLE_NAME) TYPE SFLIGHT DEFAULT 'SFLIGHT'
*" VALUE(IM_SEPARATOR) TYPE C DEFAULT '#'
*" VALUE(IM_UNIQUE) TYPE C DEFAULT 'X'
*" EXPORTING
*" VALUE(EX_STRING) TYPE C
*" EXCEPTIONS
*" NO_DATA
*" OTHERS
when i execute this it giving me error.........
incorrect nesting:before the statement 'end-of-include', the structure introduced by FUNCTIONmust be nested by ENDFUNCTION.
why it is so??????
can anyone explain me.
thanks
‎2008 Jun 26 8:00 AM
Hi,
This error is self explainatory .
You just double click on the error it will lead you to the part of code where you need to do correction .
I think you have not wriiten ENDFUNCTION statement.
‎2008 Jun 26 8:19 AM
Hi,
I think that you had misses the ENDFUNCTION. statement in the end.
Goto --> se37 --> declare the ENDFUNCTION.and the activate.
reward points.
Thanks,
Nelson
‎2008 Jun 26 9:10 AM
Hi,
Pls include a statement at the end of ur Function module stating ENDFUNCTION.
This will solve it.
Nayan
‎2008 Jun 26 12:08 PM