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

adding watch point

Former Member
0 Likes
1,936

I encounter a error when I try to add watch point during VF01 debug, the watch point i am going to add is RK2R1000/variable GT_ITEM[].

it says:

Variable GT_ITEM[] in program RK2R1000 does not exist, or is not yet loaded

Message no. TPDA149

what should I do?

6 REPLIES 6
Read only

Former Member
0 Likes
1,506

Hi Siva,

You can create watchpoint only when the program in which the variable exists is a part of the current execution. If it is in background then it is not recognized.

Create a break-point in the first run or entry of the program and then create it will work.

Regards

Read only

0 Likes
1,506

can you explain in detail, breakpoint at which subroutine for my case

Read only

0 Likes
1,506

Hi Siva,

I am unable to find this program in my system can you tell me what exactly are you looking at also the transaction VF01... Program SAPMV60A does not has GT_ITEM[]....

Regards

Read only

kaushalya
Active Participant
0 Likes
1,506

Hi Siva,

Goto SE38 and do a search for variable GT_ITEM inside the RK2R1000 program (Ctrl+F).

It'll show you the line numbers where variable GT_ITEM is used, and you can set break points at those lines to trigger the debugger at runtime.

Rgds

Read only

former_member209120
Active Contributor
0 Likes
1,506

Hi Sive,

In my system I am unable to see this program  RK2R1000

Please check once again?

Read only

former_member206479
Participant
0 Likes
1,506

Hi siva,

I'm not sure, but my assumption is like we can't create watch point with internal table with some field value (we can do like lines(itab) > 20 )instead while looping you can create watch point with work area field with your desired value or with sy-tabix.

For More help for internal table watch point you can find the help icon in front of value assign field.

Regards,

Venkat.