Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

why we use ssf function module in mart forms

Former Member
5 REPLIES 5

Former Member
0 Kudos
438

hi,

ssf functions are for smartform, when you want to create a custom print program use use these funcions.

cheers.

...reward if useful.

Former Member
0 Kudos
438

Hi,

A function module is generated whenever a Smart Form is activated.

This Smart Form could be called from the driver program by calling this function module .

By using "SSF_FUNCTION_MODULE_NAME" the user can obtain

the function mudule generated by the Smartform. The input

parameter is the SMARTFORM name the output parameter is the

function module generated .It has to be type RS38L_FNAM.

After getting the output parameter . CALL FUNCTION(output

parameter name).

Reward if useful.

Regards,

Swetha.

Former Member
0 Kudos
438

Hi,

When you press Execute in Smartform, you will be able to see a function module name. If you directly use the name of the function module in your program, your program will work in your server , but it wont work in different server.

Because , this name is generated by SAP and its not same for different server. But the form name is same across all servers. That s why we use SSF function module to get the name of SAP generated FM name.

Please assign points if helpful.

Former Member
0 Kudos
438

Have a look at belwo link for this:

[SSF_FUNCTION_MODULE_NAME|http://www.saptechnical.com/Tips/SmartForms/FMImportance.htm]

It gives you the detailed explanation for this.

Best Regards,

Vibha

Please mark all the helpful answers

Former Member
0 Kudos
438

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.

Regards

Kiran