Symptom
While exporting table data of ALV the below dump arises in the system.
Category ABAP programming error
Runtime Errors GETWA_NOT_ASSIGNED
ABAP: Program CL_SALV_BS_AGGREGATION========CP
Application Component BC-WD-CMP-ALV-ABA
Short Text
Field symbol has not been assigned yet.
What happened?
Error in the ABAP application program.
The current ABAP program "CL_SALV_BS_AGGREGATION========CP" had to be
terminated because it found a
statement that could not be executed.
Error analysis
An attempt was made to access a field symbol that has not been assigned
yet (data segment number "-1").
That error occurs if
- a typed field symbol is addressed before it has been set with ASSIGN,
or
- a field symbol is addressed that points to a row in an internal table
that has been deleted, or
- a field symbol is addressed that was previously reset using UNASSIGN,
or that pointed to a local field that no longer exists, or
- a parameter of a global function interface is address, although the
corresponding function module is not active (is not in the list of
active calls). The list of active calls can be taken from this short
dump.
Termination in the code:
87 clear ls_measure.
88 ls_measure-name = ls_list_aggr-fieldname.
89 ls_measure-value = <name_value>.
90 if not ls_list_aggr-rel_fieldname is initial.
91 ls_measure-rel_name = ls_list_aggr-rel_fieldname.
>>>>> ls_measure-rel_name_value = <rel_name_value>.
93 endif.
94 ls_measure-node_count = 1.
95 ls_measure-nodekey = next.
96 ls_measure-aggrtype = ls_list_aggr-aggregation_type.
97 ls_measure-type_kind = ls_list_aggr-type_kind.
98 if ls_list_aggr-type_kind eq CL_ABAP_TYPEDESCR=>TYPEKIND_FLOAT.
Read more...
Environment
- Web Dynpro ABAP
- ALV
- ABAP PLATFORM - Application Server ABAP (SAP_UI 758)
Product
Keywords
Web Dynpro, Webdynpro, Web Dynpro ABAP, WDA, WDA_GDPR, ALV, table, data, export, exportieren, xlsx, excel file, excel, spreadsheet, Tabelle, Tabellenkalkulation, SAP GUI, GETWA_NOT_ASSIGNED, CL_SALV_BS_AGGREGATION========CP, dump, ST22 , KBA , BC-WD-CMP-ALV-ABA , ALV for ABAP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.