05-24-2010 8:08 AM
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
05-24-2010 8:22 AM
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