‎2007 May 16 5:45 AM
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?
‎2007 May 16 5:52 AM
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.
‎2007 May 16 5:51 AM
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.
‎2007 May 16 5:52 AM
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.
‎2007 May 16 5:59 AM
‎2007 May 16 6:01 AM
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.