cancel
Showing results for 
Search instead for 
Did you mean: 

Field Symbol System Exception

Former Member
0 Kudos
1,219

I have assigned some value to the field symbol.

I am getting the following error in Short Dump

error

ABAP runtime errors GETWA_NOT_ASSIGNED

Occurred on 11/10/2005 at 10:20:46

>> Short dump has not been completely stored. It is too big.

Field symbol has not yet been assigned.

IS there any system Exception to catch this exception. I tried following code but it is giving me error.

CATCH SYSTEM-EXCEPTIONS GETWA_NOT_ASSIGNED = 5

<MY CODE>

ENDCATCH.

If sy-subrc eq 5.

endif.

Please let me know if there is any system exception to catch this error.

Aman

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Amandeep

Check this OSS note 442280

cheers

Sameer

manuel_bassani
Contributor
0 Kudos

Hi,

before using the field-symbol you can check if it is assigned

if <fieldsymbol> is assigned.

... do something ...

enddo.

If you are refering to a field-symbols that is not assigned a short dump occurs.

Regards, Manuel

Former Member
0 Kudos

Hi,

can you type in your piece of code where you assigned the values to the field symbol?

Former Member
0 Kudos

This error is when your field symbol is not assigned and you try to access it .

Always check sy-subrc before using the field symbol.

ASSIGN FIELD TO <F1>.

IF SY-SUBRC EQ 0.

FIELD2 = <F1>.

ENDIF.

If for any reason the assign fails and you donot have the sy-subrc check then your statement FIELD2 = <F1> will throw the error.

Cheers.

Sanjay