Saturday, December 18, 2010
REPORT ztest_notepad.
DATA: l_data1 TYPE mard-labst VALUE '1008.123',
    l_data2 TYPE p.
"Rounding to Lower value
MOVE l_data1 TO l_data2.
WRITE:l_data2.

DATA: l_data3 TYPE mard-labst VALUE '1008.834',
      l_data4 TYPE p.
"Rounding to Upper value
MOVE l_data3 TO l_data4.
WRITE:/ l_data4.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.