Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

displaying different layout using in Smartforms

Former Member
0 Kudos

I have a requirement where in i need to display three different layout depending on certain conditions.the first page will be a static page and i need to hide the main window in the next pages.if any body has come across such a situation.please reply back with the details.

6 REPLIES 6

Vinod_Chandran
Active Contributor
0 Kudos

Hi Ravi,

Please close one thread. I have already given a reply in the other post.

Thanks

Vinod

Former Member
0 Kudos

Hi thanx for the reply..

But the thing is that there are three different layouts

1.Bill summary page 2. SMe page 3.I&C page...all three are different.i need to display the bill summary page and then either SME layout or I&C layout based on certain condition as the next page.so please let me know how this is possible.Please note all the three pages to be displayed are entirely different and i need to do this using a single Form.

0 Kudos

Hi Ravi,

Define 3 pages say

B1 - Bill summary page

B2 - Sme Page

B3 - I &C page

In the page attribute dont define a static next page.

In the main window of B1 add two command nodes , one for each B1 & B2 to trigger the dynamic page break . In the conditions tab of command node give the condition so that either Command Node 1 should be executed or the other one ( the condition should be mutually exclusive i.e. both should not be processed at same time ) .

For dynamic page break help check this -

http://help.sap.com//saphelp_470/helpdata/EN/70/e17a37dec511d3b575006094192fe3/content.htm

Cheers

Former Member
0 Kudos

Hi Sanjay,

Thx for the reply.The bill page (my fist page) will have a main window but my next page i.e the SME page will not have a main window and i need to display table data which can spread to more than one pages.so is tat possible to display data that can spread over many pages using window other than the main window.please let me know .reply will be greatly appreciated.

0 Kudos

Hi

You should insert a main window in SME page, so you should insert the conditions to decide what print when you're running BILL page or SME page.

Max

0 Kudos

Hi Ravi ,

It is not possible to have a data spread to multiple page without a main window. Why dont you have a main window in page B2 also . Define next page as B2 in the page definition of B2.

Window is just a place holder . On page B1 / B2 you can have different content printed in main window . Use different text nodes for B1 & B2 inside main window . To control whether a TEXT node ( or for that matter any type of nade ) will be output in page B1 or B2 you can use the condition tab of the node. Here you have an option to "And Additional Event" -> Only on Page where you can put either B1 or B2 .

Cheers .