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

COMMIT WORK ends Batch Input

hermanoclaro
Participant
0 Likes
1,431

Hello everyone!

I did some research about this, but could not conclude anything. There's a batch input that don't return any error (sy-subrc = 0 and messages of success, plus no problems in st22) that when it executes a commit work, ends it's processing and returns to the caller program.

I saw in the commit work documentation these lines:

"The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the current SAP LUW in the process."

I did know that the commit work terminates the current database luw, but could this be that during an call transaction the end of the luw send information to end the batch input? Just thoughts.

Someone has already seen something like this occur?

Thanks in advance,

-h

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,198

Search in SCN for keyword RACOMMIT.

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,199

Search in SCN for keyword RACOMMIT.

Read only

0 Likes
1,198

Kesavadas,

Thanks a lot to point it out. I'm currently verifying if this option will make it work correctly.

Thanks,

-h