Application Development and Automation 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: 
Read only

Smartforms - issue in display page

Former Member
0 Likes
862

Hai ,

I have to dispaly the smartform in the below mentioned way.

it has to display mara records(no of records changes dependending on customer) & the last page with

terms & conditions.

in the ablove scenario, depending on the no. of records in the Mara the pages may increase.

for example : if mara records takes 2 pages..then the total SF contains 3 pages(including the terms & condition page).if the mara records spread across 3 pages for x customer the total pages in SF would become 4.

Till here it is fine.

Now I have another problem.

for a particular customer say ABC,

I need to display another information in separte page(say extrapage) after mara records & before terms & condition.this extra page may also spread across more than on page.

This extra page is of type 'mara records page'(only the contents get changes for this ABC customer).

Now the problem is this extra page has to start from fresh page.

But in my case it is been displayed from the end of the 'mara records page'.that is if mara records page takes 2 & half page the extra page contents stat printing from very next point.I want this to start form third page.once these contents are displayed it has to display the terms & conditions as usual.

can any one have any idea abot this?

sorry , I could n't find any better way to explain my problem:).it is bit lengthy.

Thanks,

Bhaskar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
830

in smartforms when u insert lines for the two logics means for records and one for terms and condition.

in between that define another line type and in text condition check if itab-customer no = 'ABC' then print that line and also page break command should be executed.

6 REPLIES 6
Read only

Former Member
0 Likes
831

in smartforms when u insert lines for the two logics means for records and one for terms and condition.

in between that define another line type and in text condition check if itab-customer no = 'ABC' then print that line and also page break command should be executed.

Read only

0 Likes
830

Hai Taqir,

thank you very much for your response.

Could you please tell where to put a page break command?

I dont know where to put & how to put.

Thanks,

Bhaskar

Read only

0 Likes
830

hi

as u create table line u can create command on the line. just right click on the table line which u created.

goto create->flowlogic->command.

when u create it then in CONDITIONS tab which is near the GENERAL ATTRIBUTES tab, put ur condition as

in field name give itab-custfield and in comparison value give 'ABC' note that comparison valu should be in commas

Read only

0 Likes
830

Thanks a lot ...

my problem has been solved.

Edited by: Bhaskar M on Feb 23, 2009 2:58 PM

Read only

Former Member
0 Likes
830

Hi:

In the same page of the smartform, you should create 2 main windows.

The first main window would execute for everyone and whenever the particular conditions would come like ABC customer, the next would execute for this, you have to put the condition within condition tab of 2nd window.

Hopefully i have cleared my points and it would helpful to solve your problem.

Regards

Shashi

Read only

Former Member
0 Likes
830

hi,

u can put a command node and in that explicitly mention to new page.