formscode-generationabapsap-smart-forms

Why does the Function Module name of a Smartform change (sometimes)?


Not really critical question, but i'm curious

I am working on a form and sometimes the generated function name is /1BCDWB/SF00000473, and sometimes /1BCDWB/SF00000472. This goes back and forth.

Does anyone know what's the idea behind this? Cuz i'm quite sure it's not a bug (or i might be wrong on that).


Solution

  • It is not a bug. You always have to use SSF_FUNCTION_MODULE_NAME to determine the actual function module name and call it dynamically using CALL FUNCTION l_function_module.