Skip to Content
0
Jan 03, 2012 at 03:41 PM

System exception - Field symbol - Initial check

595 Views

Hi everyone,

I'm assigning a component of a structure to a field symbol. Component "LIEFERTERMIN" is type N(6).

Now I get a wrong value from my source structure. <fs_check> is now "R12022". This will cause a short dump on any arithmetic operation, of course. But first of all I'm checking if the value of the field symbol is initial. This however also results in a short dump (CONVT_NO_NUMBER) which is also ok.

ASSIGN COMPONENT 'LIEFERTERMIN' OF STRUCTURE <fs_filecontent> TO <fs_check>.

TRY.

IF <fs_check> IS INITIAL.

.....

ENDIF.

ENDTRY.

However, I can neither catch this short dump with a

TRY.

...

CATCH CX_SY_CONVERSION_NO_NUMBER into OREF.

ENDTRY.

block nor with a

CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.

ENDCATCH.

Any ideas on how to catch this exception?

King regards,

Alex