Ansicht
Dokumentation
ABENOO_OBS_PACK_2 - OO OBS PACK 2
General Data in Customer Master TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
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.
ABAP Short Reference CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 816 Date: 20240329 Time: 030500 sap01-206 ( 19 ms )