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

regarding tcode for smart form

Former Member
0 Likes
588

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.

3 REPLIES 3
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
537

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

Read only

Former Member
0 Likes
537

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.

Read only

venkat_o
Active Contributor
0 Likes
537

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