Error while testing a function module
When you try to test a function module via SE37 you get runtime error, but it works fine when incorporated in a program. Why?
When you try to test a function module via SE37 you get runtime error, but it works fine when incorporated in a...
Continue Reading This Article
Enjoy this article as well as all of our content, including E-Guides, news, tips and more.
program. Why?
This happens especially after an upgrade. The table EUFUNC which contains test data gets corruped for some unknown cause. The solution is one of two:
1. Clear the EUFUNC table (to be done by a BASIS person)
or:
2. Remove the affected entry of the table EUFUNC with:
SE37, Function Module -> Test environment -> Delete test data.
Then test the function module. It will work just fine.