GETWA_NOT_ASSIGNED error in CL_UC_MANUAL_DOCUMENT_GUI
Hello,
I am receiving the GETWA_NOT_ASSIGNED runtime error in program CL_UC_MANUAL_DOCUMENT_GUI when trying to view a specific BCS document from the "List of Journal Entries" output (UCWB or UCMON). The error only occurs when trying to view two specific interunit elimination document types (other elimination documents have no problem). Based on what I could find from existing notes, I thought that the problem might be related to incorrect entries being stored in the buffer. However, the corrections for OSS notes 914672 and 982402 have been applied but I am still receiving the error.
System Info:
SAP_BW 350: SAPKW35019
SEM_BW 400: SAPKGS4015
Program: CL_UC_MANUAL_DOCUMENT_GUI
Method: SWITCH_PLACE_KFIG_UNIT
Code:
80 * i_docflg = 'X':
81 * .key figure is posted by doc. type
82 * .model supports key figure that is posted by doc. type (has
83 * been verified after reading doc. type properties)...
84 * -> both <ls_fprop_kfig> and <ls_fprop_unit> are assigned
85 * and <> init
86 * ...prepare kfig entry...
>>>>> move-corresponding <ls_fprop_kfig> to ls_mdoc_fprop_kfig.
88 ls_mdoc_fprop_kfig-component = gc_comp_docline.
89 * begin of deletion "wms012788d
90 * if <ls_fprop_unit>-totals is initial.
91 ** -> unit field is NOT contained in totals (s_char), i.e. an
92 ** substitute field in s_addchar is required, depending
93 ** on role of key figure...
94 * case i_role_kfig.
95 * when uc00_cs_role-tcval.
96 * ls_mdoc_fprop_kfig-unit_fld = GC_FNAME_TCKEY.
97 * when uc00_cs_role-lcval.
98 * ls_mdoc_fprop_kfig-unit_fld = GC_FNAME_lCKEY.
99 * when uc00_cs_role-gcval.
100 * ls_mdoc_fprop_kfig-unit_fld = GC_FNAME_gCKEY.
101 * when uc00_cs_role-quval.
102 * ls_mdoc_fprop_kfig-unit_fld = GC_FNAME_quKEY.
103 * endcase.
104 * endif.
105 * end of deletion "wms012788d
106 * begin of insertion "wms012788d
Many thanks in advance for any assistance with this issue.
Samir
Hello Eugene,
Thank you for the response.
The error occurs in a production environment. The customer has been using BCS since July 2007 but there have not been any elimination entires of the two document types until this past month. That we haven't seen these elimination entries until now was due to the nature of the source data and not due to any newly added configuration.
Samir
Similar Messages
-
GETWA_NOT_ASSIGNED error while scheduling job through F9
Hi All,
i am getting <b>GETWA_NOT_ASSIGNED</B> dump while scheduling a job through F9 and giving local printer as LP01.
any pointers regarding this ?
thanks
kunal kishanHi Ankesh,
can you please elaborate on this.???
Basiclly when i am trying to schedule a job by pressing F9 and setting it to immediate. when i chek in SM36, the job gets cancelled. The dump says "GETWA_NOT_ASSIGNED" error. The source code where the error is soming is a refresh statement. -
GETWA_NOT_ASSIGNED error while running abap prog in process chain
Hi.
I am getting a runtime error GETWA_NOT_ASSIGNED while running an ABAP program in process chain.
But when i execute pro in SE38 , it's not giving any error.
Please any one can suggets what will be error.Hi,
i also used to get error for a program executed through process chain but when it is executed in se38 it used to work... that is because my program try to access a application server folder and reads the file from there... the authorisation to this is not proper through process chain ..... once authorisation to the folder was given properly .. i am able to run...
Such things can happen in your case also... Try to analyse the dump in st22.... what happened ...
Regards
vamsi -
Update was terminated - Getwa_not_assigned error
Hello,
When I try to create Invoice through VF03, Created invoice number is displayed but when I look for it again, It does not exist. I get Express information "Update was terminated".
I looked in SM13 it shows description as Getwa_not_assigned. Its related to field symbol in a print program. Attempt to access an unassigned field symbol.
However, It does not seem to be print program coding problem. but I could find out that NAST table is not being updated.
Can you please tell me possible cause of update termination error?Hi ,,
If that particular FieldSymbol was asigned..you would not have got that problem..
Just confirm, the assignment for that FieldSymbols..you may get some clue there..
Thanks
Praveen -
GETWA_NOT_ASSIGNED error while running abap prog
Hi.
I am getting a runtime error GETWA_NOT_ASSIGNED while running an ABAP program in process chain.
But when i execute pro in SE38 , it's not giving any error.
Please any one can suggets what will be error.Hello, could you please send more detailed information or copy the whole dump in the thread?
Thanks,
Walter Oliveira. -
Getwa_not_assigned - error in grid display - when trying for list output
Hi all,
i have searched the SDN before posting and tried all the possibilites given in the forum.
my problem is
data gr_alvgrid type ref to cl_gui_alv_grid.
data: gc_custom_control_name type scrfname value 'CC_ALV'.
data gr_ccontainer type ref to cl_gui_custom_container.
data: gt_fieldcat type lvc_t_fcat.
data gs_layout type lvc_s_layo.
data: begin of gt_itab_alv occurs 0,
lifnr type char10, "ekko-lifnr, " vendor
ebeln type ekpo-ebeln, " purchase order
aedat type ekko-aedat, " order date
ebelp like ekpo-ebelp, " item
matnr like mara-mfrpn, " material part no.
end of gt_itab_alv.
in field cat preparation
perform prepare_fieldcat changing gt_fieldcat.
form prepare_fieldcat changing pt_fieldcat type lvc_t_fcat. "M24
data ls_fcat type lvc_s_fcat.
ls_fcat-fieldname = 'LIFNR'.
* ls_fcat-ref_table = 'EKKO'.
* ls_fcat-ref_field = 'LIFNR'.
ls_fcat-inttype = 'C'.
ls_fcat-outputlen = '12'.
ls_fcat-coltext = 'Vendor'.
ls_fcat-seltext = 'Vendor'.
append ls_fcat to pt_fieldcat.
clear ls_fcat.
endform.
CALL METHOD gr_alvgrid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_outtab = gt_itab_alv[]
it_fieldcatalog = gt_fieldcat
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
IF sy-subrc <> 0.
ENDIF.
i am trying to change it to list output - it is giving the getwa_not_assigned dump error.
when i try to do it for one field also, it is giving the same error.
kindly help me.
thanks and regards,
Sakthi Sri.The Problem is with the layout and not with the field cat preparation.
I gave colours to the layout and now i have changed it to the zebra and the problem solved by me. -
Hi All,
I am using the Fm REUSE_ALV_GRID_DISPLAY to display output in the ALV grid.
I am getting the following error
"Field symbol has not yet been assigned."
Error analysis
You attempted to access an unassigned field symbol
(data segment 32820).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
that has been deleted
- You address a field symbol that had previously been reset using
UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
though the relevant function module is not active,
that is it is not in the list of active calls. You can get the list
of active calls from the this short dump.
I used the Fm as :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = 'X'
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = t_layout
IT_FIELDCAT = ls_slis_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_output
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Any help on this would be appreciated,
Thanks in advance.
Sharat.This is the error i get when i try to read the input data entered on the ALV grid. The code shown is from the class cl_gui_alv_grid.
183 translate ls_cells_temp-value to upper case. "#EC TRANSLANG
184 assign ls_cells_temp-value to <l_currency>.
185 else.
186 assign ls_cells_temp-value to <l_currency>.
187 clear <l_currency>.
188 endif.
189 if <l_currency> is initial.
190 assign component ls_fieldcat-qfieldname
191 of structure <ls_wa> to <l_currency>.
192 endif.
193 if <l_currency> is initial.
194 assign ls_fieldcat-QUANTITY to <l_currency>.
195 if sy-subrc ne 0.
196 assign space to <l_currency>.
197 endif.
198 endif.
199 endif.
200 else.
201 if not ls_fieldcat-currency is initial.
202 assign ls_fieldcat-currency to <l_currency>.
203 elseif not ls_fieldcat-quantity is initial.
204 assign ls_fieldcat-quantity to <l_currency>.
205 else.
206 assign space to <l_currency>.
207 endif.
208 endif.
209
210 * If field has not DDIC referencen
211 if ls_fieldcat-ref_table is initial.
212 *-- Formal field check without DDIC reference
>>>> call method me->formal_field_check_no_ddic
214 exporting
215 i_currency = <l_currency>
216 i_value = ls_cells-value
217 i_row_id = ls_cells-row_id
218 i_tabix = l_tabix
219 is_fieldcat = ls_fieldcat
220 importing
221 eflg_invalid = eflg_invalid
222 changing
223 c_field = <l_field>
224 ct_good_cells = et_good_cells
225 ct_mod_cells = et_mod_cells.
226 else.
227 *-- Formal field check with DDIC reference
228 call method me->formal_field_check_ddic
229 exporting
230 i_currency = <l_currency>
231 i_value = ls_cells-value
232 i_row_id = ls_cells-row_id -
Dump GETWA_NOT_ASSIGNED in ALV
Hi,
i created a new ALV and when i want to export the data to Word document or local file, every format except Excel format (it's work !) i have a dump with GETWA_NOT_ASSIGNED error.
I looked this error on SDN and people talk about field catalogue i check it and it's ok, all fields are uppercase.
Thanks for help.
Cheers.Thanks for your answer, it exists an SAP Note : 915887 but my customer is in 4.6 version (sic). I'm going to try FM REUSE_ALV_FIELDCATALOG_MERGE.
Other possibility, can i delete the export option, in fact the users need only Excel export and it's work.
Cheers. -
Hi all,
In LT06 transaction, after Generate TO Item, we try to save document. However we get "GETWA_NOT_ASSIGNED" error.
Information on where terminated
Termination occurred in the ABAP program "SAPLLPRI" - in "PROTO_TAB_READ".
The main program was "RLVSDR00 ".
In the source code you have the termination point in line 523
of the (Include) program "LLPRIF00".
Unfortunately i couldn't find any proper OSS note or another solution.
I am looking for your recommends.
Thanks a lot.
KaanHi Fren, I am getting the same error after the upgrade from 4.7 to 6.0.
for
ZRLVSDR00
it gives error on
IF i_create_itab = con_x.
I got your solution but it was for RLVSDR00. How do I need to prooced for ZRLVSDR00.
Looking forward to hear from you.
Regards,
Ranjan A -
Short dump because of start routine.
Hi ,
I have a start routine to delete the certain records of Source package based on some condition .
My code is supposed to delete the source package when the 0DOC_CATEG ( Documant category )
is equal to 'B' or 'G'.Below is my code :
LOOP AT SOURCE_PACKAGE into <SOURCE_FIELDS> .
*IF <SOURCE_FIELDS>-DOC_CATEG EQ 'B'
*OR <SOURCE_FIELDS>-DOC_CATEG EQ 'G'.
DELETE SOURCE_PACKAGE from <SOURCE_FIELDS> .
ENDIF.
ENDLOOP.
There is no synatx error but at the runtime when executing DTP, it throws short dump.
Could somebody tell me what is the issue and if there is any alternate way of code .
Thanks,
VelsHi siggi,
The short dump is as follows:
Runtime Errors GETWA_NOT_ASSIGNED
Error analysis
You attempted to access an unassigned field symbol
(data segment 32774).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump. -
Appending Rows To Editable ALV Grid
Hi,
I have a requirement to allow users to append rows to ALV grid in order to insert new data. The standard append button works to add the row on the front end, however, when I go to process the row through the DATA_CHANGED event of the CL_GUI_ALV_GRID class the program errors out with a GETWA_NOT_ASSIGNED error.
Any help or examples of programs utilizing the Append button would be much appreciated.
Thanks,
Brian SHi,
check this demo program <b> BCALV_EDIT_04</b>
regards
Vijay -
Explicit Search Helps Short-Dump in Editable ALV with included structure
I have an editable ALV grid defined as follows:
TYPES: BEGIN OF gs_outtab200.
TYPES: row_indx(4) TYPE n.
TYPES: multipurp TYPE c.
INCLUDE structure zxrfwc_test.
TYPES: end of gs_outtab200.
DATA:
gt_outtab200 TYPE TABLE OF gs_outtab200,
wa_outtab200 TYPE gs_outtab200.
The included structure zxrfwc_test has a component (field) which is defined with a data element that has an explicit search helps associated with it.
I know that this search help is working properly because it works fine in the program's selection screen.
But when I invoke the search help from within a column of the ALV itself, I get a short dump with a "GETWA_NOT_ASSIGNED" error.
I have done plenty of editable ALVs with search helps defined on the data elements and never encountered this problem.
Am I hitting this problem because the zxrfwc_test structure is defined within the
gs_outtab200 structure ??
If not, what is causing this problem. (Please note that I have set ls_fcat-F4AVAILABL = 'X' in the fieldcat routine - this doesn't seem to help at all.)
Please advise!!!!
I'm really stuck on this one because it's always worked before when I'm not dealing with a dictionary structure that's included within a larger ALV structure.
Thanks.Hi,
How you are creating your field catalog?
Try to create a field catalog in the following way giving reference to your structure. is it possible for you create a DDIC structure as same as
TYPES: BEGIN OF gs_outtab200.
TYPES: row_indx(4) TYPE n.
TYPES: multipurp TYPE c.
INCLUDE structure zxrfwc_test.
TYPES: end of gs_outtab200.
* Form f_generate_fieldcatalog *
* Form generate the field catalog table *
form f_generate_fieldcatalog.
* Private variable
data : v_structure like dd02l-tabname. " Table Name
v_structure = c_yatt_alv. " Structure Name
* Build the fieldcat according to DDIC structure YATT_ALV:
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = v_structure
i_client_never_display = c_x
changing
ct_fieldcat = i_fieldcat[].
endform. " F_generate_fieldcatalog
a® -
BCS: Manual posting customizing
Hi Everybody!!
While I was launching a manual posting task for interco eliminations a dump error has occurred. Below, I attach the dump message:
<i>Runtime Errors DATREF_NOT_ASSIGNED
Error in the ABAP Application Program
The current ABAP program "CL_UC_MANUAL_DOCUMENT_GUI=====CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
Error analysis
There was an attempt to access a data object via a 'NULL' data
reference (points to 'nothing').
A data reference must point to data object before it can be used to
access the referenced data object.
The reference was either never set or it was set to 'NULL' using the CLEAR statement.
Trigger Location of Runtime Error
Program CL_UC_MANUAL_DOCUMENT_GUI=====CP
Include CL_UC_MANUAL_DOCUMENT_GUI=====CM00J
Row 19
Module type (METHOD)
Module Name IO_CONVERT_DATA</i>
I has customized a document type with posting level 20 and manual posting.
Please, any idea related to it will be wonderful!!
Thanks in advance!!!
GustavoHello Julia,
BCS 6.0 need to have implemented a lot of notes or at least 6.0 level 10.
Otherwise you will have dumps e. g. after execution of tasks.
I dont know whether it solves your problem but I gues it will solve it.
We had dumps here after execution of a task as well before we updated to level 10.
you find messages concerning those dumps here:
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1061549&_NLANG=D
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1039847&_NLANG=D
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=960471&_NLANG=D
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=967854&_NLANG=D
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=999008&_NLANG=D
regards
Eckhard Lewin -
Runtime Error -GETWA_NOT_ASSIGNED when running COI
Hi ALL,
We are getting run time error - GETWA_NOT_ASSIGNED when running COI tasks.
Error analysis
You attempted to access an unassigned field symbol
(data segment 32995).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
that has been deleted
- You address a field symbol that had previously been reset using
UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
though the relevant function module is not active,
that is it is not in the list of active calls. You can get the list
of active calls from the this short dump.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"GETWA_NOT_ASSIGNED" C
"CL_UC_COI_ACT_PT==============CP" or "CL_UC_COI_ACT_PT==============CM00P"
"REDUCE_GOODWILL_ENTRIES"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
Information on where terminated
The termination occurred in the ABAP program "CL_UC_COI_ACT_PT==============CP"
in "REDUCE_GOODWILL_ENTRIES".
The main program was "UCUWB000 ".
The termination occurred in line 722 of the source code of the (Include)
program "CL_UC_COI_ACT_PT==============CM00P"
of the source code of program "CL_UC_COI_ACT_PT==============CM00P" (when
calling the editor 7220).
702 call method do_inv_net_change->create_data_reference
703 exporting
704 i_type = cl_uc_coi_inv_net=>gc_ref_pt_block
705 io_model = do_model
706 importing
707 er_data = lr_t_data.
708 assign lr_t_data->* to <lt_share_block>.
709 call method do_inv_net_change->get_block
710 importing
711 et_pt_shares = <lt_share_block>.
712
713 create data lr_s_data like line of <lt_share_block>.
714 assign lr_s_data->* to <ls_share_block>.
715 * change due to selling invor's transaction
716 read table <lt_share_block> into <ls_share_block> index 1.
717
718 * direct shares prior to divestiture
719 assign component 'R_TH_DSH_OLD'
720 of structure <ls_share_block> to <lr_th_dsh_old>.
721 assign <lr_th_dsh_old>->* to <lt_dsh_old>.
>>>> create data lr_s_data like line of <lt_dsh_old>.
723 assign lr_s_data->* to <ls_dsh_old>.
724 assign component ucf6_cs_coi_fld-pcnt1
725 of structure <ls_dsh_old> to <pcnt1_7a>.
726
727 * change of direct shares in divestiture
Please provide your suggestions.
Edited by: VM2727 on Feb 10, 2012 3:27 AMOr even these ones:
SAP Note 1480856 - C/I: Program termination GETWA_NOT_ASSIGNED
Symptom
When you execute the consolidation of investments, a program termination
occurs (short dump GETWA_NOT_ASSIGNED in the method CREATE_OCI_LIST of the
class CL_UC_COI_ACT).
Note 1467924 - Termination GETWA_NOT_ASSIGNED in CL_UC_COI_ACT_PD
Symptom
When you execute the consolidation of investments, the program termination GETWA_NOT_ASSIGNED occurs in the method CALC_NET_INCOME_MEM of the class CL_UC_COI_ACT_PD. -
GETWA_NOT_ASSIGNED - Runtime Error in MIGO
Dear All
I am receiving GETWA_NOT_ASSIGNED - Runtime Error in MIGO transaction for a particular user only in production system. I am not able to narrow down is this transaction specific or user issue. I searched the forum and not able to get reason. If someone knows about ths kindly give me a hint.
Regards,
VenkatHi,
Please check if any User Exit BADI implemented and have a look into below thread
Reg Dump in MIGO Transaction
GETWA_NOT_ASSIGNED run time error_MIGO processing stock transport order
Shiva
Maybe you are looking for
-
VBscript error message when installing itunes 7.2 on windows vista
I have tried to install itunes 7.2 with vista as my OS, but everytime i do, I get a message saying that VBscript is disabled and I need to enable it. I have also tried to uninstall itunes, but I get the same message also. I have checked for an answer
-
IMac restarting with error meesge
Can anybody make any sense of this error message. iMac will just randomly restart and then come up with the message below. Anonymous UUID: 3BA286FA-AB5D-EAD2-BE6C-23AEB4FF7AEC Thu Mar 12 12:11:16 2015 *** Panic Report *** panic(cpu 2 caller 0xf
-
Windows Active Session logon state security event viewer
Hi Team, i have question. i already enable audit logging policy from GPO, especially logon logoff audit. at server event viewer show (security/audit success) display log off and log on event id. 4634 for logoff and 4624 for logon my question are : 1.
-
Tiger and Leopard on the Same MacBook?
I have a MacBook and would like to have both Tiger and Leopard on it. I Googled and found info that did not work for my "newer" machine. I purchased two months ago. I have a number of files that are Tiger only and will not be rewritten for Leopard. C
-
What type of IEPE accelerometers can I connect to NI 9234?
Hello. I have a compactDAQ with NI 9234 to connect accelerometers. I want to perform some vibration measurements using it together the accelerometer in attachment (101.51-6D-2-M6). Will the acceleromter work properly with NI 9234? Do I have restricti