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

inserting value while debugging

Former Member
0 Likes
2,414

hi,

iam debugging a program which contains a select statement with inner join,i have to insert a value for a~fkart in the debugging mode.

can you help me in doing so.

thanks in advance

6 REPLIES 6
Read only

Former Member
0 Likes
1,273

if you are working in ECC6.0 then click on that variable and edit value at debugg mode

Read only

Former Member
0 Likes
1,273

HI

You can insert to check the value in runtime just to see for that time.

Click on internal table where a~fkart is storing .

select this field and give the value and next tho that text box small icon witll be there ,select that and it will change.

Thanks

Read only

kiran_k8
Active Contributor
0 Likes
1,273

Surya,

Put a breakpoint at the select statement which is used to populate fkart into an internal table.Suppose let the internal table be itab.

One putting the breakpoint execute the program

In the debugging screen click on fields button

in the fields names screen give itab-fkart and press enter

once you step through using f5 at some point this field gets populated

at that point delete the contents of this field and enter the value what you wish and then press the pencil button besides that.

this way now the value of itab-fkart at the level of debugging.

K.Kiran.

Read only

Former Member
0 Likes
1,273

hi,

b~fkart is used in the where condition of the select statement and now i want to change that in the debugging mode

Read only

Former Member
0 Likes
1,273

so what even if you use in where condition.

Put the break point in that select statement,once debug reaches the select statement,then click on fkart and give the value and press enter if you are using ecc...or incase 4.7 version then change the value and click next icon on text box.

Thanks

Read only

vaibhav_tiwari
Contributor
0 Likes
1,273

Hi,

while debugging double click on the variable whose value u want to insert.........now it will appear in the field names. their u can enter values u want and click the pencil icon.....it will store in the variable the value u want.