Skip to Content

Kernel Issue

Hello,

I've found one strange issue. It looks that it's an issue in SAP Kernel.

If I try to create a program with the following code:

TYPES: BEGIN OF ty_structure_1,

         voleh TYPE i,

       END OF ty_structure_1.

TYPES: BEGIN OF ty_structure_2,

         voleh TYPE i,

       END OF ty_structure_2.



TYPES:

  BEGIN OF ty_complex_structure,

    structure_cause TYPE ty_structure_2,

  END OF ty_complex_structure.



CLASS local_class DEFINITION.

  PUBLIC SECTION.

    DATA: ms_structure TYPE ty_structure_1.

    METHODS: constructor.

    METHODS: get_structure

      RETURNING VALUE(rs_structure) TYPE ty_structure_1.

ENDCLASS.



DATA(lo_class) = NEW local_class( ).

DATA(ls_complex_structure) = VALUE ty_complex_structure(

                               structure_cause = CORRESPONDING #( lo_class->get_structure( ) )

                             ).



CLASS local_class IMPLEMENTATION.

  METHOD get_structure.

    rs_structure = ms_structure.

  ENDMETHOD.

  METHOD constructor.

  ENDMETHOD.

ENDCLASS. 

and then try to check or activate it, system shows message and session is gone:

Kernel release is 745.

SAP NetWeaver is 7.5 SP 04 (07/2016).

Can someone else check that in your system?

Thanks and Best Regards,

Andrei

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 20 at 11:54 PM

    Hello Andrei,

    Is a system log entry (transaction SM21) created every time you simulate the issue?

    If yes, it would show the work process number where the issue occurred.

    Please provide the SM21 entry and the corresponding "dev_wXX" trace file. You can attach the latter to this thread.

    Best regards,

    Isaías

    Add comment
    10|10000 characters needed characters exceeded