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

main Window in smart forms

former_member1716
Active Contributor
0 Likes
9,229

Hi all experts,

I have a main window to be desingned as below,

1)As you see i have  four columns and fourth column is divide in to three again(unit price,total price and tax).

2)in th footer there are so many fields as given in the image above, in that sub total is sum of total, then tax is sum of tax and invoice total is sum of both sub total and tax.

3)Exchange rate note on left is taken form a table.

Can you pls help me desiging this main window in smart form. Please note that all my logic must not be in smartform it should be in driver program.

Message was edited by: Jason Lax.

1 ACCEPTED SOLUTION
Read only

VijayCR
Active Contributor
0 Likes
8,588

Hello Satish,

In the second templete there is no possibility of divinding the third colum into two so better create another window and try to print in that as this only total amount and it occur at last

Thanks,

Vijay.

Hello Satish,

In the second templete there is no possibility of divinding the third colum into two so better create another window and try to print in that as this only total amount and it occur at last

Thanks,

Vijay.

15 REPLIES 15
Read only

Former Member
0 Likes
8,588

Hi Satish,

Check check demo example SF_EXAMPLE_02. Let me know by when you need to complete  this task.

Regards,

Praveen

Read only

0 Likes
8,588

Hi sai,

Thanks for the info,my deadline is within a couple of days Sai that is by tomorrow EOD.

Read only

0 Likes
8,588

Hi Satish Kumar Balasubramanian

In smartform you used table or templet?

if table try like this

in main area for Row1 maintain %ltype1 and for row 2 %ltype2

Read only

VijayCR
Active Contributor
0 Likes
8,588

Hello Satish,

Use two templetes.It will solve your issue and you can solve.

for the second templete you can use two windows and over the one on another it will solve your requiremnt.As using templetes we can divide only vertically not horizantally.

Thanks,

Vijay.

Read only

sivaganesh_krishnan
Contributor
0 Likes
8,588

Hi satish,

1. First create a page , then create header window. inside that window -> create a template -> draw the header just like in your image.

then added text  inside the header window and assign the text to the template component by specifiying the output structure in output options tab of text.

2. Inside the main window , create a table . you can also total the sum by using the calculation tab.

3. same way like creating the header , create a template inside the footer window and you can set at the end of main window checkbox in condition tab of footer window ,if you want to display the footer only at the end of main window..

To have a detailed understanding , see this link

SMARTFORMS - Step by Step Tutorial | SCN

Read only

0 Likes
8,588

Hi Siva,

Please note that the above image is for main window only. In the main window i should have all those details.

Read only

0 Likes
8,587

Hi satish,

Yes you can create it , in a main window . While creating the table , draw the layout such that it will be like the above figure that u except.

Read only

Former Member
0 Likes
8,587

Hi Satish,

Create a Table, which has different line types.

Divide the Columns according to your requirement in Each Line Type.

By Observing the diagram i can say a single linetype will be enough for the Items.

And two line types for Header and Footer as they have sub dividings in them.

Hope this helps.

Regards,

Vinay Mutt

Read only

0 Likes
8,586

Hi..............

pls upload the below attach xml it will  solve ur issue.....

Read only

0 Likes
8,586

Hi soumik,

Thanks for your interest, can you help me on how to attach this because this XML is new for me.

Read only

0 Likes
8,586

Hi Satish Kumar Balasubramanian

In Smartforms t-code create one smartform and upload like this

Read only

0 Likes
8,586

Hi Sowmik this was very useful,

But what pattern should i select.

Read only

Former Member
0 Likes
8,585

Dear Bala,

            Try this layout there are three lines.

In the table header use the first two line types(%LTYPE1,%LTYPE2).

in the line type (%LTYPE1) use col1,col2 col3(Quality and) , col5(line charge).

in the line type (%LTYPE2) use the col3(UOM),col4(unit price),col5(total price),col6(tax amount)

and in the main area use the third line type(%LTYPE3) use your work area variable.

In the footer use the fourth line type(%LTYPE4)( use in the footer use it for three rows and achive you goal .

your problem will resolved.

here is the result.

Read only

VijayCR
Active Contributor
0 Likes
8,589

Hello Satish,

In the second templete there is no possibility of divinding the third colum into two so better create another window and try to print in that as this only total amount and it occur at last

Thanks,

Vijay.

Read only

former_member1716
Active Contributor
0 Likes
8,585

Hello all,

Finally i was able to complete my task as per my requirement, Thanks for all your support.

@ramesh,siva,sheik--> thank you for your intereset, have learnt few technics with your ideas.

@Vijay-->Thanks for your concern and helping in finish my requirement

Thank u to SCN and all once again.