Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table and template in smartforms...

Former Member
0 Likes
890

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..

9 REPLIES 9
Read only

abdul_hakim
Active Contributor
0 Likes
834

hi reddy,

no issues you define the template as the direct subnode of the table.

Cheers,

Abdul

Mark all useful answers...

Read only

Former Member
0 Likes
834

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

Read only

0 Likes
834

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..

Read only

0 Likes
834

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

Read only

0 Likes
834

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..

Read only

0 Likes
834

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

Read only

0 Likes
834

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...

Read only

0 Likes
834

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..

Read only

0 Likes
834

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