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

Partial Execution of Program

Former Member
0 Likes
471

Hi Experts,

I am facing a unique problem.....

There is a ABAP prog. of mine getting executed in process chain, but it so happens that when it gets executed it does execute modify statement to a table and reverts with sy-subrc eq 0. But it does not save any records in DB table.

But when same we execute the same in SE38 it commits those values in DATABASE.

Please guide....

Regards,

Ankeet Pujara

1 REPLY 1
Read only

matt
Active Contributor
0 Likes
420

Try these putting an explicit COMMIT WORK into your program. If that doesn't work, debug and find out what's going on. You can get into debug a number of ways:

1. Set an session/External breakpoints, and run the process chain in synchronous mode

2. Create a never ending loop:

DATA: x TYPE c.
WHILE x IS INITIAL.
ENDWHILE.

Launch the process chain. Then in SM50, when it hits your program, from SM50 debug your program.

matt