cancel
Showing results for 
Search instead for 
Did you mean: 

why do we use ssf_function_module_name fm

Former Member
0 Kudos

what is its unique advantage

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

SMARTFORM <----


> Function Module

For Every smartform,There is one Function Module (se37),.This FM, is GENERATED DYNAMICALLY,and the name is also dynamic. IT MEANS, that the FM name will Be DIFFERENT.in DEV, QA and PRD Server.Hence, we CANNOT HARDCODE the fm name.So, to fetch the FM name, given the smartform name,

this fm SSF_FUNCTION_MODULE_NAME is used. After that, we call the FM dynamically,with some specified/pre-defined format

Answers (2)

Answers (2)

0 Kudos

Hi,

Once a smartform is activated, One function module is generated according to the number series available in that system. The generated function module is dynamic and it will be different in Development,Quality and Production system.

So we use the function module SSF_FUNCTION_MODULE_NAME to get the name of the function module name dynamically for a specific smartform.

Regards,

Manjunath M

Former Member
0 Kudos

when u activate the smartform a function module will be generated.

That function module not static one whenever any major change occurs in ur form the FM name changes dynamically.

So u cant pass the function module by just calling call function <FM name>

U have to call SSF_FUNCTION_MODULE_NAME it fetchs the current FM to u.