Hello,
In 4.6C environment this table XSFPARS don't exist in structure SSFCOMPOP.
The test environment of the Function Builder may not correctly display complex categories. Generic categories such as DATA, OBJECT, STANDARD STANDARD TABLE, ANY TABLE are also not currently supported by the test environment. It is described in the attached notes 585475.
That was the reason of the message "The test for & was regenerated but errors occurred" most often.
As workaround you can create an simple function module. Here you can determine the current name of the smartforms via function SSF_FUNCTIONAL_MODULE_NAME. And here you can avoid to use
the table XSFPARS as import parameter.
Regards,
David