Symptom
When double clicking a (subtotal) line in the result list of the VA05, system should jump to VA02/VA03 to change/display sales order, however the following dump is triggered:
Category ABAP programming error
Runtime Errors GETWA_NOT_ASSIGNED
ABAP: Program CL_SDOC_FUNCTION==============CP
Application Component SD-SLS-GF
Date and Time 17.07.2025 10:09:46 (CET)
...
Source Code Extract
Line Code
1 method goto_document.
2
3 constants:aendern(2) value '02'.
4
5 data: lv_index type int4.
6 data: lv_active type c.
7
8 field-symbols:
9 <mt_result> type standard table.
10
11 if it_selected_rows is initial.
12 message e022(vr).
13 endif.
14
15 get parameter id 'DISPLAY_SDOC_RE_NAVI' field lv_active.
16
17 assign ir_result->* to <mt_result>.
18
19 read table it_selected_rows into lv_index index 1.
20
21 read table <mt_result>
22 assigning field-symbol(<ls_result>)
23 index lv_index.
24
25 assign component 'VBELN' of structure <ls_result> to field-symbol(<lv_vbeln>).
26 assign component 'POSNR' of structure <ls_result> to field-symbol(<lv_posnr>).
27 assign component 'AUART' of structure <ls_result> to field-symbol(<lv_auart>).
>>>>> authority-check object 'V_VBAK_AAT'
29 id 'AUART' field <lv_auart>
30 id 'ACTVT' field aendern.
31 if sy-subrc = 0.
32 assign component 'VKORG' of structure <ls_result> to field-symbol(<lv_vkorg>).
33 assign component 'VTWEG' of structure <ls_result> to field-symbol(<lv_vtweg>).
34 assign component 'SPART' of structure <ls_result> to field-symbol(<lv_spart>).
35 authority-check object 'V_VBAK_VKO'
36 id 'VKORG' field <lv_vkorg>
37 id 'VTWEG' field <lv_vtweg>
...
Active Calls/Events
No. Ty. Program Include Line
Name
25 METHOD CL_SDOC_FUNCTION==============CP CL_SDOC_FUNCTION==============CM005 28
CL_SDOC_FUNCTION=>GOTO_DOCUMENT
24 METHOD CL_SDOC_FUNCTION==============CP CL_SDOC_FUNCTION==============CM002 7
CL_SDOC_FUNCTION=>IF_SDOC_FUNCTION~EXECUTE
23 METHOD CL_SDOC_VIEW==================CP CL_SDOC_VIEW==================CM00D 5
CL_SDOC_VIEW=>ON_DOUBLE_CLICK
22 METHOD CL_SALV_EVENTS_TABLE==========CP CL_SALV_EVENTS_TABLE==========CM001 3
CL_SALV_EVENTS_TABLE=>RAISE_DOUBLE_CLICK
21 METHOD CL_SALV_GUI_OM_ADAPTER_TABLE==CP CL_SALV_GUI_OM_ADAPTER_TABLE==CM009 18
...
Read more...
Environment
- Sales And Distribution (SD)
- SAP S/4HANA
- SAP S/4HANA Cloud Private Edition
Product
Keywords
VA05, GETWA_NOT_ASSIGNED, CL_SDOC_FUNCTION, subtotal, GOTO_DOCUMENT, ls_selfield-tabindex, s_row-index,SAPLSLVC_FULLSCREEN, LSLVC_FULLSCREENEVT, HANDLE_DOUBLE_CLICK , KBA , SD-SLS-GF-RE , Reporting , 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.
SAP Knowledge Base Article - Preview