cancel
Showing results for 
Search instead for 
Did you mean: 

We have to use close form to close the smartform before printing?

Former Member
0 Kudos

Hi,

We are using smart form for printing the shop paper's thru notification, that time if we give print it is not direclty printng, if we go via print preview and print immediately it is immediately printing , that time i am aslo getting the print which i tried to give thru print without going to printpreview..

hope you got my question! Let me where i am missing, shd i use any explicit print fm for printing directly or i shd close the form bef printing like that?

ple reply it is urgent...will reward if it is usefull answer.

thanks and regards,

Gayathri.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

U declare the print parameters in the form itself. The following my help u.

DATA: cparam type SSFCTRLOP,

outop type ssfcompop,

outop-tddest = 'LOCL'.

outop-TDIMMED = 'X'.

outop-TDNEWID = 'X'.

outop-TDFINAL = 'X'.

CPARAM-PREVIEW = 'X'.

CPARAM-NO_DIALOG = 'X'.

Reward points if useful.

Regards

(YUGANDHAR.P)

Former Member
0 Kudos

Hi Yugandhar,

Still this o/p is sending to spool only, i have only one entry that is going to spool, is there is any other way to try this?

-Gayathri

Former Member
0 Kudos

Hi,

U keep only following things. Comment Rest of all parameteres related to this.

outop-tddest = 'LOCL'.

If u do like this a dialog box will be opened. There u can check whatever u want in SPOOL CONTROL option.

Regards

(YUGANDHAR.P)