‎2010 Nov 15 4:54 AM
Hi All,
I have created a Smart Form without a print program. I wrote the entire logic in the Smart Form itself and I am getting the desired output. Now my question is, can I create a transaction code for the Smart Form?
If yes.how?
With Regards,
Asha.
‎2010 Nov 15 5:13 AM
Hello Asha,
SF are not meant to be reports. You can't associate SFs directly to a tcode. Ideally all the data retreival logic should be inside the driver program & the layout definition should be in the SF.
Anyway you need to create a driver program, call your SF & then assign a tcode to the driver program.
BR,
Suhas
‎2010 Nov 15 5:34 AM
Hi,
You can create Tcode for a smartforms , the same way you create for Tables.
In SE93 select the last Radio button .. Transaction with parameters(parameter transaction)
In transaction give (SMARTFORMS) and in
default values section :
Name of screen field : Values
SSFSCREEN-FNAME : <Give your smartform name>
But this will take to your smartforms initial page with the smartform name ...
Regards,
Srini.
‎2010 Nov 15 5:40 AM
Hi Asha,
<li>In real world, It is not possible.
<li>When you activate smartform, one Function module is generated and it is not fixed in different levels(Dev->Test->PRD). We can not create transaction code for Function module.
<li>We need to have one driver program to get function module name dynamically(SSF_FUNCTION_MODULE_NAME) and also we need to pass some print related control parameters to function module.
Regards,
Venkat.O