cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple page layouts

Former Member
0 Kudos

Hi Gurus

I have a problem please help me. I have to develop two forms but only one print program .My requirement is

From print program there is one variable value coming like

if V_layout = 1

First layout should execute

if V_layout = 2.

Second layout should execute .

First Layout have Po number, Address window and Contact details window .In this main window headers (title text) are different

Second layout have Po number, Address window only .In this main window headers(title text) are different.Here there is no Contact details window So Main window should come little bit up compare to previous layout..

In NACE tcode i have assigned print program name and smartform name. Here i want to acheive above requiremnt in One Layout only.Because there is no much difference between two forms .In NACE i can assign only one smartform for one print program. How can i acheive.

Thanks

RK

Accepted Solutions (0)

Answers (1)

Answers (1)

naimesh_patel
Active Contributor
0 Kudos

In your SMARTForm, create one more FORM INTERFACE parameter for the V_LAYOUT.

For CONTACT window, assign the condition so, it should be called only when your V_LAYOUT = 1.

Like:

I_LAYOUT = 1.

I think, in this case MAIN window's position will not be changed.

Regards,

Naimesh Patel