‎2008 May 12 1:58 PM
Hi all,
My sceanrio is like i have smartform and that smartform need to be executed on multiple systems.
We have different clients with different system number but server is at same IP.
for eg : Client 130
System Id - 05
IP - 192.168.101.102
Another Client - 140
System Id - 09
IP - 192.168.101.102
The smartforms is attached by output type.
Now sceanrio is when i execute the smartform in client 130 it executes successfully.
But when i tried to execute the same in client 140 then it says "no runtime object exists for form" .When i execute the smartform in client 140 then it successfully executes.
So if we have 10 more cleint then everytime we have to execute and generate function module for smartform.
Is there is some thing i am missing .
Please advise.
Regards,
‎2008 May 12 2:17 PM
Hello Navdeep,
Well as far as I know that smartform is client independent, so there is no question of transporting the smartform. Well, please check whether the smrtform is active in all the system, sounds a bit strange but then also please check that.
Also, check that whether you are calling the function module directly or through the function module SSF_FUNCTION_MODULE_NAME and after that you are passing the calling the function module through the fname?
If not then please do that and check whether it is working properly or not?
Warm Regards.
Abhijit.
‎2008 May 12 3:51 PM
Hi
As far As i know smart form is platform independent.
First of all check that smart form active in all the system.
Data :
DATA: lf_fm_name TYPE rs38l_fnam.
DATA: lf_formname TYPE tdsfname.
than call smartform using function module :
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname.
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
than call lf_fm_name.
Call function 'lf_fm_name'.
hope it will solve your problem.
rewards points if useful.
Regards
Nikunj Shah