Application Development 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: 

changing values in internal table.

Former Member
0 Kudos

hi all,

I like to change the value of the internal table during runtime. I tried to change that in the debugging mode.But i couldn't do that one. Whether there is any other method to change the value of the internal table during runtime. Please help me in sort of this problem.

Regards....

Arun.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Arun,

If you want to change the value in the internal table there should not be any problem if you are changing the values of individual columns.

Changing individual columns is the only way to change the value in the internal table.

For this, go to Tables write Table name and double click on the field you wish to change.

it will allow you to change the value as you do it for individual fields.....

Regards,

Kunjal

11 REPLIES 11

Former Member
0 Kudos

Hi,

You can change the Values of a field of internal table during run time in debugging, such that the condition is skipped to go further debugging.

However you can't make those values to save in the internal table once you come out of the debugging.

regards,

Anji

0 Kudos

Anji,

It will not be reflected in the output list?

Then whether there is any option or solution to change the values of the internal table during runtime which should be reflected in output list also.

Regards...

Arun.

Former Member
0 Kudos

Hi,

Use EDITOR-CALL FOR ITAB Statement .

Regards,

Himanshu

Message was edited by:

Himanshu Aggarwal

Former Member
0 Kudos

Hi Arun,

If you want to change the value in the internal table there should not be any problem if you are changing the values of individual columns.

Changing individual columns is the only way to change the value in the internal table.

For this, go to Tables write Table name and double click on the field you wish to change.

it will allow you to change the value as you do it for individual fields.....

Regards,

Kunjal

0 Kudos

kunjal,

i tried that one but the changed values is not reflected in the output list.

do u know any other option to change the values apart from using debugging?

Regards...

Arun.

0 Kudos

Hi.

Do you want to change the value of a specific field or the complete record?

See if you want to change value at run time for the specific field in debugging then just click on the field value for the record ,changeit to whatever you want and press the pencil at the end.

Else if you want to do it every time in a program then simply read the record in a field symbol,change it and it is done.

else you can just change value in the work area or heaer and modify internal table.

if the requirement is anything other than this please specify it clearly.and close the thread if it is done .

0 Kudos

taher,

I have mentioned my requirement clearly. I have to change the values of the internal table during runtime. I have tried to change it in the debugging mode but can't able to do that. In the sense, it is not reflected in the output.

If u have any ideas please pass on to me.

Regards....

Arun.

0 Kudos

hi arun,

did you try using the two options that i have provided of reading the value.

or you want to change it in debugging only.

check if the field ur changing is type numc and that ur not updating it by a char value.

Former Member
0 Kudos

Hi,

In the debugging mode, double click on Internal table to see the contents, then place the cursor on the value which you want to change, then press the Change button, then change that value ..

Regards

Sudheer

Former Member
0 Kudos

Hi Arun ,

You can change the value of the internal one column at a time , but before you try to do this please make sure that you have the authorization to make changes in debugg mode .

If you dont have authorization , yuu will make changes , but it wount be reflect in the varaible/internal table.

Regadrs

Arun

Former Member
0 Kudos

Hi Arun,

If you are working on a client system. It would be a Authorization problem. Generally on some client systems, they woudn't give authorization to the developers to change the values at runtime(debug mode). If it is mandatory for you, then place a request to your client basis administrator to give authorization.

Regards,

Vijayanand Poreddy