SAP UNASSIGN ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID UNASSIGN
• UNASSIGN ABAP Statement

UNASSIGN
Short Reference

ABAP_SYNTAX
UNASSIGN <(><)>.

What does it do?
This statement initializes the field symbol <(><)>. After the statement, the field symbol does not reference a memory area and the predicate expression <(><)> IS ASSIGNED is false.



Latest notes:

The statement CLEAR <(><)> does not initialize the field symbol and the memory area that is assigned to the field symbol is initialized instead.
Unlike the initialization of reference variables, the statement UNASSIGN does not affect the Garbage Collector.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
A field symbol to which a memory area is assigned is initialized with UNASSIGN.
ABEXA 00748
ABAP_EXAMPLE_END

Return to menu