cancel
Showing results for 
Search instead for 
Did you mean: 

smartform table probelm

Former Member
0 Kudos

hi ,

i have designed a layout and did a coding in driver program,but problem is when i fetch docno which contins line items of 68 .

in page 1:

Item Pk Account Account Short Text Assignment Amount Rs. Cost Center Line Item Text

001 40 402202 Salaries 20080531 100BIOTCCO Basic Pay May 08

192,100.00

013 40 402202 Salaries 20080531 100INTELOG Basic Pay May 08

60,700.00

014 40 402202 Salaries 20080531 100INTEMKT Basic Pay May 08

end of page 1.

page 2:

Item Pk Account Account Short Text Assignment Amount Rs. Cost Center Line Item Text

135,000.00

see above my amount is not in same line of items,

and in page1 the 14th entry half of the line is displaying in page 1 and reaminig(amount line) is displaying in second page.

and also it is not showing total no of pages ,here it is showing Pages:1 of *.

can any body help me..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ajay,

1)For the table assign patterns and display the line items.

2)For the page assign the window type as final window .

Regards,

Sravanthi

Answers (8)

Answers (8)

Former Member
0 Kudos

i got the sol

Former Member
0 Kudos

Hi,

Page protection for folder would get disabled if you are placing a table node under it.

Instead you can use a template under a page protcted folder.

Regards,

Ram

Former Member
0 Kudos

but iam using tables here , is there no other way ..to give page protection

Former Member
0 Kudos

Hi,

Hope the problem is bcaz of Column width of Amount, just give sufficient width for the Amount and try.

Regarding the total page numbers, u should follow below 2.

1. Window type where u are printing should be a 'FINAL WINDOW' in General Attributes of the Window.

2. U should give like &SFSY-FORMPAGES(3CZ)& to print the Total No of Pages...

Rgds,

Pavan

Former Member
0 Kudos

thank ,

i got this

Former Member
0 Kudos

Hi,

You can apply page protection at line type level so that an entire row would be displayed in a single page.

For the page number please display the page number in a final window with the additional event 'Only after end of main window' checked in the conditions tab for the window.

Regards,

Ram

Former Member
0 Kudos

Hi,

Please check the below points for coming the whole item in a single line.

1. check the the column lengths and adjust as large width for amount type fields .Increase the table width.

2. Check the textelement corresponding to the amount field (which displaying in next line) 'output options' tab . there select as new cell instead of new line. then it will contiue on the same line of the item. There page protection check box also there. if u want then check for not spliting the item into 2 lines.

Please drag and drop the field&SFSY-FORMPAGES& from system fields . then value will display.

Thanks,

Suma.

Former Member
0 Kudos

Could you please explain clearly i am not getting

Former Member
0 Kudos

Hi....

Reason for data coming in two lines is, column length is not sufficient. So u have to align properly by increasing the length of amount column or decrease the excess length in other columns. U have align it and u must have patience for this.

Then some data in page1 and some data in second page issue wonu2019t come.

Hope this is helpful.

Regards,

KP.

Former Member
0 Kudos

Hi,

I hope you are displaying all the Items in a Table in Main Window. If its not a main window, then please increase the size of the window, both width and height so that Price gets displayed in First page.

If you display the Items in Main Window, Please put a page protection folder before the Table so that there wont be unwanted page breaks.

For Page Number issues, please use System Fields - SFSY-PAGE

Tanx,

Nit.

Edited by: Nitesh Babu on May 18, 2009 10:30 AM

Former Member
0 Kudos

thanks for u r reply,

i created a folder with page protection.

when i saved this,this check box for page protection is disabled..

Former Member
0 Kudos

Hi,

For the page number issue see my reply here. This was posted today

For total number of pages use &SFSY-FORMPAGES(3CZ)&

Regards