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

Smartforms

Former Member
0 Likes
891

Hi All,

I have a small doubt in smartforms can u please help me...

When a smart form is created the function module is generated why should we use another function module to get the name to be called in the driver program .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
873

Hi Laxmi,

The function module generated for each smart form is different, so to get that function module we will call function module <b>SSF_FUNCTION_MODULE_NAME</b> and we will use the function module returned by the above function module.

Thanks,

Vinay

8 REPLIES 8
Read only

Former Member
0 Likes
873

the function module which is generated is not a static one.

it will change dynamically.

Read only

0 Likes
873

hi,

at the runtime, we will be getting that function code, so it is not possible to specify the function code directly & call the smartform,

thats y we r usign one more perform for calling the smart form

With REgards,

S.Barani

Read only

Former Member
0 Likes
873

Hi,

When you move the smartform to other client and the FM may have different name. so to avoid that problem, will use SSF... FM to get exact FM name by passing form name.

sudheer.A

Read only

Former Member
0 Likes
873

Hai,

While executing the smartforms the function module is generated.If u make changes in the smartforms & executing another function module will be generated.So for each & every time u r making changes,new function module is generated.If u use function module to to get the name,that FM that u created will be updated.That's y u r creating Function Module with some name.

Regards,

Padmam.

Read only

Former Member
0 Likes
873

Hi,

For every smartform there is a unique function module associated with it.

If u want to get the FM name from smartform then u can goto Environment --> FunctionModule Name. U can then use the function module name in ur program.

Using another FM to get the name of the FM is just another way of a bit dynamically getting the FM name and using it instead of hard coding it.

Regards,

Himanshu

Read only

Former Member
0 Likes
875

Hi Laxmi,

The function module generated for each smart form is different, so to get that function module we will call function module <b>SSF_FUNCTION_MODULE_NAME</b> and we will use the function module returned by the above function module.

Thanks,

Vinay

Read only

Former Member
0 Likes
873

Hi,

If you dont call another function module then you will get a problem when the same smartform is running in different server it means whenever you activate your smartform it automatically generates one FM which is static. If you use the second one then the form would work in different server also means get the dynamic FM.

Cheers,

Bujji

Read only

Former Member
0 Likes
873

Hi,

The function module name which is generated by smartforms might be change dynamically while run in different system, so that we call another function module to get that dynamic function module name of smartform.

i hope you understand .

thnaks.