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

Total in smartforms

Former Member
0 Likes
660

Hi,

Iam working in smartforms. How can i get subtotals for each salesorder and below format in smartforms.could you please explain use of calculation tab in table.

for example

salesorderno itemno materialno nerprice

4969 000010 P-109 5.500,00

5.500,00

4970 000010 M-01 1.630,00

000020 M-02 4.000,00 5.630,00

Regaards,

Suresh.

Edited by: suresh m on Jun 25, 2008 8:15 AM

Edited by: suresh m on Jun 25, 2008 8:16 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
623

Hi Suresh,

In Loop you can put the Command line and calculate the subtototal. and Print it in the text.

&**********Reward Point if helpful*************&

5 REPLIES 5
Read only

Former Member
0 Likes
623

In footer you can create program lines and write some code here for sub totals.

Amit.

Read only

Former Member
0 Likes
624

Hi Suresh,

In Loop you can put the Command line and calculate the subtototal. and Print it in the text.

&**********Reward Point if helpful*************&

Read only

0 Likes
623

How can i get the below format.

salesorderno itemno materialno nerprice

4969 000010 P-109 5.500,00

5.500,00

4970 000010 M-01 1.630,00

000020 M-02 4.000,00

5.630,00

Regards,

Suresh.

Read only

0 Likes
623

in the loop, use the at end of matnr....endat. statement and then print the output.

hope this will help you.

Read only

Former Member
0 Likes
623

Hi ,

In smart form you can use control break functionality.

Use " event on sort End" to get sub totals.

Check the following link with screen shots to get the above functionality.

http://saptechnical.com/Tutorials/Smartforms/ControlBreak/demo.htm

Regards,

Jaya Vani.