‎2006 Jun 08 8:41 PM
Hi..
In my smartform, immediately after the line items display ( for which i used a table in the main window) i need to display some static text and data may be using a template..
My doubt is how do i give the starting position of the template that needs to be displayed immediately after the table contents in the main window as the number of line items is known only at run time...
Can someone please suggest me how to get this solved..
THanks and appreciate your help..
Kanthi..
‎2006 Jun 08 8:43 PM
hi reddy,
no issues you define the template as the direct subnode of the table.
Cheers,
Abdul
Mark all useful answers...
‎2006 Jun 08 8:53 PM
HI,
In the Page just Create a Window which will trigger after the Main Window . in that window just create the Template and use this as you want
Thanks
Sudheer
‎2006 Jun 08 9:00 PM
thanks for your answers...
Can you please let me know where i can find the option to trigger the window after the main window ...
Thanks
Kanthi..
‎2006 Jun 08 9:20 PM
hi reddy..
just place the template in the same main window or create a secondary window after your mainwindow and place the corresponding template.in such case your secondary window will be processed as soon as the main window get processed.you dont need to worry about triggering the processing here..
Cheers,
Abdul Hakim
‎2006 Jun 08 9:35 PM
Thanks Hakim..
So if i create a secondary window immediately after the main window, what should i give the window output options attibues for the upper margin and left margin..
should i leave them blank..
thanks for your answers...
Kanthi..
‎2006 Jun 08 9:39 PM
hi upper margin indicates the space between the prior windor border and your secondary window starter..assign some meaning value..after assigning the value just do the syntax check to ensure that your windows wont get overlapped with eachother.also generate the print preview to see how your layout looks..
I would advice you to go thru the documentation in the knowledge pool http://help.sap.com
Cheers,
Abdul Hakim
‎2006 Jun 08 9:55 PM
Hi Hakim..
I know what the upper margin mean.. but what iam asking in this case is that..
you asked me to create a secondary window after the main window right..
Since the main window has a table in which we are not sure how many line will be there , which means we cannot guess where the main table will end...
So my question was what would be the upper margin for the secondary window that u asked me to create immediately after the main window.. Hope you are catching my question..
Sorry if my question does not make sense...
Thanks,
Kanthi...
‎2006 Jun 08 9:58 PM
i think i understood it now..
So the uppermargin is just the margin following the previous window..
I was under assumption it is the starting position from top of the page..
sorry for misunderstanding..
Thanks,
Kanthi..
‎2006 Jun 08 9:59 PM
Or in such case leave it blank since the main window height will be determined automatically..generate the preview and do syntax check to confirm the same.any issue let me know..
Cheers,
Abdul Hakim