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: 

second page in smartforms

Former Member
0 Kudos

Hi all,

Can anyone help me out in solving this issue.

I have a smartform (customized) with layout containing 3 copies (copy A-original, copy B,C as duplicates )to retreive the vendor information.

copy A should be in the first page and the same information has to be printed in the second page as

copy B and copy C.When I am passing the main window in the second page, based on the logic given in the main window,it is picking the next vendor information.

what ever changes i do in the second page main window it is reflected in the first page main. To trigger the command 'goto page', it has to be in the main window only.

for each vendor, these two pages should be displayed.

can anyone help me in solving this.

thanks and regards,

vinod.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Vinod,

Main Window is common to all the pages. You can use the combination of loop and table node to control the flow.

Regards

Ravindra Suvarna

6 REPLIES 6

Former Member
0 Kudos

Hi

You can create one only MAIN window, but you can insert some nodes are triggered only for page B and C.

You should insert a condition to that.

So you can create two COMMAND node to skip to next page,

the first one have the conditione SFSY-PAGNAME = 'A' and second SFSY-PAGNAME = 'B'.

So if SFSY-PAGNAME = 'A', skip to B, and SFSY-PAGNAME = 'B' skip to C.

Max

Message was edited by: max bianchi

0 Kudos

Thanks Max,

I have not yet tried with the logic but I think this could be a very valuable suggetion in solving the issue.

I will get back to you if I am not cleared with the doubt.

regards,

vinod.

Former Member
0 Kudos

Vinod,

Are you trying to display different data in the second and third pages. If yes, why do you need the main window there. Is the data that you are displaying in the second and third pages are not static? If they are static, take out the MAIN window from the subsequent pages.

Regards,

Ravi

Note : Please reward the posts that help you.

0 Kudos

Hi Ravi,

The form that I have mentioned has the same information in all the copies.If I try deleting the main window from the second window, I am unable to pass the information to the second page since all the logic is calculated in the main window and passed onto subsequent windows.

Thanks and regards,

vinod.

Former Member
0 Kudos

Hi Vinod,

Main Window is common to all the pages. You can use the combination of loop and table node to control the flow.

Regards

Ravindra Suvarna

0 Kudos

Hi ravindra,

I am trying to solve it through the logic but i am unable to do that by looping at the main and subnodes.

Since this is the modification of the standard form, i am worried that the functionality changes.

anyways thanks for your valuable suggestion.

regards,

vinod