‎2019 Jun 06 9:31 AM
I get the above run time error when checking a class with code inspector.
System environment: SAP Release..... 750 SAP Basis level 0013
Here's the coding extract from the dump:
Category ABAP programming error
Runtime Errors ASSERTION_FAILED
ABAP Program CL_SLIN_EXPR==================CP
1410
1411 WHEN OTHERS. "c_tag-value_constr.
1412 ret = node_to_nr( prog = expr->prog idx = idx node_type = node ).
1413 ENDCASE.
1414
1415 ENDMETHOD.
1416
1417
1418 METHOD get_builtin_nr.
1419
1420 CASE cl_slin_prog_cache=>get_builtin_functions( vres )->get_return_typ
1421 WHEN cl_slin_builtin_functions=>return-string.
1422 ret = slini_typid-string.
1423 WHEN cl_slin_builtin_functions=>return-xstring.
1424 ret = slini_typid-xstring.
1425 WHEN cl_slin_builtin_functions=>return-numeric OR
1426 cl_slin_builtin_functions=>return-float OR
1427 cl_slin_builtin_functions=>return-integer.
1428 ret = slini_typid-decfloat34.
1429 ENDCASE.
1430
1431 ENDMETHOD.
1432
1433
1434 METHOD arr_chain_to_type_nr.
1435
1436 DATA(synt) = expr->prog->synt.
1437 DATA(childs) = expr->get_child_nodes( node-id ).
1438 READ TABLE childs INDEX 1 INTO DATA(child).
1439
>>>>> ASSERT child-tag EQ c_tag-array_call.
1441 ret = field_to_nr( synt = synt
1442 field_name = child-str
1443 field_idx = idx ).
1444 DATA(type) = nr_to_type( synt = synt
1445 nr = synt->get_base_type( ret ) ).
1446 ret = synt->get_base_type( type-ref_offset ).
1447
1448 DATA(xenv) = expr->prog->get_xenv_infos( ).
1449 LOOP AT childs INTO child FROM 2.
1450 type = nr_to_type( synt = synt
Did anyone encounter this before?
‎2019 Jun 06 11:14 AM
Hey Jorg,
ASSERTION_FAILED error type never gives exact reason , Please take a close look on your ST22 data you will definitely find some hint/data which is trigerring this error.
If you can share your ST22 dump may be i can take a look to help you out .
Thanks
‎2019 Jun 06 11:51 AM
I tried to attache the dump in a .txt file. But the site says "can't be uploaded because the file type is invalid". For pasting into the answer the dump is too big. However - a txt file should work as attachment... I'm clueless how to share the dump
‎2019 Jun 06 12:35 PM
This is in a standard SAP program. You should search on support.sap.com for a note. If none found, raise an issue.