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.
Overview:
Replacement for Obsolete Statements ABAP Objects