2013 May 20 2:39 PM
Hi expert,
How to extend the table length even when we give single item or multiple items? however the table window size differs based on input & data.
Pl sugges me table windos should be fixed in first page even when we give various input...if the lines items is more than main window it has to go for next page.
Note: Table window should be fixed to bottom window for any type of input & output. it shouldn't be gap...cause based data table window size reduce itself.
Thanks
Savita.
2013 May 21 7:44 AM
Hi Savita,
Go through this link it may help you to resolve your issue :-
http://scn.sap.com/thread/3360347
Regards,
Rahul
2013 May 21 2:19 AM
Hi Savita,
As I understand, your requirement is about the border of the Main Window, that gets adjusted with the data. And if your data is only two rows then your last window and Main Window have a gap in the output. Right?
If this is the case then you can simply create a template in the background with only borders as per your requirement ( aligned with your Main Window Table Layout). This way you will have a skeleton always getting printed however the Main Window may end up any where.
I hope this helps. Please revert in case of issue.
Regards,
DN.
2013 May 21 3:00 AM
Hi,
The main window is fixed its just that the table varies. Go to the output options of the main window and choose the BOX and SHADING options to draw a frame for your main window. then you will see that the table margins are visible inside this box of the main window. Hope this helps.
Cheers,
Arindam
2013 May 21 5:49 AM
Hi Expert,
I have made my table window like header, main & footer. Especially i use footer for total calcualation.. header for title descriptioin. Main is for data flow..
According to you, i created template with created border.
can we keep the table footer on bottom of the template?
Thanks
Savita
2013 May 21 6:39 AM
Hi.
If its a footer for the table i.e. defined within the table it will appear once after the table is complete. If you want to display the footer at each page make it a separate window.
Cheers,
Arindam
2013 May 21 6:42 AM
Hi Savita,
If you use the structure in Main Window, I mean the Header, Main and Footer, then in this case you still have to face issue. the template that I have suggested would get you the skeleton but your footer would end up just after your Main area. I dont think you need this way?
If you need your Footer window to be printed only at the bottom, then you will have to create a Static Window and display the data as required(i mean footer on each page or only after end of Main Window).
Please let me know if you have any issues.
Regards,
DN.
2013 May 21 7:14 AM
Hi Expert,
Instead of creating template with creating border..why don't we create main window border to complete the skelton.. i do have table window border..
Thanks
Savita
2013 May 21 7:51 AM
You can create the border, if this fulfills your requirement. Template will be used in this case is not required but if you need some fixed horizontal or vertical line (Fixed) then in that case you can use template to put a frame on the top of Main window.
2013 May 21 8:01 AM
Hi Rahul,
How to keep footer at bottom..Let it some space above doesn't matter but footer should come down. even after creating template as border with secondary window according to your thread
Thanks
Savita
2013 May 21 7:44 AM
Hi Savita,
Go through this link it may help you to resolve your issue :-
http://scn.sap.com/thread/3360347
Regards,
Rahul
2013 May 21 7:55 AM
Hi Rahul,
Using main window border i covered gap but i need footer should display botton of the main window even giving any type of output.. '
thanks
savita..
2013 May 21 8:44 AM
Hi,
My footer details not showing end of mian window even selected ONLY AFTER END OF MAIN WINDOW. and tiked ONLY AT PAGE BREAK.
tell what to do footer has to display bottom of the main window..
Thanks
savita
2013 May 21 9:17 AM
For footer create a window type "Final". Do the calculation in main window for the result or in initialization. Depending on your requirement.
add these condition to condition Tab under Final window.
SFSY-FORMPAGE = SYSY-FORMPAGES. (This will trigger only on last page)
You can check the same by putting default value .
Regards,
Rahul
2013 May 21 9:55 AM
hi Rahul,
I have created all with main window and under footer line...used checed page at break and only after end of main...but my footer is not showing in the end of main window..
thanks
saitha
2013 May 21 9:56 AM
Hi Rahul,,
I wanted to trigter the total calculation end of main window...which is in main window..
thanks
Rahul
2013 May 21 11:03 AM
Hi Rahul,
I have alread created footer under main window with total text etc..Should i move all text into new footer window then you condition..right..
Thanks
Savita
2013 May 21 11:03 AM
Could you elaborate more ?
Note:- Try to explain your issue in much better way as to receive better Solution.
1.You need to check whether the calculation is being done or not, Use debugger.
2. Set a break point by applying program lines in footer.
3.check the same by applying hard code values.
2013 May 21 11:17 AM
Hi Rahul,
I need to keep footer end of main window either one line items or 2 or 5 it should display
end of main window..
As of now, it gets huge gap after total displaying to avoid it should display end of main window..
Thanks
Savita
Hopes help you
2013 May 21 11:33 AM
Yes, You need to store all the values in the variables and need to display the same in the final window with the condition I mention above .
2013 May 21 1:01 PM
Hi Rahul,
I have created a new template under final window with storing variables the same as in main window. Also deleted the footer line in the main window.
Note: The condition you mentioned which is not accepting and it sfsy may wrong system fields..if possible can you explian about that?
Thank for your valuable suggestion
Thanks
Savita
2013 May 21 1:30 PM
You need to apply the condition when number of pages equals to number of page.
yes you were right you need to apply.
SFSY-PAGE = SFSY-FORMPAGES
So, if there are 3 pages
A). On page 1 condition will be
1 = 3 which will be false.
B). On page 2 condition will be
2 = 3 which will be false.
C). On page 3 condition will be
3 = 3 which will be True.
And on this condition the final window will be displayed.
Regards,
Rahul