on 10-18-2007 1:04 PM
Dear friends,
I got some question about SUMMING Command in Purchase Order Form. I used SAPScript to implement PO Form and I want to summing the discount value (KOMVD-KWERT). The follows is some of my code.
In the MAIN Windows.
/: SUMMING &KOMVD-KWERT& INTO &SUMTOTAL&
And I have already define &SUMTOTAL& in the include program: ZFM06PTOP of the printed program: ZSAPFM06P.
In the Printed Program.
DATA: sumtotal LIKE komvd-kwert.
but when I debug the Form, the &KOMVD-KWERT& has value, but the value of &SUMTOTAL& is always display as 0.
I don't known why?, could you please advise.
Thank you in advances,
SeMs
hi
good
try this
The SUMMING command is used for accumulating a total value for a program symbol. The command should be specified just once. Then, each time the specified program symbol is formatted, its current value is added into the total symbol. Several program symbols may all be added into a single total symbol.
Syntax:
/: SUMMING program_symbol INTO total_symbol
SAPscript cannot create the field for the total dynamically. The symbol used must be defined in a TABLES structure in the calling program.
reward point if helpful.
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.