cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding execution of smartforms without a selection screen.

Former Member
0 Kudos

Hi ,

I would like to know whether it is possible to generate a smart form, by calling a function module in a report program without the option of selection screen.Can anyone suggest me in this regard.

Thanks in advance,

Shwetha Korlepara.

Accepted Solutions (1)

Accepted Solutions (1)

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

You can do if the smartform generated does not require any input from selection screen.

Check these links.

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-img.com/smartforms/smartform-tutorial.htm

Get back in case of any clarifications.Kindly reward points by clicking the star on the left of reply,if it helps.

Answers (3)

Answers (3)

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check this link.In this,I am explaining Table,Templates and Loop in smartforms.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501...

Former Member
0 Kudos

Hi,

Yes, it is possible to generated a smartform by calling a function mdule in a report.

1. Call FM 'SSF_FUNCTION_MODULE_NAME'.

2. Pass your Smart Form name to the parameter FORMNAME.

3. You will get a FM Name from parameter FM_NAME.

4. Use CALL FUNCTION FM_NAME & pass all the required parameters to it.

5. This will generate the smartform with data.

Reward points if the answer is helpful.

Regards,

Mukul

marius_greeff
Active Participant
0 Kudos

Hi,

When you call the smartform function module extracted using CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' you must set the following

to supress the dialog screen - control_param-no_dialog = 'X'

to delete spool req. - output_options-tddelete = 'X'

to print immedietly - output_options-tdimmed = 'X'

Regards,

MG