cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Variant Function - Debugging?

Former Member
0 Kudos
4,731

Hi gurus,

I have written a simple variant function to take some parameters from my VC and use them as input to fetch a single record from a Z-table then return its result to the VC. I've activated my function module and written a procedure within a test config profile for a test material. When I test things, it seems like nothing is firing. I am trying to catch the function by setting a breakpoint in the code (SE37) then going through the VC to force it to fire, but nothing is happening. Again, everything appears to be activated (function module saved, activated + procedure saved, released) yet I am getting no result from my variant function.

Can somebody help me in determining how I may be able to debug the function module?

View Entire Topic
johannes_klein
Explorer
0 Kudos

Hi Kelby,

did you make make sure that all input characteristics of the variant function are "specified" when you try to call it?

Kind Regards,
Johannes

Former Member
0 Kudos

Hi Johannes,

Sorry for the late reply! A fellow guru contacted me and provided this same answer which solved my problem. I did not realize all input parameters were required. Once I passed them, the debugger caught as expected through SE37 of the function module. :]