cancel
Showing results for 
Search instead for 
Did you mean: 

Run a Samrtforms in just pressing the Tr Code of the program

Former Member
0 Kudos

Can you tell me how can I run a smartforms program by pressing the Tr Code ones?

Actually it happens in this way :

1) Press the Tr Code of the object

2) A new sub-window named 'Print' will appear.

3) One has to give output device. He wants to give Print/ Print Preview. And then press the button. Then only smartforms will appear.

I want only Tr Code will be pressed then it will show us the smartforms.

Can you please help??

Regards,

Subho

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Set the print parameters( Control parameters ) for the smartform.

preview = 'X', no_dialog = 'X' and also maintain output device and pass it.

This would display smartform as and when tcode is pressed without any dialog in between.

Answers (1)

Answers (1)

NAeda
Contributor
0 Kudos

hi,

You have to suppress the Print preview.

In the coding ofter caling the Smartforms function module,

Pass these variable to Contral_Parameters.

CONTROL_PARAMETERS-DEVICE = Output device

CONTROL_PARAMETERS-NO_DIALOG = 'X'.

Rgds

Aeda