cancel
Showing results for 
Search instead for 
Did you mean: 

smartform-- print program calling morethan one smartform

Former Member
0 Kudos

is it possible for a print program calling more than one smartform based on a condition.

If possible, then how would we know that a particular smartform has the related print program from NACE settings.

coz in Nace settings one print program is assinged to one smartform.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Priya,

In the print program based on conditions you can call any number of smartforms.

SELECTION-SCREEN BEGIN OF BLOCK block WITH FRAME.

PARAMETERS:

p_smartform1 RADIOBUTTON GROUP rad1,

p_smartform2 RADIOBUTTON GROUP rad1,

p_smartform3 RADIOBUTTON GROUP rad1,

SELECTION-SCREEN END OF BLOCK block.

IF p_smartform1 EQ 'X'.

w_form = 'Y_LAYOUT1'.

ELSEIF p_smartform2 EQ 'X'.

w_form = 'Y_LAYOUT2'.

ELSEIF p_smartform3 EQ 'X'.

w_form = 'Y_LAYOUT3'.

ENDIF. " IF p_vintag eq X

Regards,

Sravanthi

Former Member
0 Kudos

then what about nace settings... which smartforms is assigned in nace?

Former Member
0 Kudos

HI,

In nace we have "Form Routine" option. Based on the Routine we can assign more than one Form and Program.

Eg: Print Preview----One Form

When press F3----Another Form. like this.