SAP OO OBS MOVE 1

Get Example source ABAP code based on a different SAP table
  


ABAP Code Snippet
ARTICLE

Cannot Use the MOVE PERCENTAGE Statement
You cannot use the MOVE PERCENTAGE in ABAP Objects.

In ABAP Objects, the following statement causes an error message:

MOVE c1 TO c2 PERCENTAGE n.
Correct syntax:

DATA l TYPE i.

DESCRIBE FIELD c1 LENGTH l.
l = l * n / 100.
MOVE c1(l) TO c2.
Cause:

If necessary, you can assign a percentage of a field to another field using other statements.