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? Urgent

Former Member
0 Likes
958

Hi All,

Please help me with this question regarding smartforms that i faced in one of the interviews?

In case of smartforms will the function module name which is generated dynamically once it is activated change from one client to another client within the same server ?

Regards,

MD.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
932

Hi MD,

No it will not change from client to client, but it will change from server to server means DEV to QAS to PRD.

This is because when ever the Smartform is triggrred the F.M. will get generated, so inside a server you will not transport since it is client independent.

If you transport to another server like QAS or PRD it will change because after transport only the Smartform will be trigrred,at that time only the Dynamic FM will get activated.

for more clarity

We all know that when we activate a smartform a function module will be generated. We can check this function module name from the Smartform editor itself by going to the menu bar Environment à Function module.

We can call this function module directly in our Driver Program.

But in the entire standard programs SSF_FUNCTION_MODULE_NAME function module is being used to get the function module name for the corresponding smartform by passing the form name.

When we transport the SMARTFORM we usually transport the Definition only.

When we call that definition (Smart form) in the new system the function module is regenerated. This name is different from the name generated in the Original system.

The name of the Function module generated by the smartform contains the prefix “/1BCDWB/SF” and an 8 digit number after this.

This 8 digit number depends on the R/3 System being used.

Regards,

Prabhu

Reward if helpful

6 REPLIES 6
Read only

Former Member
0 Likes
932

Yes it will change

Read only

Former Member
0 Likes
932

Function Moudule gets generated each time you generate/activate your smartform.

When transported from one system to another, smartform will get generated again and hence the new FM with new name...

G@urav.

Read only

Former Member
0 Likes
933

Hi MD,

No it will not change from client to client, but it will change from server to server means DEV to QAS to PRD.

This is because when ever the Smartform is triggrred the F.M. will get generated, so inside a server you will not transport since it is client independent.

If you transport to another server like QAS or PRD it will change because after transport only the Smartform will be trigrred,at that time only the Dynamic FM will get activated.

for more clarity

We all know that when we activate a smartform a function module will be generated. We can check this function module name from the Smartform editor itself by going to the menu bar Environment à Function module.

We can call this function module directly in our Driver Program.

But in the entire standard programs SSF_FUNCTION_MODULE_NAME function module is being used to get the function module name for the corresponding smartform by passing the form name.

When we transport the SMARTFORM we usually transport the Definition only.

When we call that definition (Smart form) in the new system the function module is regenerated. This name is different from the name generated in the Original system.

The name of the Function module generated by the smartform contains the prefix “/1BCDWB/SF” and an 8 digit number after this.

This 8 digit number depends on the R/3 System being used.

Regards,

Prabhu

Reward if helpful

Read only

0 Likes
932

Thanks a lot for your help.

Read only

0 Likes
932

How many main windows can we create in a smartform?

Regards,

MD

Read only

0 Likes
932

Hi,

We can Create only one main windows per Page.

If we have 3 pages we can have 3 main Windows but the main window size should be same for all the pages.

Regards

Sandipan