Ansicht
Dokumentation

ABENOO_OBS_PACK_1 - OO OBS PACK 1

ABENOO_OBS_PACK_1 - OO OBS PACK 1

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

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.






CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 816 Date: 20240425 Time: 133205     sap01-206 ( 13 ms )