cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding print in smartform

Former Member
0 Kudos

Hai Experts,

is there any possibilty to print the PDF which is converted form the smartform using the FM 'Convert_OTF' without displaying it in the screen ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Dhinesh,

Refer this [Wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/convertSmartformtoPDFformat]

Regards,

Sravanthi

Former Member
0 Kudos

hello

i guess what u need is direct printing without print preview.

l_ssfcompop-tddest = itcpo-tddest.

l_ssfcompop-tdimmed = itcpo-tdimmed. "Print Immediately

l_ssfcompop-tddelete = itcpo-tddelete."Delete After

l_control_param-no_dialog = 'X'. "No Dialog Screen

USER_SETTINGS = ' '

for the above settings it directly printing with out print preview.

Former Member
0 Kudos

hai Rohit ,

thanks for ur answer .but i am having small clarification in that declaration.

u have told i have to assign this table field itcpo-tddest to table field l_ssfcompop-tddest

which table i have to refer for itcpo in the declaration part.

that s in the internal table declaration of itcpo.

With Regards,

R.Dhineshraj.

Former Member
0 Kudos

Hi Dhinesh

u need to define

data: l_ssfcompop_param type ssfcompop.

call function lf_fm_name

exporting

control_parameters = l_control_param

output_options = l_ssfcompop

i guess this is what u asked for ...

see the important parameter is l_control_param-no_dialog = 'X'. "No Dialog Screen - thats all