0 Replies Latest reply: Jan 31, 2008 3:45 PM by Audrey Nhakaniso RSS

Getwa_not_assigned in program SAPLFKV0

Audrey Nhakaniso
Currently Being Moderated

Hello.

 

When executing a SAP program i get the following error. Can someone tell me which SAP notes to implement. The details of the dump are as follows.

 

GETWA_NOT_ASSIGNED

 

Short text

Field symbol has not yet been assigned.

 

What happened?

Error in the ABAP Application Program

 

The current ABAP program "SAPLFKV0" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

 

What can you do?

Note down which actions and inputs caused the error.

 

 

To process the problem further, contact you SAP system

administrator.

 

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

 

Error analysis

You attempted to access an unassigned field symbol

(data segment 124).

 

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.

 

 

How to correct the error

 

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

 

"GETWA_NOT_ASSIGNED" " "

"SAPLFKV0" or "LSVIMFTX"

"SET_TXT_UPDATE_FLAG"

 

 

 

Information on where terminated

Termination occurred in the ABAP program "SAPLFKV0" - in "SET_TXT_UPDATE_FLAG".

The main program was "SAPLS_IMG_TOOL_5 ".

 

In the source code you have the termination point in line 814

of the (Include) program "LSVIMFTX".

 

Source Code Extract

Line SourceCde

784 genkey = <textkey_x>

785 genkey_ln = x_header-textkeylen

786 TABLES

787 * inttab = mod_elem_tab

788 inttab = <texttab>

789 EXCEPTIONS

790 db_error = 12

791 not_found = 04

792 wrong_param = 08.

793 IF sy-subrc > 4. RAISE get_table_error. ENDIF.

794 * READ TABLE mod_elem_tab INDEX 1.

795 READ TABLE <texttab> INTO <table1_text> INDEX 1.

796 IF sy-subrc <> 0.

797 MOVE <text_initial> TO <table1_text>.

798 CLEAR sy-subrc.

799 * ELSE.

800 * <table1_text> = mod_elem_tab.

801 ENDIF.

802 ENDIF.

803 ENDFORM. " TABLE_READ_SINGLE_ENTRY

804

805 &----


806 *& Form SET_TXT_UPDATE_FLAG *

807 ----


808 * note, if texttab entry was modified on screen

809 ----


810 FORM set_txt_update_flag.

811

812 DATA: lb_als TYPE REF TO IF_EX_VIM_ALS_BADI.

813

>>>>> IF <textkey_x> EQ <initial_textkey_x> OR "textkey not filled yet OR

815 status-action EQ kopieren OR "copy mode OR

816 neuer EQ 'J' OR <xact> EQ leer OR "real new entry OR

817 ( temporal_delimitation_happened EQ 'X' AND "temporal delimitation

818 x_header-delmdtflag EQ 'B' ).

819 PERFORM fill_texttab_key_uc USING <table1> <table1_text>."#EC ..

820 ENDIF.

821 IF status-action EQ hinzufuegen.

822 <status>-upd_flag = 'X'. "always both tables must be added

823 ELSE.

824 TRANSLATE <status>-upd_flag USING ' TEX'.

825 ENDIF.

826

827 CALL METHOD cl_exithandler=>get_instance

828 EXPORTING

829 null_instance_accepted = seex_false

830 exit_name = 'VIM_ALS_BADI'

831 CHANGING

832 instance = lb_als

833 EXCEPTIONS

 

Thanks

 

Audrey.

Actions