SAP Tutorials Blog


 


Suppressing Blanks

The NO-ZERO command follows the DATA statement. It suppresses all leading zeros of a number field containing blanks. The output is usually easier for the users to read.


Example

REPORT Z_Test123_01. 


DATA: W_NUR(10) TYPE N.

      MOVE 50 TO W_NUR.

      WRITE W_NUR NO-ZERO.



Serkan AKKAVAK

Computer Engineer BSc

SAP Department Manager

Contact : serkurumsal@yandex.com