2006 May 31 7:26 AM
Hi all,
I am getting one problem in smart form. I have selection Creteril like this
Flight Number(Range)
Dep.Time
:
Each flight information should come on new page.
I tried by made COMMAND node, selected checkbox,go to next page, but I couldn't over come my problem.
can anyone please help me in this concept?
Regards,
vasu
Hi all,
I am getting one problem in smart form. I have selection Creteril like this
Flight Number(Range)
Dep.Time
:
Each flight information should come on new page.
I tried by made COMMAND node, selected checkbox,go to next page, but I couldn't over come my problem.
can anyone please help me in this concept?
Regards,
vasu
2006 May 31 7:38 AM
Hi Vasu,
Try this
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = g_form
IMPORTING
fm_name = g_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
loop at flight number.
CALL FUNCTION g_fm_name
EXPORTING
control_parameters = g_control
output_options = g_output
user_settings = ' '
pass your variable here from the print program that you want in layout.
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
endloop.
2006 May 31 7:42 AM
Hi,
put within your main window node a page-node and right after that an new-page command and print your line per page.
Cheers,
Stefan.
2006 May 31 10:11 AM
Dear Stefan,
Thank you for your kindly response. I am papulating internal table with all data( Multiple Flight numbers) and passing to smartform at once.
My internal table structre is like this
________________________________________________
flnum Aircode Date Pax number
________________________________________________
1001 US01 10/12/2005 Pds32
1001 US01 10/12/2005 Pds32
1002 US01 10/12/2005 Pds32
1002 US01 10/12/2005 Pds32
In smartform I have to display flnum 1001 in first page,
1002 fligt information on second page.
Can you please give me detail idea, how to over come this?
Warm Regards,
Vasu
2006 May 31 7:45 AM
HI
GOOD
YOU HAVE NOT GIVEN ANY SAMPLE CODE,I HOPE YOU R GETTING SOME PROBLEM IN PAGE BREAK,SO HERE I AM GIVING SOME TIPS IN PAGE BREAK,JUST GO THROUGH THEM.
PAGE BREAK=>
Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node.
GO THROUGH THIS LINK
http://72.14.203.104/search?q=cache:SstA1qI1DEYJ:myweb.dal.ca/hchinni/sap/smartforms/SmartForms.docPAGEBREAKINSMARTFORMS,+SMARTFORMS&hl=en&gl=in&ct=clnk&cd=9
THANKS
MRUTYUN
2006 May 31 8:07 AM
Hi Vasu,
In smarforms, create a window in the new page and put the datas to be displayed in that window. Create a loop for that window.
That should work fine.
Balaji
2006 May 31 10:12 AM
Dear Stefan,
Thank you for your kindly response. I am papulating internal table with all data( Multiple Flight numbers) and passing to smartform at once.
My internal table structre is like this
________________________________________________
flnum Aircode Date Pax number
________________________________________________
1001 US01 10/12/2005 Pds32
1001 US01 10/12/2005 Pds32
1002 US01 10/12/2005 Pds32
1002 US01 10/12/2005 Pds32
In smartform I have to display flnum 1001 in first page,
1002 fligt information on second page.
Can you please give me detail idea, how to over come this?
Warm Regards,
Vasu
2006 May 31 10:13 AM
Dear Stefan,
Thank you for your kindly response. I am papulating internal table with all data( Multiple Flight numbers) and passing to smartform at once.
My internal table structre is like this
________________________________________________
flnum Aircode Date Pax number
________________________________________________
1001 US01 10/12/2005 Pds32
1001 US01 10/12/2005 Pds32
1002 US01 10/12/2005 Pds32
1002 US01 10/12/2005 Pds32
In smartform I have to display flnum 1001 in first page,
1002 fligt information on second page.
Can you please give me detail idea, how to over come this?
Warm Regards,
Vasu
2006 Jun 01 5:19 AM
Hi Vasu,
Did got any solution for this problem. Even, I too need a solution for the same type.
If u got any solution, pls let me know. My mail id is [email protected]
Regards,
MARK K