Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Short Dump GEN_ILLEGAL_SWITCH_VALUE when compiling abap onject

Former Member
0 Likes
690

I'm trying to compile an abap object and it keeps dumping with GEN_ILLEGAL_SWITCH_VALUE.

It's a standard SAP object that hasn't been modified, and it compiles on another system which has the same version etc.

The object is /SAPAPO/SAPLBOP_BUFFER.

The object syntax-checks correctly as one would expect.

Other text in the dump is:


Internal error during generation.                  
Generation ran in a state that normally must not be
reached. In a selection, the unknown value 8 was   
discovered.                                        

Dump points to line 21 in /SAPAPO/LBOP_BUFFERFBK:


   16 FORM buffer_convert_bopreslt                            
   17   USING    if_trguid   TYPE /sapapo/trguid              
   18            io_buffer   TYPE REF TO /sapapo/cl_bop_buffer
   19            is_buffer   TYPE /sapapo/bop_buffer_intern   
   20            is_item     LIKE LINE OF io_buffer->mt_item  
   21 CHANGING ct_bopreslt TYPE /sapapo/tbl_bopreslt.

Other info:


The termination was triggered in function "cg_GetDataGenInfo"
of the SAP kernel, in line 6688 of the module                
 "//bas/710_REL/src/krn/gen/cgdatcr.c#13".                   
The internal operation just processed is " ".                
Internal mode was started at 20081110115544.                 
Unexpected value 8 in case distinction.                      

Just wondering if anyone has came across this type of error, can't find anything in OSS.

I'm trying to compile an abap object and it keeps dumping with GEN_ILLEGAL_SWITCH_VALUE.

It's a standard SAP object that hasn't been modified, and it compiles on another system which has the same version etc.

The object is /SAPAPO/SAPLBOP_BUFFER.

The object syntax-checks correctly as one would expect.

Other text in the dump is:


Internal error during generation.                  
Generation ran in a state that normally must not be
reached. In a selection, the unknown value 8 was   
discovered.                                        

Dump points to line 21 in /SAPAPO/LBOP_BUFFERFBK:


   16 FORM buffer_convert_bopreslt                            
   17   USING    if_trguid   TYPE /sapapo/trguid              
   18            io_buffer   TYPE REF TO /sapapo/cl_bop_buffer
   19            is_buffer   TYPE /sapapo/bop_buffer_intern   
   20            is_item     LIKE LINE OF io_buffer->mt_item  
   21 CHANGING ct_bopreslt TYPE /sapapo/tbl_bopreslt.

Other info:


The termination was triggered in function "cg_GetDataGenInfo"
of the SAP kernel, in line 6688 of the module                
 "//bas/710_REL/src/krn/gen/cgdatcr.c#13".                   
The internal operation just processed is " ".                
Internal mode was started at 20081110115544.                 
Unexpected value 8 in case distinction.                      

Just wondering if anyone has came across this type of error, can't find anything in OSS.

1 REPLY 1
Read only

Former Member
0 Likes
495

Problem solved.

I had recently updated the 700 kernel to 710. However kernel 710 isn't downward compatible with BASIS700.