2013 Nov 07 5:13 AM
Hi,
I have created a smartforms for billing document(VF02).....In main window I have created a table to display the DESCRIPTION ,RATE,HOURS,AND AMOUNT for each item in vf02..........but when i execute the smartforms the 2nd item will diplay in next page, but i want the 2nd item in same page ....see attachment for smartforms
2013 Nov 07 5:21 AM
Hi,
Please check the whether have you command like to go to next page.
Also check the Main window and table size.
Arivazhagan S
2013 Nov 07 5:30 AM
hi
first check the table size , give some sample data in that and execute it, ........
i think the table not fit into the page.....
Regards ,
Raju
2013 Nov 07 5:33 AM
Can you please share the layout screen shot of smartform and output. In case you want second line item to be printed on same page you will have to increase size of main window provided there is no page break via command as mentioned eearlier
2013 Nov 07 5:50 AM
2013 Nov 07 5:56 AM
Please form painter screen shot the one you have attached is XML form of smartform. We can check in it but looking at layout will be easier. Increase the Window height and check
2013 Nov 07 6:22 AM
Hi ,
how to attach here screen shot of my layout?
if i increase the hight of main window then then still it shows in 2nd page........like if ihave 3 line item then i got 3 pages and if i have 2 line item then i got 2 pages but my requirement is i want all 3 or 2 item in one page
2013 Nov 07 6:28 AM
Firts check in Main window do you have some page break command..?
Seconldy take a print screen of layout and attach here
2013 Nov 07 6:54 AM
no i don't have any page break command....after putting loop in table i faced the proble.......i have 3 diff stabdard table from where i pick the field and display in my table under main window........i have created a internal table and work area to pass all field of the table under main window.........and putting loop in it_tab into wa_tab.........................................here i cant find option to attach ffile again? how to upload output?
2013 Nov 07 7:05 AM
First save your output on a paint file then use Camera icon to insert atatchment. Do have anything beneath main window any other window.. What is the height of main window which you have kept
2013 Nov 07 7:24 AM
2013 Nov 07 7:28 AM
t
above is the 2nd page of layout.........and previous is 1st page of layoyt
height of main window is 15,00 cm
2013 Nov 07 7:40 AM
How are you making this first header using table header..? Seconldy check in MAIN window main part either you have pressed enter many times for one of text element. Check if for each text elements you do not have preswed enter in classical sap script editor
2013 Nov 07 7:46 AM
Hi,
Just check when you are giving field name in table check where is your cursor....nabheet is right i think u pressed enter many times.. just check
regards,
Ankit
2013 Nov 07 7:55 AM
how to check MAIN window main part that I have pressed enter many time for one text element?
2013 Nov 07 8:10 AM
2013 Nov 07 8:20 AM
no I don't presss any enter in main window...........I think main problem is after putting loop......
becoz I paste another table(from another smartforms which shows each line item ) in main window and it also shows 2nd page.......please check my loop internal table and type and select query
2013 Nov 07 8:30 AM
2013 Nov 07 8:33 AM
I have 2 tables vbrk and vbrp......I created a internal table and work area and adding loop in table of main window it_tab to wa_tab
2013 Nov 07 8:47 AM
Do you have a loop for VBRK also?
It is a header table usually this information is disaplayed in Form header
and then in main you have items
2013 Nov 07 5:41 AM
2013 Nov 07 6:25 AM
2013 Nov 07 8:55 AM
Hi....... u might be created a style
i think the line spacing is not correct in ur style........ check it