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,