2009 Feb 23 11:17 AM
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.
2009 Feb 23 11:39 AM
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.
2009 Feb 23 11:39 AM
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.
2009 Feb 23 11:43 AM
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
2009 Feb 23 12:04 PM
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
2009 Feb 23 1:35 PM
Thanks a lot ...
my problem has been solved.
Edited by: Bhaskar M on Feb 23, 2009 2:58 PM
2009 Feb 23 11:53 AM
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
2009 Feb 23 11:56 AM
hi,
u can put a command node and in that explicitly mention to new page.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |