Hi,
i try to do assign component like that and i get this dump ,any idea why?
after i doing the assign component commend in the line
<date> = sy-datum.
i get the dump :
field symbols: <date> type sy-datum. ASSIGN is_bound_object TO <ls_object>. ASSIGN COMPONENT 'DATE' OF STRUCTURE <ls_obt> TO <date>. <date> = sy-datum.
the error:
The following are protected from change:
- Character literals or numerical literals.
- CONSTANTS.
- Parameters of the category IMPORTING REFERENCE in functions and
methods.
- untyped field symbols, that have not been assigned a field using
ASSIGN.
- TABLES parameters, if the actual parameter is protected against
changes.
- USING reference parameters and CHANGING parameters in FORMs,
if the actual parameter is protected against changes.
- Access using field symbols if the field assigned using ASSIGN is
partly or completely protected (for example key components of in
table of the type SORTED or HASHED TABLE).
Br
Nina