2008 Jul 17 1:44 PM
working for SAP upgrade project
I am facing the following issue.
its showing dump
Field symbol has not yet been assigned.
GETWA_NOT_ASSIGNED
can anyone help me on this
working for SAP upgrade project
I am facing the following issue.
its showing dump
Field symbol has not yet been assigned.
GETWA_NOT_ASSIGNED
can anyone help me on this
2008 Jul 17 1:45 PM
Hi,
You might not have declared field symbol or work area for the internal table you are using. declare it and then try.
2008 Jul 17 1:47 PM
Only if you show that particular code , then it is easy to tell.
From the message i can tell that Fieldsymbol assignment problem.
use SY-SUBRC CHECK after Assignment.
ASSIGN MATNR to <FS>.
IF SY-SUBRC EQ 0.
" here you do or perform actions on <FS>
ENDIF.
2008 Jul 17 1:48 PM
Hi
Just do it this way..
1st declare the FD.
FIELD-SYMBOLS: <fs_amt> TYPE ANY.
then assing the value of the FD
CONCATENATE 'WA_FAGLFLEXT-HSL' l_count INTO v_fld_name.
ASSIGN (v_fld_name) TO <fs_amt>.
Use thje FD
IF sy-subrc = 0.
p_field = p_field + <fs_amt>.
ENDIF.
2008 Jul 17 2:40 PM
From what has been said previously - the code is attempting to access a field symbol that has not been assigned to a field or work area. It is not possible to say why without you posting your code segment or the relevant part of the short dump message.
If you are working on bespoke code around standard SAP field symbols that have been changed as part of your upgrade then the field symbol may now not be used in the same manner. You could use the IF <FS> IS ASSIGNED statement to work around it - this will prevent the short-dump and let you investigate the impact further.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |