Application Development 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: 

How to Calculate total amount in smartform for the below image in sap abap

0 Kudos
250

How to get total for the 4 line item in net amount screenshot given below, and i want total amount as 5,451,271.13 and am get total as 0. can you please resolve this.

4 REPLIES 4

Sandra_Rossi
Active Contributor
116

Based on information you give about your Smart Form (none in fact), --start joke mode-- I can only answer use MS Paint, select the eraser and the pencil to edit your image --stop joke mode--

Please tell us more about your Smart Form so that we can debug it for you!

MateuszAdamus
Active Contributor
116

Hello alagu123

The best way would be to have your printing program take the total amount from the document or calcualte it. Then send it to the Smartform.

Smartform should be responsible for showing the data only, not calculating it.

Kind regards,
Mateusz

abo
Active Contributor
0 Kudos
116

In an ideal world, that is.

In the real one, almost all invoice smartforms I see do some kind of weird recalculation.

abo
Active Contributor
116

sandra.rossi as you know, Paint is only good for integer math: you'll need Photoshop for amount fields 😉