ABAP SUM statement with Internal Table loop

SUM statement in ABAP programming is used for calculating the total of field values in an internal table. It can be used only inside of a LOOP .. ENDLOOP statement. It will work only with valid numbers like integers, decimals or float. SUM statement should appear inside of  AT … ENDAT control block in an internal table loop.

Its Syntax


Main run-time errors with SUM statement

Sample program with SUM statement

ABAP SUM statement

SAP ALECRMSCMSRMSAP Solutions SAP ReferencesSAP BasicsPP ModuleWMSAP Partners
HomeContact & Privacy PolicyTwitter
All of the product names here are trademarks of their respective companies. The site is not affiliated with SAP AG.