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

in select stmt

Former Member
0 Likes
753

hi

when i keep a break point for select and endselect , it is going to dump. what is the reason.

hi

when i keep a break point for select and endselect , it is going to dump. what is the reason.

7 REPLIES 7
Read only

Former Member
0 Likes
733

Please check if there's a commit stmt in between..

Read only

Former Member
0 Likes
733

Hi,

Yes, it is correct .

select...end select. behaves in loop.

Beacuse here the control moves to the database and ( in debugging mode after evry statement, there will be internal commit done by the system) commit will be done.

After the exectuion of Select statement , control cannot reach back to the program ( to reach endselect ) and teh cursor will be lost .

Thats the reason you cannot put break points bewteen select & endselect.

The only way is to put the braek point after the endselct .

Revrt back if any issues,

Regards,

Naveen

Read only

0 Likes
733

hi naveen

how the commit stmt works ? in bapi's wer use commit? in the same way the committ works ?

Read only

0 Likes
733

Hi jyothsna ,

Yes.commit means the same as u think .

When u try to eneter any program in debugging, and press F5(single step) , u can see the Satus message " Commit work done" in some part of the code...., even though no explicit Commit work is written in ur code.

Revrt back if any issues,

regards,

Naveen

Read only

0 Likes
733

thanks naveen

Read only

Former Member
0 Likes
733

The dump may not be due to the breakpoint. It can be due to overflow of data.

Check it once. we can put break point there.

Send me ur description of dump

awrd points if useful

Bhupal

Read only

Former Member
0 Likes
733

field types strings us structures