Skip to Content
0

Kernel Issue

Apr 20 at 11:54 AM

112

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Isaias Freitas
Apr 20 at 11:54 PM
1

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

Show 6 Share
10 |10000 characters needed characters left characters exceeded

Hello Isaías,

Thanks for the input.

Yes, system creates this entries in SM21 for every simulation:

Here some info from dev_w file, I'm not sure what is helpful from there, there is a lot of data:

I think you can also simulate in your system this issue and get detailed data if you have one with the same kernel release.

Best Regards,

Andrei

sm21-entries.jpg (46.6 kB)
dev-w-trace.jpg (353.5 kB)
0

Hello Andrei,

Indeed, this is an issue at SAP kernel level.

You have mentioned that the kernel release is 745. What is the patch level?

Best regards,

Isaías

0

Hi Isaías,

Patch level is 300.

Best Regards,

Andrei

0

Hello Andrei,

The latest stack kernel for 745 has patch level 700.

I could not identify an SAP Note that would address this specific crash, but I see at least one note that could be "close" to this crash (SAP Note 2371025).

Is it possible to apply the SAPEXE and SAPEXEDB kernel files with patch 700 to see whether the issue persists?

Best regards,

Isaías

0

Hello Isaías,

It looks like we have an old patch level.

I have no rights to update system files. And I don't want to trigger process to update the files as it's a minor issue for a really rare case and of course there is a workaround.

The aim of this topic was my interest to understand a cause of the issue and it was done with your help.

So thank you for the experience :)

Best Regards,

Andrei

0

Hello Andrei,

You are welcome! :)

Best regards,

Isaías

0