INCLUDE
ARTICLE
Cannot Use PACK
You cannot use the PACK statement to pack character-like fields
in ABAP Objects.
In ABAP Objects, the following statements cause an error message:
DATA: c1(...) TYPE c,
p1(...) TYPE p.
PACK c1 TO p1.
Correct syntax:
DATA: c1(...) TYPE c,
p1(...) TYPE p.
MOVE c1 TO p1.
Cause:
The PACK statement is superfluous, since it works just like the
MOVE statement when you assign a character-like field to a packed
number.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved