Application Development and Automation 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: 
Read only

Y do we call SSF_FUNCTION_MODULE_NAME

Former Member
0 Likes
1,275

Hi Frendz,

i just want to kno, why do we call the function SSF_FUNCTION_MODULE_NAME?

What is its purpose..?

this one i've seen in many print programs for smartforms..

is it not efficient calling the Function Module dat a particular smart form

generates?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
779

Say i have a program in which I have called the smartform in direct method by using the function module generated.

Now if I change that smartform so much, sometimes a new function module will be generated. or if I delete that smartform and create a new one with same name, a new function module will be generated. Then I need to go and change all programs that call this smartform directly.

In the two step process, it is not necessary. Everytime the function module related to a smart form changes, the SSF_FUNCTION_MODULE_NAME fetches the latest. So we dont need to update our report programs each time we manipulate the smartform

Hope this was helpful.

4 REPLIES 4
Read only

Former Member
0 Likes
779

The name of the function module generated for the form must be determined. Background: The name differs depending on the form and system.

Call the function module SSF_FUNCTION_MODULE_NAME and pass the form name to it. This name is typed as TYPE tdsfname. The return value (import parameter) you get is the name of the generated function module as TYPE rs38L_fnam.

Read only

Former Member
0 Likes
780

Say i have a program in which I have called the smartform in direct method by using the function module generated.

Now if I change that smartform so much, sometimes a new function module will be generated. or if I delete that smartform and create a new one with same name, a new function module will be generated. Then I need to go and change all programs that call this smartform directly.

In the two step process, it is not necessary. Everytime the function module related to a smart form changes, the SSF_FUNCTION_MODULE_NAME fetches the latest. So we dont need to update our report programs each time we manipulate the smartform

Hope this was helpful.

Read only

0 Likes
779

so wat do we pass at

IMPORTING

fm

Read only

Former Member
0 Likes
779

Hi,

For executing the Smart form this function module is mandatory,

SSF_FUNCTION_MODULE_NAME In this function module u have to pass form name. And one more thing when u activate ur smartform u will get one more function module.

This both the function module u have to pass to ur print program.

If it is use full please reward me a points.

praveen.