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

how to edit hardcoded table field value in debugging screen

Former Member
0 Likes
2,278

Hi ,

I am testing a ztable data in test system . Here i want to change the hardcoded table field value but there is no pen icon enabled. How can I change the field data.

Thanks,

Vijayashri

1 ACCEPTED SOLUTION
Read only

michael_piesche
Active Contributor
1,710

In case the edit pen is not available, you cannot change the value in debug mode.

This happens in several situations:

  • when the variable is defined as a constant and therefore shouldnt be changed
  • when the variable is an import parameter that is not passed as value and therefore shouldnt be changed within the function

You will have to look into changing the value further up or down in your coding, most likely when it is passed to a true variable within a function that can be set with different values.

As I understand it, but not having seen your coding, I assume you will have to rewrite your coding, changing the constant to a variable or passing the value to a true variable that you can change.

2 REPLIES 2
Read only

michael_piesche
Active Contributor
1,711

In case the edit pen is not available, you cannot change the value in debug mode.

This happens in several situations:

  • when the variable is defined as a constant and therefore shouldnt be changed
  • when the variable is an import parameter that is not passed as value and therefore shouldnt be changed within the function

You will have to look into changing the value further up or down in your coding, most likely when it is passed to a true variable within a function that can be set with different values.

As I understand it, but not having seen your coding, I assume you will have to rewrite your coding, changing the constant to a variable or passing the value to a true variable that you can change.

Read only

1,710

And you must be given the authorization object S_DEVELOP to change the values in debug (see the exact values to be set in the object documentation).