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

Script - Fun.module ?

Former Member
0 Likes
411

what is the functionality of SSF_FUNCTION_MODULE_NAME ?

why r u uisng this ?

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
385

Hi,

Please check this from other thread.

Let's 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.

Regards,

Ferry Lianto

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
385

This function module is responsible for providing the name of the driver function module for a smartform, not a sapscript. Every smartform has an assocated function modules which is used render the smartform, this function gets the name of that function module.

Regards,

RIch Heilman

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
385

See demo program SF_EXAMPLE_01

Regards,

RIch Heilman

Read only

ferry_lianto
Active Contributor
0 Likes
386

Hi,

Please check this from other thread.

Let's 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.

Regards,

Ferry Lianto