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

how to do summing in sap scripts form layout text element

Former Member
0 Likes
551

i got problem of calculating the sum of amount and had to display in the words in the layout its spell_amount can be used in the layout of using subroutine

i got problem of calculating the sum of amount and had to display in the words in the layout its spell_amount can be used in the layout of using subroutine

3 REPLIES 3
Read only

Former Member
0 Likes
508

Hi sarath,

1. In the driver program itself,

we have to take a variable

(for amount in words)

2. pass it to the FM SPELL_AMT

3. then use this variable in the layout.

regards,

amit m.

Read only

Former Member
0 Likes
508

Sarath,

You can calculate summing in SAPSCRIPT layout by using the syntax SUMMING <var1> into <var2>.

regards

Read only

0 Likes
508

if u want to use perform for spell_amount...

u have to do all the select operation in perform and find out the total amount in perform than u can convert it to words.