cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error when modifying SY-SUBRC in S/4HANA Cloud Public systems using Eclipse debugger

DiegoValdivia
Active Participant
0 Kudos
505

Hi guys,

When I try to modify system variable SY-SUBRC in S/4HANA Cloud Public systems using Eclipse debugger, I get the following error message:

DiegoValdivia_1-1734474195331.png

Important points to mention:

  • I did a test in 3 different Cloud Public systems, all of them showed the same error.
  • I tried on some On-Premise systems and was allowed to modify the variable without any issues.
  • I searched for posts or SAP Notes talking about any restriction, but didn't find anything.
  • I'm allowed to modify any other variable

Does anyone know anything about this issue?

Thanks in advance.

 

Accepted Solutions (1)

Accepted Solutions (1)

kaidehmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @DiegoValdivia 

please have a look at Setting Your Own Variables in the ABAP Debugger in the Context of Public Cloud:

In ABAP environment, you have the following possibilities for doing changes while debugging:

  • You can only change your own variables.

  • You can use the function Jump to Line in your own ABAP source code only.

...

you cannot ....

  • Change system fields (for example, <SY-SUBRC>)

...

Best regards
Kai

DiegoValdivia
Active Participant
0 Kudos
Hi @kaidehman, Thanks for your response. This is what I was looking for. Regards.

Answers (0)